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
SQUISH test for refs #576
[modules/shaper.git]
/
src
/
NewGeom
/
NewGeom_Module.h
diff --git
a/src/NewGeom/NewGeom_Module.h
b/src/NewGeom/NewGeom_Module.h
index 36bae93af0388832b9f80a025dd97bdaed2fb0cf..7c0aa1a6eab7ca13c31f523361bfcd26bfbf7980 100644
(file)
--- a/
src/NewGeom/NewGeom_Module.h
+++ b/
src/NewGeom/NewGeom_Module.h
@@
-53,9
+53,13
@@
Q_OBJECT
const QKeySequence& theKeys = QKeySequence(),
bool isCheckable = false);
const QKeySequence& theKeys = QKeySequence(),
bool isCheckable = false);
+ //! Add feature (QAction) in the \a theWBName toolbar with given \a theInfo about action
virtual QAction* addFeature(const QString& theWBName,
virtual QAction* addFeature(const QString& theWBName,
-
const ActionInfo& theInfo);
+ const ActionInfo& theInfo);
+ virtual QAction* addNestedFeature(const QString& theWBName,
+ const ActionInfo& theInfo,
+ const QList<QAction*>& theNestedActions);
virtual QAction* addDesktopCommand(const QString& theId, const QString& theTitle,
const QString& theTip, const QIcon& theIcon,
virtual QAction* addDesktopCommand(const QString& theId, const QString& theTitle,
const QString& theTip, const QIcon& theIcon,
@@
-66,6
+70,8
@@
Q_OBJECT
virtual void addDesktopMenuSeparator(const char* theMenuSourceText,
const int theMenuPosition = 10);
virtual void addDesktopMenuSeparator(const char* theMenuSourceText,
const int theMenuPosition = 10);
+ virtual bool addActionInToolbar( QAction* theAction, const QString& theToolBarTitle );
+
virtual QMainWindow* desktop() const;
virtual QString commandId(const QAction* theCmd) const;
virtual QMainWindow* desktop() const;
virtual QString commandId(const QAction* theCmd) const;