Definition at line 54 of file preferences.h.
#include <preferences.h>
Public Member Functions |
|
AttributeLocale (Node *pOwner, const QString &sID) | |
AttributeLocale (Node *pOwner, const QString &sID, const QString &cValue) | |
virtual | ~AttributeLocale () |
virtual AttributeWidget * | CreateEditorWidget (QWidget *pParent, int iWidth) |
This function creates and returns the
address of a QWidget object. |
AttributeLocale | ( | Node * | pOwner, |
const QString & | sID | ||
) |
AttributeLocale | ( | Node * | pOwner, |
const QString & | sID, | ||
const QString & | cValue | ||
) |
virtual ~AttributeLocale | ( | ) | [virtual] |
virtual 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 AttributeInstance< type >.