]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/XGUI/XGUI_Workshop.h
Salome HOME
Merge branch 'master' of newgeom:newgeom.git
[modules/shaper.git] / src / XGUI / XGUI_Workshop.h
index 7d75839cfae07bc44d117b5e762b673b8212a8cb..3f857ff12400d7f12e68d8f34869a788b504ac65 100644 (file)
@@ -19,6 +19,7 @@ class XGUI_OperationMgr;
 class XGUI_SalomeConnector;
 class XGUI_ObjectsBrowser;
 class XGUI_ActionsMgr;
+class XGUI_ErrorDialog;
 class ModuleBase_Operation;
 class ModuleBase_PropPanelOperation;
 
@@ -94,13 +95,16 @@ public slots:
   void hideObjectBrowser();
 
   void onFeatureTriggered();
-
   void changeCurrentDocument();
 
+signals:
+  void errorOccurred(const QString&);
+
 protected:
   //Event-loop processing methods:
   void addFeature(const Config_FeatureMessage*);
   void connectWithOperation(ModuleBase_Operation* theOperation);
+  void saveDocument(QString theName);
 
 protected slots:
   /// SLOT, that is called after the operation is started. Update workshop state according to
@@ -124,21 +128,17 @@ private:
   void createDockWidgets();
   void setPropertyPannelTitle(const QString& theTitle);
 
-
+  QString myCurrentFile;
   XGUI_MainWindow* myMainWindow;
   XGUI_Module* myPartSetModule;
-
   XGUI_ObjectsBrowser* myObjectBrowser;
   QDockWidget* myPropertyPanelDock;
-
   XGUI_SelectionMgr* mySelector;
   XGUI_Displayer* myDisplayer;
-
   XGUI_OperationMgr* myOperationMgr; ///< manager to manipulate through the operations
   XGUI_ActionsMgr* myActionsMgr;
-
-
   XGUI_SalomeConnector* mySalomeConnector;
+  XGUI_ErrorDialog* myErrorDlg;
 };
 
 #endif