Version: 8.3.0
SMESHGUI_Add0DElemsOnAllNodesDlg Class Reference

Dialog creating 0D elements on all nodes of given elements. More...

#include <SMESHGUI_Add0DElemsOnAllNodesDlg.h>

Inheritance diagram for SMESHGUI_Add0DElemsOnAllNodesDlg:

Signals

void selTypeChanged (int selType)
 

Public Member Functions

 SMESHGUI_Add0DElemsOnAllNodesDlg ()
 Dialog Constructor. More...
 
int getSelectionType () const
 Return type of selected object: [SEL_OBJECT, SEL_ELEMENTS, SEL_NODES]. More...
 
bool isValid ()
 Checks consistency of data. More...
 
virtual void show ()
 
virtual void setContentActive (const bool)
 set all content to enable (parameter is true) or disable state More...
 

Static Public Member Functions

static int prefix (const QString &)
 Return hard-coded prefix using to differ overlapping types. More...
 

Protected Member Functions

SUIT_Desktop * desktop () const
 find desktop of active application More...
 
SUIT_ResourceMgr * resourceMgr () const
 gets resource manager More...
 

Private Slots

void onGroupChecked (bool on)
 SLOT to enable/disable groups. More...
 
void onSelTypeChange (int selType)
 SLOT to enable/disable groups. More...
 

Private Attributes

QButtonGroup * mySelTypeBtnGrp
 
QPushButton * myFilterBtn
 
QGroupBoxmyGroupBox
 
QLabel * myGroupLabel
 
QComboBox * myGroupListCmBox
 
QCheckBox * myDuplicateElemsChkBox
 
SMESHGUI_IdValidator myIDValidator
 

Friends

class SMESHGUI_Add0DElemsOnAllNodesOp
 

Detailed Description

Dialog creating 0D elements on all nodes of given elements.

Constructor & Destructor Documentation

SMESHGUI_Add0DElemsOnAllNodesDlg::SMESHGUI_Add0DElemsOnAllNodesDlg ( )

Member Function Documentation

SUIT_Desktop * SMESHGUI_Dialog::desktop ( ) const
protectedinherited

find desktop of active application

References MESHCUT::d.

int SMESHGUI_Add0DElemsOnAllNodesDlg::getSelectionType ( ) const
bool SMESHGUI_Add0DElemsOnAllNodesDlg::isValid ( )

Checks consistency of data.

References myGroupBox, and myGroupListCmBox.

Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::onApply().

void SMESHGUI_Add0DElemsOnAllNodesDlg::onGroupChecked ( bool  on)
privateslot

SLOT to enable/disable groups.

References myGroupLabel, and myGroupListCmBox.

Referenced by SMESHGUI_Add0DElemsOnAllNodesDlg().

void SMESHGUI_Add0DElemsOnAllNodesDlg::onSelTypeChange ( int  selType)
privateslot

SLOT to enable/disable groups.

References myFilterBtn, myIDValidator, SEL_ELEMENTS, SEL_NODES, SEL_OBJECT, and selTypeChanged().

Referenced by SMESHGUI_Add0DElemsOnAllNodesDlg().

int SMESHGUI_Dialog::prefix ( const QString &  name)
staticinherited

Return hard-coded prefix using to differ overlapping types.

Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().

SUIT_ResourceMgr * SMESHGUI_Dialog::resourceMgr ( ) const
protectedinherited
void SMESHGUI_Add0DElemsOnAllNodesDlg::selTypeChanged ( int  selType)
signal

Referenced by onSelTypeChange().

void SMESHGUI_Dialog::setContentActive ( const bool  active)
virtualinherited

set all content to enable (parameter is true) or disable state

Referenced by SMESHGUI_Operation::setDialogActive().

Friends And Related Function Documentation

friend class SMESHGUI_Add0DElemsOnAllNodesOp
friend

Field Documentation

QCheckBox* SMESHGUI_Add0DElemsOnAllNodesDlg::myDuplicateElemsChkBox
private
QPushButton* SMESHGUI_Add0DElemsOnAllNodesDlg::myFilterBtn
private
QLabel* SMESHGUI_Add0DElemsOnAllNodesDlg::myGroupLabel
private
SMESHGUI_IdValidator SMESHGUI_Add0DElemsOnAllNodesDlg::myIDValidator
private

Referenced by onSelTypeChange().

QButtonGroup* SMESHGUI_Add0DElemsOnAllNodesDlg::mySelTypeBtnGrp
private