Salome HOME
Modify creation of curves: 1) using QDockWidget instead of QDialog; 2) selection...
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_Module.h
index 0e637e5fe9e27bc0dd485a9a96733b039f43902f..fde4689ca17800b10f6e423c097ad92693c91890 100644 (file)
@@ -48,7 +48,10 @@ class HYDROGUI_Module : public LightApp_Module
   enum CustomEvent { NewViewEvent = QEvent::User + 100 };
 
 public:
-  enum ViewManagerRole { VMR_Unknown = 0, VMR_General, VMR_TransformImage, VMR_ObserveImage };
+  
+  enum ViewManagerRole { VMR_Unknown = 0, VMR_General, 
+                         VMR_TransformImage, VMR_ObserveImage, 
+                         VMR_PreviewZone,    VMR_PreviewCaseZones };
   typedef QPair< SUIT_ViewManager*, ViewManagerRole > ViewManagerInfo;
 
   typedef QMap        < int, ViewManagerInfo > ViewManagerMap;
@@ -122,6 +125,8 @@ protected slots:
 
   void                            onViewPortMouseEvent( QGraphicsSceneMouseEvent* );
 
+  void                            onTestSplit(); // ouv: tmp, to delete
+
 private:
   void                            updateGV( const bool theIsInit = false, 
                                             const bool theIsForced = false );
@@ -131,6 +136,9 @@ private:
   bool                            setUpdateEnabled( const bool theState );
   bool                            isUpdateEnabled() const;
 
+  QStringList                     storeSelection() const;
+  void                            restoreSelection( const QStringList& theEntryList );
+
 private:
   void                            createActions();
   void                            createMenus();