Represents a special file name attribute that accepts texture files as value. Provides a create new and a browse interface.
#include <node.h>
Public Member Functions |
|
AttributeTextureFilename (Node *pOwner, const QString &sID, bool bMustExists=true) | |
OPERATORS_NOEXCMARK (QString) | |
AttributeWidget * | CreateEditorWidget (QWidget *pParent, int iWidth) |
This function creates and returns the
address of a QWidget object. |
AttributeTextureFilename | ( | Node * | pOwner, |
const QString & | sID, | ||
bool | bMustExists =
true |
||
) |
OPERATORS_NOEXCMARK | ( | QString | ) |
Reimplemented from AttributeFilename.
AttributeWidget* CreateEditorWidget | ( | QWidget * | pParent, |
int | iWidth | ||
) | [virtual] |
This function creates and returns the address of a QWidget object.
The object then can be used in the interface to give the user control over the attribute value. Mudbox calls this function for every attribute in a node when it displays a properties dialog box for it. You must override it if you implement a new kind of attribute and want a special interface.
Reimplemented from AttributeFilename.