X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ActionsMgr.h;h=0acc6a26a98b8254fc501c208b9f57b8b57e9c00;hb=1b585947597658057eedf6223a230011e20a959d;hp=00f6086efdb397fae4b389a5744343c67845895a;hpb=d77e6639d89abdcbf327cc73d13bf955064b8524;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ActionsMgr.h b/src/XGUI/XGUI_ActionsMgr.h index 00f6086ef..0acc6a26a 100644 --- a/src/XGUI/XGUI_ActionsMgr.h +++ b/src/XGUI/XGUI_ActionsMgr.h @@ -39,6 +39,7 @@ class XGUI_EXPORT XGUI_ActionsMgr : public QObject, public Events_Listener XGUI_ActionsMgr(XGUI_Workshop* theWorkshop); virtual ~XGUI_ActionsMgr(); + /// Actions on operations enum OperationStateActionId { Abort = 0, Accept = 1, @@ -79,6 +80,7 @@ class XGUI_EXPORT XGUI_ActionsMgr : public QObject, public Events_Listener //! If there is no such action, it will be created. QAction* operationStateAction(OperationStateActionId theId, QObject* theParent = 0); + /// Return info (icon, text, etc) about the action by the given id, if it was registered in the manager ActionInfo actionInfoById(const QString& theId); public slots: