Salome HOME
SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK)
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SymmetryDlg.h
index c556b34934d01aafc9f273f7070b9021c8b01c79..97cd85605b14296964bbd50693d1b4bb4559ba82 100644 (file)
@@ -29,7 +29,8 @@
 #ifndef DIALOGBOX_SYMMETRY_H
 #define DIALOGBOX_SYMMETRY_H
 
-#include "SALOME_Selection.h"
+#include "SalomeApp_SelectionMgr.h"
+
 #include "SMESH_LogicalFilter.hxx"
 
 // QT Includes
@@ -47,6 +48,8 @@ class QCheckBox;
 class SMESHGUI_SpinBox;
 class SMESHGUI;
 class SMESH_Actor;
+class SVTK_ViewWindow;
+class SVTK_Selector;
 
 // IDL Headers
 #include <SALOMEconfig.h>
@@ -62,29 +65,33 @@ class SMESHGUI_SymmetryDlg : public QDialog
     Q_OBJECT
 
 public:
-    SMESHGUI_SymmetryDlg( QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0 );
+    SMESHGUI_SymmetryDlg( SMESHGUI*,
+                         const char* name = 0,
+                         bool modal = FALSE,
+                         WFlags fl = 0);
     ~SMESHGUI_SymmetryDlg();
 
 private:
-
-    void Init( bool ResetControls = true ) ;
-    void closeEvent( QCloseEvent* e ) ;
-    void enterEvent ( QEvent * ) ;                          /* mouse enter the QWidget */
-    void hideEvent ( QHideEvent * );                        /* ESC key */
+    void Init (bool ResetControls = true);
+    void closeEvent (QCloseEvent*);
+    void enterEvent (QEvent*);                             /* mouse enter the QWidget */
+    void hideEvent (QHideEvent*);                          /* ESC key */
     int GetConstructorId();
     bool IsMirrorOk();
-    
-    SMESHGUI*                     mySMESHGUI ;              /* Current SMESHGUI object */
-    SALOME_Selection*             mySelection ;             /* User shape selection */
-    int                           myNbOkElements ;          /* to check when elements are defined */
+
+    SMESHGUI*                     mySMESHGUI;              /* Current SMESHGUI object */
+    SalomeApp_SelectionMgr*       mySelectionMgr;          /* User shape selection */
+    int                           myNbOkElements;          /* to check when elements are defined */
     QString                       myElementsId;
+    SVTK_ViewWindow*              myViewWindow;
+    SVTK_Selector*                mySelector;
+
+    QWidget*                      myEditCurrentArgument;   /* Current  LineEdit */
 
-    QWidget*                      myEditCurrentArgument;    /* Current  LineEdit */
-    
     bool                          myBusy;
     SMESH::SMESH_Mesh_var         myMesh;
     SMESH_Actor*                  myActor;
-    Handle(SMESH_LogicalFilter)   myMeshOrSubMeshOrGroupFilter;
+    SMESH_LogicalFilter*          myMeshOrSubMeshOrGroupFilter;
     
     QButtonGroup* GroupConstructors;
     QRadioButton* RadioButton1;