mudbox::AttributeFilename Class Reference

#include <node.h>

Inheritance diagram for mudbox::AttributeFilename:

Inheritance graph
[legend]
List of all members.

Detailed Description

Similar to AttributeInstance<String> but it provides a button on the interface where the user can browse for a filename.

Public Member Functions

  AttributeFilename (Node *pOwner, const QString &sID, bool bMustExists=true)
  OPERATORS_NOEXCMARK (QString)
AttributeWidget *  CreateEditorWidget (QWidget *pParent, int iWidth)
unsigned int  ParameterCount (void) const
QString  ParameterName (unsigned int iIndex) const
QString  ParameterValue (unsigned int iIndex) const
void  SetParameterValue (const QString &sName, const QString &sValue)

Public Attributes

bool  m_bMustExists
QString  m_sFilter
QString  m_sPath

Constructor & Destructor Documentation

mudbox::AttributeFilename::AttributeFilename (  Node *  pOwner,
const QString &  sID,
bool  bMustExists = true
) 
 

Member Function Documentation

mudbox::AttributeFilename::OPERATORS_NOEXCMARK (  QString   ) 
 

Reimplemented in mudbox::AttributeTextureFilename.

AttributeWidget* mudbox::AttributeFilename::CreateEditorWidget (  QWidget *  pParent,
int  iWidth
)  [virtual]
 

Reimplemented from mudbox::AttributeInstance< QString >.

Reimplemented in mudbox::AttributeTextureFilename.

unsigned int mudbox::AttributeFilename::ParameterCount (  void   )  const [virtual]
 

Reimplemented from mudbox::Attribute.

QString mudbox::AttributeFilename::ParameterName (  unsigned int  iIndex  )  const [virtual]
 

Reimplemented from mudbox::Attribute.

QString mudbox::AttributeFilename::ParameterValue (  unsigned int  iIndex  )  const [virtual]
 

Reimplemented from mudbox::Attribute.

void mudbox::AttributeFilename::SetParameterValue (  const QString &  sName,
const QString &  sValue
)  [virtual]
 

Reimplemented from mudbox::Attribute.


Member Data Documentation

bool mudbox::AttributeFilename::m_bMustExists
 
QString mudbox::AttributeFilename::m_sFilter
 
QString mudbox::AttributeFilename::m_sPath
 

mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename
mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename mudbox::AttributeFilename