Salome HOME
SMH: Preparation version 3.0.0 - merge (HEAD+POLYWORK)
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_SewingDlg.h
index b5433bb2d33a22f58702a2c91286edbc6e7919ac..695abc9b362e98d645c066d2ca1e6126c5dcf6ff 100644 (file)
@@ -29,7 +29,7 @@
 #ifndef DIALOGBOX_SEWING_H
 #define DIALOGBOX_SEWING_H
 
-#include "SALOME_Selection.h"
+#include "SalomeApp_SelectionMgr.h"
 
 // QT Includes
 #include <qdialog.h>
@@ -44,6 +44,8 @@ class QRadioButton;
 class QCheckBox;
 class SMESHGUI;
 class SMESH_Actor;
+class SVTK_ViewWindow;
+class SVTK_Selector;
 
 // IDL Headers
 #include <SALOMEconfig.h>
@@ -59,22 +61,26 @@ class SMESHGUI_SewingDlg : public QDialog
     Q_OBJECT
 
 public:
-    SMESHGUI_SewingDlg( QWidget* parent = 0, const char* name = 0, SALOME_Selection* Sel = 0, bool modal = FALSE, WFlags fl = 0 );
+    SMESHGUI_SewingDlg( SMESHGUI*,
+                       const char* name = 0,
+                       bool modal = FALSE,
+                       WFlags fl = 0);
     ~SMESHGUI_SewingDlg();
 
 private:
-
     void Init() ;
     void closeEvent( QCloseEvent* e ) ;
-    void enterEvent ( QEvent * ) ;                          /* mouse enter the QWidget */
-    void hideEvent ( QHideEvent * );                        /* ESC key */
+    void enterEvent ( QEvent * );                          /* mouse enter the QWidget */
+    void hideEvent ( QHideEvent * );                       /* ESC key */
     int  GetConstructorId();
     bool IsValid();
     
-    SMESHGUI*                     mySMESHGUI ;              /* Current SMESHGUI object */
-    SALOME_Selection*             mySelection ;             /* User shape selection */
+    SMESHGUI*                     mySMESHGUI;              /* Current SMESHGUI object */
+    SalomeApp_SelectionMgr*       mySelectionMgr;          /* User shape selection */
     int                           myOk1, myOk2, myOk3, myOk4, myOk5, myOk6;    
-    QLineEdit*                    myEditCurrentArgument;    /* Current  LineEdit */
+    QLineEdit*                    myEditCurrentArgument;   /* Current  LineEdit */
+    SVTK_ViewWindow*              myViewWindow;
+    SVTK_Selector*                mySelector;
     
     bool                          myBusy;
     SMESH::SMESH_Mesh_var         myMesh;
@@ -111,7 +117,9 @@ private:
     QLineEdit* LineEdit5;
     QLineEdit* LineEdit6;
     QCheckBox* CheckBoxMerge;
-   
+    QCheckBox* CheckBoxPolygons;
+    QCheckBox* CheckBoxPolyedrs;
+
 private slots:
 
     void ConstructorsClicked(int constructorId);