X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FNewGeom%2FNewGeom_Module.h;h=6024fa843ee9d90fa7bfb5b8c700ec25bc9e0c44;hb=a969416f74ed6c25b2e1c2199f0a8f13b74b185e;hp=f8834b760f75057ea9fbd719700c914c7560a0b1;hpb=45fa5730565366d6450a2cac86965eafc5b4e0be;p=modules%2Fshaper.git diff --git a/src/NewGeom/NewGeom_Module.h b/src/NewGeom/NewGeom_Module.h index f8834b760..6024fa843 100644 --- a/src/NewGeom/NewGeom_Module.h +++ b/src/NewGeom/NewGeom_Module.h @@ -57,6 +57,16 @@ Q_OBJECT virtual QAction* addFeature(const QString& theWBName, const ActionInfo& theInfo); + virtual QAction* addNestedFeature(const QString& theWBName, + const ActionInfo& theInfo, + const QList& theNestedActions); + + //! Returns true if the feature action is a nested action, in other words, + //! it is created by addNestedFeature(). + //! \param theId - an action of a feature + //! returns boolean result + virtual bool isNestedFeature(const QAction* theAction); + virtual QAction* addDesktopCommand(const QString& theId, const QString& theTitle, const QString& theTip, const QIcon& theIcon, const QKeySequence& theKeys, bool isCheckable, @@ -66,6 +76,8 @@ Q_OBJECT 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; @@ -152,6 +164,8 @@ Q_OBJECT /// Create popup menu manager virtual QtxPopupMgr* popupMgr(); + virtual bool abortAllOperations(); + private: /// Create selector for OCC Viewer /// \param theMgr view manager