Salome HOME
Implementation of the Feature Validator
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 74c20b177a4f38e11d3b18166d66eda1ce7b3736..f80b8cf7d30e4fe82e656c3aa0ae067b0a5248f3 100644 (file)
@@ -6,6 +6,7 @@
 #include <Events_Listener.h>
 #include <ModuleBase_Definitions.h>
 #include <ModelAPI_ResultPart.h>
+#include <ModelAPI_Document.h>
 
 #include <QObject>
 #include <QMap>
@@ -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<QAction*> 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,6 +182,8 @@ protected slots:
 
   void onWidgetValuesChanged();
 
+  void onStartWaiting();
+
 private:
   void initMenu();
 
@@ -205,7 +215,6 @@ private:
 
   QString myCurrentDir;
   static QMap<QString, QString> myIcons;
-
 };
 
 #endif