class QCloseEvent;
class QFrame;
class QPushButton;
-class SALOME_Selection;
class QListBox;
-/*
- Class : SMESHGUI_DeleteGroupDlg
- Description : Delete groups and their contents
-*/
+class SMESHGUI;
+class SVTK_ViewWindow;
+class SalomeApp_SelectionMgr;
+
+/*!
+ * Class : SMESHGUI_DeleteGroupDlg
+ * Description : Delete groups and their contents
+ */
class SMESHGUI_DeleteGroupDlg : public QDialog
-{
+{
Q_OBJECT
-
+
public:
- SMESHGUI_DeleteGroupDlg( QWidget*, SALOME_Selection* );
- virtual ~SMESHGUI_DeleteGroupDlg();
+ SMESHGUI_DeleteGroupDlg( SMESHGUI* );
+ virtual ~SMESHGUI_DeleteGroupDlg();
+
+ void Init ();
- void Init( SALOME_Selection* ) ;
-
private:
- void closeEvent( QCloseEvent* e ) ;
- void enterEvent ( QEvent * ) ;
-
+ void closeEvent (QCloseEvent*);
+ void enterEvent (QEvent*);
+
private slots:
- void onOk();
- bool onApply();
- void onClose();
+ void onOk();
+ bool onApply();
+ void onClose();
- void onDeactivate();
+ void onDeactivate();
- void onSelectionDone();
+ void onSelectionDone();
private:
- QFrame* createButtonFrame( QWidget* );
- QFrame* createMainFrame ( QWidget* );
- bool isValid();
-
+ QFrame* createButtonFrame (QWidget*);
+ QFrame* createMainFrame (QWidget*);
+ bool isValid();
+
private:
- QPushButton* myOkBtn;
- QPushButton* myApplyBtn;
- QPushButton* myCloseBtn;
- QListBox* myListBox;
- SALOME_Selection* mySelection;
-
+ QPushButton* myOkBtn;
+ QPushButton* myApplyBtn;
+ QPushButton* myCloseBtn;
+ QListBox* myListBox;
+
+ SMESHGUI* mySMESHGUI;
+ SalomeApp_SelectionMgr* mySelectionMgr;
+
QValueList<SMESH::SMESH_GroupBase_var> myListGrp;
bool myBlockSelection;
-
};
#endif
-
-
-
-
-