#include <brush.h>
This class can be used to define configurations for different brush behaviours of the same class.
Public Types | |
| enum | PredefinedCategory { PaintTools, SculptTools, PoseTools, SelectTools } |
Public Member Functions | |
| BrushConfiguration () | |
| Constructor. More... | |
| BrushConfiguration (const ClassDesc *pClass, unsigned int iID, const QString &sStringID, const QString &sDisplayName, const QString &sCategory, const QString &sCategoryTr, const QString &sToolTip, int version=INTRODUCED_IN_MUDBOX_2013_OR_EARLIER) | |
| BrushConfiguration (const ClassDesc *pClass, unsigned int iID, const QString &sStringID, const QString &sDisplayName, PredefinedCategory nCategory, const QString &sToolTip, int version=INTRODUCED_IN_MUDBOX_2013_OR_EARLIER) | |
| ~BrushConfiguration () | |
| unsigned int | ID (void) const |
| Returns the unique id of the configuration. More... | |
| virtual QString | Name (void) const |
| Deprecated. More... | |
| virtual QString | StringID (void) const |
| Returns the string id of the configuration. More... | |
| virtual QString | DisplayName (void) const |
| Returns the display name of the configuration. More... | |
| virtual void | SetDisplayName (const QString &sDisplayName) |
| Sets the display name of the configuration. More... | |
| virtual QString | ToolTip (void) const |
| Returns the tooltip for the configuration. More... | |
| virtual int | Version (void) const |
| Returns a value indicating what version of Mudbox this configuration was introduced in. More... | |
| virtual const ClassDesc * | OperationClass (void) const |
| Returns the operation class belonging to the configuration. More... | |
| virtual QString | Category () const |
| Returns the category title that groups configurations together. More... | |
| virtual QString | DisplayCategory () const |
| Returns the category title that groups configurations together. More... | |
| virtual void | Serialize (Stream &s) |
| Serializes the configuration to the given stream. More... | |
| virtual QString | Icon (void) |
| Returns the icon file for the configuration. More... | |
| enum PredefinedCategory |
| Enumerator | |
|---|---|
| PaintTools | |
| SculptTools | |
| PoseTools | |
| SelectTools | |
Definition at line 29 of file brush.h.
Constructor.
| BrushConfiguration | ( | const ClassDesc * | pClass, |
| unsigned int | iID, | ||
| const QString & | sStringID, | ||
| const QString & | sDisplayName, | ||
| const QString & | sCategory, | ||
| const QString & | sCategoryTr, | ||
| const QString & | sToolTip, | ||
| int | version = INTRODUCED_IN_MUDBOX_2013_OR_EARLIER |
||
| ) |
| BrushConfiguration | ( | const ClassDesc * | pClass, |
| unsigned int | iID, | ||
| const QString & | sStringID, | ||
| const QString & | sDisplayName, | ||
| PredefinedCategory | nCategory, | ||
| const QString & | sToolTip, | ||
| int | version = INTRODUCED_IN_MUDBOX_2013_OR_EARLIER |
||
| ) |
| ~BrushConfiguration | ( | ) |
Deprecated.
Call StringID() or DisplayName() instead. Returns the name of the configuration.
Sets the display name of the configuration.
Returns a value indicating what version of Mudbox this configuration was introduced in.
Returns the operation class belonging to the configuration.
|
virtual |
Returns the category title that groups configurations together.
|
virtual |
Returns the category title that groups configurations together.