X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_Workshop.h;h=f80b8cf7d30e4fe82e656c3aa0ae067b0a5248f3;hb=426a1cf07dfee0bbb58dcd399787a89a4992fa72;hp=c0d5d64551235f98e38fd66280d39be3ebd8abe0;hpb=6333682060ad5116559e12d5c212f1a1f199b3a0;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_Workshop.h b/src/XGUI/XGUI_Workshop.h index c0d5d6455..f80b8cf7d 100644 --- a/src/XGUI/XGUI_Workshop.h +++ b/src/XGUI/XGUI_Workshop.h @@ -6,6 +6,7 @@ #include #include #include +#include #include #include @@ -137,6 +138,7 @@ public slots: void onExit(); void onUndo(); void onRedo(); + void onPreferences(); void showPropertyPanel(); void hidePropertyPanel(); @@ -159,8 +161,14 @@ protected: void onFeatureRedisplayMsg(const ModelAPI_ObjectUpdatedMessage* theMsg); void onObjectDeletedMsg(const ModelAPI_ObjectDeletedMessage* theMsg); + void validateOperation(const QString& theOperationId); + QList getModuleCommands() const; + void displayAllResults(); + void displayDocumentResults(DocumentPtr theDoc); + void displayGroupResults(DocumentPtr theDoc, std::string theGroup); + protected slots: /// SLOT, that is called after the operation is started. Update workshop state according to /// the started operation, e.g. visualizes the property panel and connect to it. @@ -174,9 +182,14 @@ protected slots: void onWidgetValuesChanged(); + void onStartWaiting(); + private: void initMenu(); + void registerValidators() const; + + ModuleBase_IModule* loadModule(const QString& theModule); bool activateModule(); @@ -202,7 +215,6 @@ private: QString myCurrentDir; static QMap myIcons; - }; #endif