20 #ifndef MODULEBASE_ACTIONINFO_H_
21 #define MODULEBASE_ACTIONINFO_H_
23 #include <ModuleBase.h>
24 #include <Config_FeatureMessage.h>
28 #include <QKeySequence>
69 void initFrom(QAction* theAction);
71 void initFrom(std::shared_ptr<Config_FeatureMessage> theFeatureMessage);
79 QString toString()
const;
Definition: ModuleBase_ActionInfo.h:37
QString toolTip
action's tooltip
Definition: ModuleBase_ActionInfo.h:52
QString workbenchID
Workbench's language-independent ID.
Definition: ModuleBase_ActionInfo.h:39
bool enabled
action's enabled state
Definition: ModuleBase_ActionInfo.h:43
bool visible
action's visibility state
Definition: ModuleBase_ActionInfo.h:44
QString text
action's text
Definition: ModuleBase_ActionInfo.h:49
bool checked
action's checked state
Definition: ModuleBase_ActionInfo.h:42
QString iconFile
path to icon's file. Can not be initialized from QAction
Definition: ModuleBase_ActionInfo.h:51
QString iconText
action's descriptive icon text
Definition: ModuleBase_ActionInfo.h:50
QString toolBar
A name of toolbar. By default = group of features name.
Definition: ModuleBase_ActionInfo.h:53
QKeySequence shortcut
action's primary shortcut key
Definition: ModuleBase_ActionInfo.h:56
bool checkable
action's checkable state
Definition: ModuleBase_ActionInfo.h:41
QIcon icon
action's icon
Definition: ModuleBase_ActionInfo.h:48
bool modal
= true if the acton is a modal dialog box else property panel (==false by default)
Definition: ModuleBase_ActionInfo.h:47
QString id
action's (command) id
Definition: ModuleBase_ActionInfo.h:38
QFont font
action's text font
Definition: ModuleBase_ActionInfo.h:57