Salome HOME
Merge with version on tag OCC-V2_1_0d
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_RemoveNodesDlg.h
index 1906c46027c3b5aea7d66f9c868b35b640159fb4..d40edccf812119ca2d020baa01f9bfabf56be28d 100644 (file)
@@ -36,7 +36,7 @@
 #include <qdialog.h>
 
 // Open CASCADE Includes
-#include <TColStd_MapOfInteger.hxx>
+#include <TColStd_IndexedMapOfInteger.hxx>
 
 class QVBoxLayout; 
 class QHBoxLayout; 
@@ -48,6 +48,7 @@ class QLineEdit;
 class QPushButton;
 class QRadioButton;
 class SMESHGUI;
+class SMESH_Actor;
 
 // IDL Headers
 #include <SALOMEconfig.h>
@@ -70,15 +71,17 @@ private:
     void Init( SALOME_Selection* Sel ) ;
     void closeEvent( QCloseEvent* e ) ;
     void enterEvent ( QEvent * ) ;                          /* mouse enter the QWidget */
+    void hideEvent ( QHideEvent * );                        /* ESC key */
 
     SMESHGUI*                     mySMESHGUI ;              /* Current SMESHGUI object */
     SALOME_Selection*             mySelection ;             /* User shape selection */
-    bool                          myOkNodes ;               /* to check when arguments is defined */
+    int                           myNbOkNodes ;             /* to check when arguments is defined */
     int                           myConstructorId ;         /* Current constructor id = radio button id */
     QLineEdit*                    myEditCurrentArgument;    /* Current  LineEdit */
 
+    bool                          myBusy;
     SMESH::SMESH_Mesh_var         myMesh;
-    TColStd_MapOfInteger          myMapIndex;
+    SMESH_Actor*                  myActor;
     
     QButtonGroup* GroupConstructors;
     QRadioButton* Constructor1;
@@ -101,6 +104,7 @@ private slots:
     void SelectionIntoArgument() ;
     void DeactivateActiveDialog() ;
     void ActivateThisDialog() ;
+    void onTextChange(const QString&);
 
 protected:
     QGridLayout* SMESHGUI_RemoveNodesDlgLayout;