HDK
|
#include <DT_Plugin.h>
Static Public Member Functions | |
static DT_ParmDefButton * | create (int id, const UT_StringHolder &name) |
static const DT_ParmDefButton & | get (const DT_ParmDef &def) |
![]() | |
static DT_ParmDef * | createFromTemplate (int id, const PRM_Template &tpl) |
static bool | getMenuItemsFromTemplate (const PRM_Template &tpl, PRM_Parm &parm, DT_MenuItemList &items) |
Additional Inherited Members | |
![]() | |
enum | Type { T_TOGGLE, T_INTEGER, T_FLOAT, T_COLOR, T_STRING, T_MENU, T_PATH, T_BUTTON, T_GROUPED } |
enum | OptionType { OT_OPTION_ONLY, OT_OPTION_AND_TOOLBAR, OT_TOOLBAR_ONLY } |
![]() | |
DT_ParmDef (int id, const UT_StringHolder &name, Type parm_type) | |
![]() | |
UT_NonCopyable ()=default | |
~UT_NonCopyable ()=default | |
UT_NonCopyable (const UT_NonCopyable &)=delete | |
UT_NonCopyable & | operator= (const UT_NonCopyable &)=delete |
![]() | |
int | myId |
UT_StringHolder | myName |
UT_StringHolder | myIcon |
Type | myType |
UT_StringHolder | myTooltip |
OptionType | myOptionType |
UT_StringHolder | myToolbarName |
bool | myReadOnly |
bool | myCanBeIndeterminate |
Definition at line 664 of file DT_Plugin.h.
|
inlineoverridevirtual |
Don't allow triggering multiple buttons at once.
Reimplemented from DT_ParmDef.
Definition at line 688 of file DT_Plugin.h.
Copy a value from a concrete type to an opaque DT_Value object.
Copy a value from DT_Value opaque type to a concrete type.
|
static |
|
inlinestatic |
Definition at line 670 of file DT_Plugin.h.
const char* DT_ParmDefButton::labelIcon | ( | ) | const |
const char* DT_ParmDefButton::labelText | ( | ) | const |
|
overridevirtual |
Implements DT_ParmDef.
DT_ParmDefButton* DT_ParmDefButton::setLabelIcon | ( | const UT_StringHolder & | icon | ) |
DT_ParmDefButton* DT_ParmDefButton::setLabelText | ( | const UT_StringHolder & | text | ) |