Version: 8.3.0
SMESHGUI_DeleteGroupDlg Class Reference

Class : SMESHGUI_DeleteGroupDlg Description : Delete groups and their contents. More...

#include <SMESHGUI_DeleteGroupDlg.h>

Inheritance diagram for SMESHGUI_DeleteGroupDlg:

Public Member Functions

 SMESHGUI_DeleteGroupDlg (SMESHGUI *)
 Class : SMESHGUI_DeleteGroupDlg Description : Delete groups and their contents. More...
 
virtual ~SMESHGUI_DeleteGroupDlg ()
 
void Init ()
 

Protected Slots

virtual void reject ()
 

Private Slots

void onOk ()
 
bool onApply ()
 
void onHelp ()
 
void onDeactivate ()
 
void onSelectionDone ()
 

Private Member Functions

void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
QWidgetcreateButtonFrame (QWidget *)
 
QWidgetcreateMainFrame (QWidget *)
 
bool isValid ()
 

Private Attributes

QPushButton * myOkBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCloseBtn
 
QPushButton * myHelpBtn
 
QListWidget * myListBox
 
SMESHGUImySMESHGUI
 
LightApp_SelectionMgr * mySelectionMgr
 
SALOME_ListIO myListGrpIO
 
QList< SMESH::SMESH_GroupBase_var > myListGrp
 
bool myBlockSelection
 
QString myHelpFileName
 

Detailed Description

Class : SMESHGUI_DeleteGroupDlg Description : Delete groups and their contents.

Constructor & Destructor Documentation

SMESHGUI_DeleteGroupDlg::SMESHGUI_DeleteGroupDlg ( SMESHGUI theModule)

Class : SMESHGUI_DeleteGroupDlg Description : Delete groups and their contents.

References createButtonFrame(), createMainFrame(), Init(), MARGIN, myHelpFileName, and SPACING.

SMESHGUI_DeleteGroupDlg::~SMESHGUI_DeleteGroupDlg ( )
virtual

Member Function Documentation

QWidget * SMESHGUI_DeleteGroupDlg::createButtonFrame ( QWidget theParent)
private
QWidget * SMESHGUI_DeleteGroupDlg::createMainFrame ( QWidget theParent)
private

References MARGIN, myListBox, and SPACING.

Referenced by SMESHGUI_DeleteGroupDlg().

void SMESHGUI_DeleteGroupDlg::enterEvent ( QEvent *  )
private
bool SMESHGUI_DeleteGroupDlg::isValid ( )
private
void SMESHGUI_DeleteGroupDlg::keyPressEvent ( QKeyEvent *  e)
private

References onHelp().

bool SMESHGUI_DeleteGroupDlg::onApply ( )
privateslot
void SMESHGUI_DeleteGroupDlg::onDeactivate ( )
privateslot

References mySelectionMgr.

Referenced by Init().

void SMESHGUI_DeleteGroupDlg::onHelp ( )
privateslot

References myHelpFileName, and mySMESHGUI.

Referenced by createButtonFrame(), and keyPressEvent().

void SMESHGUI_DeleteGroupDlg::onOk ( )
privateslot

References onApply(), and reject().

Referenced by createButtonFrame().

void SMESHGUI_DeleteGroupDlg::onSelectionDone ( )
privateslot
void SMESHGUI_DeleteGroupDlg::reject ( )
protectedvirtualslot

Field Documentation

QPushButton* SMESHGUI_DeleteGroupDlg::myApplyBtn
private

Referenced by createButtonFrame().

bool SMESHGUI_DeleteGroupDlg::myBlockSelection
private

Referenced by Init(), onApply(), and onSelectionDone().

QPushButton* SMESHGUI_DeleteGroupDlg::myCloseBtn
private

Referenced by createButtonFrame().

QPushButton* SMESHGUI_DeleteGroupDlg::myHelpBtn
private

Referenced by createButtonFrame().

QString SMESHGUI_DeleteGroupDlg::myHelpFileName
private

Referenced by onHelp(), and SMESHGUI_DeleteGroupDlg().

QListWidget* SMESHGUI_DeleteGroupDlg::myListBox
private
QList<SMESH::SMESH_GroupBase_var> SMESHGUI_DeleteGroupDlg::myListGrp
private

Referenced by onApply(), and onSelectionDone().

SALOME_ListIO SMESHGUI_DeleteGroupDlg::myListGrpIO
private

Referenced by onApply(), and onSelectionDone().

QPushButton* SMESHGUI_DeleteGroupDlg::myOkBtn
private

Referenced by createButtonFrame().

LightApp_SelectionMgr* SMESHGUI_DeleteGroupDlg::mySelectionMgr
private
SMESHGUI* SMESHGUI_DeleteGroupDlg::mySMESHGUI
private