Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PAL10397 - Selection isn't cleared after apply
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_DeleteGroupDlg.h
diff --git
a/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.h
b/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.h
index 1669dc705793de2e9d54f0e18ce137ca0e9df52f..320f411b563532574a3a390ae69fda42c4e9e1ff 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_DeleteGroupDlg.h
+++ b/
src/SMESHGUI/SMESHGUI_DeleteGroupDlg.h
@@
-36,61
+36,60
@@
class QCloseEvent;
class QFrame;
class QPushButton;
class QCloseEvent;
class QFrame;
class QPushButton;
-class SALOME_Selection;
class QListBox;
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
class SMESHGUI_DeleteGroupDlg : public QDialog
-{
+{
Q_OBJECT
Q_OBJECT
-
+
public:
public:
- SMESHGUI_DeleteGroupDlg( QWidget*, SALOME_Selection* );
- virtual ~SMESHGUI_DeleteGroupDlg();
+ SMESHGUI_DeleteGroupDlg( SMESHGUI* );
+ virtual ~SMESHGUI_DeleteGroupDlg();
+
+ void Init ();
- void Init( SALOME_Selection* ) ;
-
private:
private:
- void
closeEvent( QCloseEvent* e )
;
- void
enterEvent ( QEvent * ) ;
-
+ void
closeEvent (QCloseEvent*)
;
+ void
enterEvent (QEvent*);
+
private slots:
private slots:
- void
onOk();
- bool
onApply();
- void
onClose();
+ void onOk();
+ bool onApply();
+ void onClose();
- void
onDeactivate();
+ void onDeactivate();
- void
onSelectionDone();
+ void onSelectionDone();
private:
private:
- QFrame*
createButtonFrame( QWidget*
);
- QFrame*
createMainFrame ( QWidget*
);
- bool
isValid();
-
+ QFrame*
createButtonFrame (QWidget*
);
+ QFrame*
createMainFrame (QWidget*
);
+ bool isValid();
+
private:
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;
QValueList<SMESH::SMESH_GroupBase_var> myListGrp;
bool myBlockSelection;
-
};
#endif
};
#endif
-
-
-
-
-