|
SHAPER
9.15.0
|
Public Member Functions | |
| ModuleBase_ActionInfo () | |
| Default constructor,. More... | |
| ModuleBase_ActionInfo (const QString &text) | |
| Initializes structure with default values, except text. More... | |
| ModuleBase_ActionInfo (const QIcon &icon, const QString &text) | |
| Initializes structure with default values, except icon and text. More... | |
| void | initFrom (QAction *theAction) |
| Fills itself with info from given. More... | |
| void | initFrom (std::shared_ptr< Config_FeatureMessage > theFeatureMessage) |
| Fills itself with info from given. More... | |
| QString | toString () const |
| For debug purposes. More... | |
Data Fields | |
| QString | id |
| action's (command) id More... | |
| QString | workbenchID |
| Workbench's language-independent ID. More... | |
| bool | checkable |
| action's checkable state More... | |
| bool | checked |
| action's checked state More... | |
| bool | enabled |
| action's enabled state More... | |
| bool | visible |
| action's visibility state More... | |
| bool | modal |
| = true if the acton is a modal dialog box else property panel (==false by default) More... | |
| QIcon | icon |
| action's icon More... | |
| QString | text |
| action's text More... | |
| QString | iconText |
| action's descriptive icon text More... | |
| QString | iconFile |
| path to icon's file. Can not be initialized from QAction More... | |
| QString | toolTip |
| action's tooltip More... | |
| QString | toolBar |
| A name of toolbar. By default = group of features name. More... | |
| QKeySequence | shortcut |
| action's primary shortcut key More... | |
| QFont | font |
| action's text font More... | |
Protected Member Functions | |
| void | initDefault () |
| Initializes structure with default values, like QAction() More... | |
Structure to pass info about QActions, AppElements_Commands, etc.
| ModuleBase_ActionInfo::ModuleBase_ActionInfo | ( | ) |
Default constructor,.
| ModuleBase_ActionInfo::ModuleBase_ActionInfo | ( | const QString & | text | ) |
Initializes structure with default values, except text.
| ModuleBase_ActionInfo::ModuleBase_ActionInfo | ( | const QIcon & | icon, |
| const QString & | text | ||
| ) |
Initializes structure with default values, except icon and text.
| void ModuleBase_ActionInfo::initFrom | ( | QAction * | theAction | ) |
Fills itself with info from given.
| theAction |
| void ModuleBase_ActionInfo::initFrom | ( | std::shared_ptr< Config_FeatureMessage > | theFeatureMessage | ) |
Fills itself with info from given.
| theFeatureMessage |
|
protected |
Initializes structure with default values, like QAction()
| QString ModuleBase_ActionInfo::toString | ( | ) | const |
For debug purposes.
| QString ModuleBase_ActionInfo::id |
action's (command) id
| QString ModuleBase_ActionInfo::workbenchID |
Workbench's language-independent ID.
| bool ModuleBase_ActionInfo::checkable |
action's checkable state
| bool ModuleBase_ActionInfo::checked |
action's checked state
| bool ModuleBase_ActionInfo::enabled |
action's enabled state
| bool ModuleBase_ActionInfo::visible |
action's visibility state
| bool ModuleBase_ActionInfo::modal |
= true if the acton is a modal dialog box else property panel (==false by default)
| QIcon ModuleBase_ActionInfo::icon |
action's icon
| QString ModuleBase_ActionInfo::text |
action's text
| QString ModuleBase_ActionInfo::iconText |
action's descriptive icon text
| QString ModuleBase_ActionInfo::iconFile |
path to icon's file. Can not be initialized from QAction
| QString ModuleBase_ActionInfo::toolTip |
action's tooltip
| QString ModuleBase_ActionInfo::toolBar |
A name of toolbar. By default = group of features name.
| QKeySequence ModuleBase_ActionInfo::shortcut |
action's primary shortcut key
| QFont ModuleBase_ActionInfo::font |
action's text font