Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split circle. Remain coincidence with newly created arc (issue #1725)
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_ActionInfo.h
diff --git
a/src/ModuleBase/ModuleBase_ActionInfo.h
b/src/ModuleBase/ModuleBase_ActionInfo.h
index 16ac4e33127c6635f842f87f536dc3b555ae0b33..1f21c7ca19be64ae95bf6f23d3141e992c554521 100644
(file)
--- a/
src/ModuleBase/ModuleBase_ActionInfo.h
+++ b/
src/ModuleBase/ModuleBase_ActionInfo.h
@@
-28,6
+28,7
@@
struct MODULEBASE_EXPORT ModuleBase_ActionInfo
bool checked; //!< action's checked state
bool enabled; //!< action's enabled state
bool visible; //!< action's visibility state
bool checked; //!< action's checked state
bool enabled; //!< action's enabled state
bool visible; //!< action's visibility state
+ bool modal; //!< = true if the acton is a modal dialog box else property panel (==false by default)
QIcon icon; //!< action's icon
QString text; //!< action's text
QString iconText; //!< action's descriptive icon text
QIcon icon; //!< action's icon
QString text; //!< action's text
QString iconText; //!< action's descriptive icon text
@@
-51,9
+52,6
@@
struct MODULEBASE_EXPORT ModuleBase_ActionInfo
void initFrom(QAction* theAction);
//! Fills itself with info from given \param theFeatureMessage
void initFrom(std::shared_ptr<Config_FeatureMessage> theFeatureMessage);
void initFrom(QAction* theAction);
//! Fills itself with info from given \param theFeatureMessage
void initFrom(std::shared_ptr<Config_FeatureMessage> theFeatureMessage);
- //! Creates new QAction with given parent and data initialized from this structure
- //! \param theParent - parent of created action
- QAction* makeAction(QObject* theParent = 0);
protected:
//! Initializes structure with default values, like QAction()
protected:
//! Initializes structure with default values, like QAction()