Version: 9.16.0
SMESHGUI_BuildCompoundDlg Class Reference

#include <SMESHGUI_BuildCompoundDlg.h>

Inheritance diagram for SMESHGUI_BuildCompoundDlg:

Public Member Functions

 SMESHGUI_BuildCompoundDlg (SMESHGUI *)
 
 ~SMESHGUI_BuildCompoundDlg ()
 

Static Public Member Functions

static QString GetDefaultName (const QString &)
 

Protected Slots

virtual void reject ()
 

Private Slots

void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onSelectMerge (bool)
 
void onResultTypeChange (int)
 
void onSelectionButton ()
 

Private Member Functions

void Init ()
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
bool isValid ()
 
void setIsApplyAndClose (const bool theFlag)
 
bool isApplyAndClose () const
 

Private Attributes

SMESHGUImySMESHGUI
 
LightApp_SelectionMgr * mySelectionMgr
 
SMESH::SMESH_Mesh_var myMeshToAppendTo
 
SMESH::ListOfIDSources_var myMeshArray
 
SUIT_SelectionFiltermyMeshFilter
 
SUIT_SelectionFiltermyAppendToFilter
 
QGroupBoxGroupConstructors
 
QRadioButton * Constructor1
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupResult
 
QButtonGroup * ResultButtonGroup
 
QLineEdit * LineEditNewName
 
QPushButton * SelectButtonAppendTo
 
QLineEdit * LineEditAppendTo
 
QGroupBoxGroupArgs
 
QLabelTextLabelMeshes
 
QPushButton * SelectButton
 
QLineEdit * LineEditMeshes
 
QLabelTextLabelUnion
 
QComboBoxComboBoxUnion
 
QCheckBox * CheckBoxCommon
 
QCheckBox * CheckBoxMerge
 
QLabelTextLabelTol
 
SMESHGUI_SpinBoxSpinBoxTol
 
QLineEdit * CurrentLineEdit
 
QString myHelpFileName
 
bool myIsApplyAndClose
 

Constructor & Destructor Documentation

◆ SMESHGUI_BuildCompoundDlg()

◆ ~SMESHGUI_BuildCompoundDlg()

SMESHGUI_BuildCompoundDlg::~SMESHGUI_BuildCompoundDlg ( )

Member Function Documentation

◆ ActivateThisDialog

void SMESHGUI_BuildCompoundDlg::ActivateThisDialog ( )
privateslot

◆ ClickOnApply

◆ ClickOnHelp

void SMESHGUI_BuildCompoundDlg::ClickOnHelp ( )
privateslot

References myHelpFileName, and mySMESHGUI.

Referenced by Init(), and keyPressEvent().

◆ ClickOnOk

void SMESHGUI_BuildCompoundDlg::ClickOnOk ( )
privateslot

References ClickOnApply(), reject(), and setIsApplyAndClose().

Referenced by Init().

◆ DeactivateActiveDialog

void SMESHGUI_BuildCompoundDlg::DeactivateActiveDialog ( )
privateslot

◆ enterEvent()

void SMESHGUI_BuildCompoundDlg::enterEvent ( QEvent *  )
private

◆ GetDefaultName()

QString SMESHGUI_BuildCompoundDlg::GetDefaultName ( const QString &  theOperation)
static

References SMESH::_PTR().

Referenced by ClickOnApply(), and Init().

◆ Init()

◆ isApplyAndClose()

bool SMESHGUI_BuildCompoundDlg::isApplyAndClose ( ) const
private

References myIsApplyAndClose.

Referenced by ClickOnApply().

◆ isValid()

bool SMESHGUI_BuildCompoundDlg::isValid ( )
private

References CheckBoxMerge, and SpinBoxTol.

Referenced by ClickOnApply().

◆ keyPressEvent()

void SMESHGUI_BuildCompoundDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

◆ onResultTypeChange

void SMESHGUI_BuildCompoundDlg::onResultTypeChange ( int  buttonID)
privateslot

◆ onSelectionButton

void SMESHGUI_BuildCompoundDlg::onSelectionButton ( )
privateslot

◆ onSelectMerge

void SMESHGUI_BuildCompoundDlg::onSelectMerge ( bool  toMerge)
privateslot

References SMESHGUI_SpinBox::SetValue(), SpinBoxTol, and TextLabelTol.

Referenced by Init().

◆ reject

void SMESHGUI_BuildCompoundDlg::reject ( )
protectedvirtualslot

References mySelectionMgr, mySMESHGUI, and SMESHGUI::ResetState().

Referenced by ClickOnOk(), and Init().

◆ SelectionIntoArgument

◆ setIsApplyAndClose()

void SMESHGUI_BuildCompoundDlg::setIsApplyAndClose ( const bool  theFlag)
private

References myIsApplyAndClose.

Referenced by ClickOnOk().

Field Documentation

◆ buttonApply

QPushButton* SMESHGUI_BuildCompoundDlg::buttonApply
private

◆ buttonCancel

QPushButton* SMESHGUI_BuildCompoundDlg::buttonCancel
private

Referenced by Init(), and SMESHGUI_BuildCompoundDlg().

◆ buttonHelp

QPushButton* SMESHGUI_BuildCompoundDlg::buttonHelp
private

Referenced by Init(), and SMESHGUI_BuildCompoundDlg().

◆ buttonOk

QPushButton* SMESHGUI_BuildCompoundDlg::buttonOk
private

◆ CheckBoxCommon

QCheckBox* SMESHGUI_BuildCompoundDlg::CheckBoxCommon
private

◆ CheckBoxMerge

QCheckBox* SMESHGUI_BuildCompoundDlg::CheckBoxMerge
private

◆ ComboBoxUnion

QComboBox* SMESHGUI_BuildCompoundDlg::ComboBoxUnion
private

◆ Constructor1

QRadioButton* SMESHGUI_BuildCompoundDlg::Constructor1
private

◆ CurrentLineEdit

QLineEdit* SMESHGUI_BuildCompoundDlg::CurrentLineEdit
private

◆ GroupArgs

QGroupBox* SMESHGUI_BuildCompoundDlg::GroupArgs
private

◆ GroupButtons

QGroupBox* SMESHGUI_BuildCompoundDlg::GroupButtons
private

◆ GroupConstructors

QGroupBox* SMESHGUI_BuildCompoundDlg::GroupConstructors
private

◆ GroupResult

QGroupBox* SMESHGUI_BuildCompoundDlg::GroupResult
private

◆ LineEditAppendTo

QLineEdit* SMESHGUI_BuildCompoundDlg::LineEditAppendTo
private

◆ LineEditMeshes

QLineEdit* SMESHGUI_BuildCompoundDlg::LineEditMeshes
private

◆ LineEditNewName

QLineEdit* SMESHGUI_BuildCompoundDlg::LineEditNewName
private

◆ myAppendToFilter

SUIT_SelectionFilter* SMESHGUI_BuildCompoundDlg::myAppendToFilter
private

Referenced by Init(), and onSelectionButton().

◆ myHelpFileName

QString SMESHGUI_BuildCompoundDlg::myHelpFileName
private

◆ myIsApplyAndClose

bool SMESHGUI_BuildCompoundDlg::myIsApplyAndClose
private

◆ myMeshArray

SMESH::ListOfIDSources_var SMESHGUI_BuildCompoundDlg::myMeshArray
private

◆ myMeshFilter

SUIT_SelectionFilter* SMESHGUI_BuildCompoundDlg::myMeshFilter
private

Referenced by Init(), and onSelectionButton().

◆ myMeshToAppendTo

SMESH::SMESH_Mesh_var SMESHGUI_BuildCompoundDlg::myMeshToAppendTo
private

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_BuildCompoundDlg::mySelectionMgr
private

◆ mySMESHGUI

SMESHGUI* SMESHGUI_BuildCompoundDlg::mySMESHGUI
private

◆ ResultButtonGroup

QButtonGroup* SMESHGUI_BuildCompoundDlg::ResultButtonGroup
private

◆ SelectButton

QPushButton* SMESHGUI_BuildCompoundDlg::SelectButton
private

Referenced by Init(), and SMESHGUI_BuildCompoundDlg().

◆ SelectButtonAppendTo

QPushButton* SMESHGUI_BuildCompoundDlg::SelectButtonAppendTo
private

◆ SpinBoxTol

SMESHGUI_SpinBox* SMESHGUI_BuildCompoundDlg::SpinBoxTol
private

◆ TextLabelMeshes

QLabel* SMESHGUI_BuildCompoundDlg::TextLabelMeshes
private

◆ TextLabelTol

QLabel* SMESHGUI_BuildCompoundDlg::TextLabelTol
private

◆ TextLabelUnion

QLabel* SMESHGUI_BuildCompoundDlg::TextLabelUnion
private