Dialog creating 0D elements on all nodes of given elements. More...
#include <SMESHGUI_Add0DElemsOnAllNodesDlg.h>
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 |
QGroupBox * | myGroupBox |
QLabel * | myGroupLabel |
QComboBox * | myGroupListCmBox |
QCheckBox * | myDuplicateElemsChkBox |
SMESHGUI_IdValidator | myIDValidator |
Friends | |
class | SMESHGUI_Add0DElemsOnAllNodesOp |
Dialog creating 0D elements on all nodes of given elements.
SMESHGUI_Add0DElemsOnAllNodesDlg::SMESHGUI_Add0DElemsOnAllNodesDlg | ( | ) |
Dialog Constructor.
References MARGIN, myDuplicateElemsChkBox, myFilterBtn, myGroupBox, myGroupLabel, myGroupListCmBox, mySelTypeBtnGrp, onGroupChecked(), onSelTypeChange(), SEL_ELEMENTS, SEL_NODES, SEL_OBJECT, and SPACING.
|
protectedinherited |
find desktop of active application
References MESHCUT::d.
int SMESHGUI_Add0DElemsOnAllNodesDlg::getSelectionType | ( | ) | const |
Return type of selected object: [SEL_OBJECT, SEL_ELEMENTS, SEL_NODES].
References mySelTypeBtnGrp.
Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::createFilter(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_Add0DElemsOnAllNodesOp::onSetFilter(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), and SMESHGUI_Add0DElemsOnAllNodesOp::updateButtons().
bool SMESHGUI_Add0DElemsOnAllNodesDlg::isValid | ( | ) |
Checks consistency of data.
References myGroupBox, and myGroupListCmBox.
Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::onApply().
|
privateslot |
SLOT to enable/disable groups.
References myGroupLabel, and myGroupListCmBox.
Referenced by SMESHGUI_Add0DElemsOnAllNodesDlg().
|
privateslot |
SLOT to enable/disable groups.
References myFilterBtn, myIDValidator, SEL_ELEMENTS, SEL_NODES, SEL_OBJECT, and selTypeChanged().
Referenced by SMESHGUI_Add0DElemsOnAllNodesDlg().
|
staticinherited |
Return hard-coded prefix using to differ overlapping types.
Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().
|
protectedinherited |
gets resource manager
Referenced by SMESHGUI_ComputeDlg::createMainFrame(), SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg(), and SMESHGUI_GroupOnShapeDlg::SMESHGUI_GroupOnShapeDlg().
|
signal |
Referenced by onSelTypeChange().
|
virtualinherited |
set all content to enable (parameter is true) or disable state
Referenced by SMESHGUI_Operation::setDialogActive().
|
virtualinherited |
Referenced by SMESHGUI_MeshOp::onCloseShapeByMeshDlg(), SMESHGUI_MeshOp::onPublishShapeByMeshDlg(), SMESHGUI_BaseComputeOp::showComputeResult(), SMESHGUI_BaseComputeOp::showEvaluateResult(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_ReorientFacesOp::startOperation(), SMESHGUI_GroupOnShapeOp::startOperation(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_MeshOrderOp::startOperation(), SMESHGUI_ShapeByMeshOp::startOperation(), and SMESHGUI_Add0DElemsOnAllNodesOp::startOperation().
|
friend |
|
private |
Referenced by SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), and SMESHGUI_Add0DElemsOnAllNodesDlg().
|
private |
|
private |
Referenced by isValid(), SMESHGUI_Add0DElemsOnAllNodesOp::onApply(), SMESHGUI_Add0DElemsOnAllNodesOp::selectionDone(), SMESHGUI_Add0DElemsOnAllNodesDlg(), SMESHGUI_Add0DElemsOnAllNodesOp::SMESHGUI_Add0DElemsOnAllNodesOp(), SMESHGUI_Add0DElemsOnAllNodesOp::startOperation(), and SMESHGUI_Add0DElemsOnAllNodesOp::updateButtons().
|
private |
Referenced by onGroupChecked(), and SMESHGUI_Add0DElemsOnAllNodesDlg().
|
private |
|
private |
Referenced by onSelTypeChange().
|
private |
Referenced by getSelectionType(), and SMESHGUI_Add0DElemsOnAllNodesDlg().