Version: 8.3.0
SMESHGUI_MergeDlg Class Reference

#include <SMESHGUI_MergeDlg.h>

Inheritance diagram for SMESHGUI_MergeDlg:

Public Member Functions

 SMESHGUI_MergeDlg (SMESHGUI *, int)
 
 ~SMESHGUI_MergeDlg ()
 

Static Public Member Functions

static QPixmap IconFirst ()
 

Protected Slots

virtual void reject ()
 

Private Types

typedef QList
< SMESH::SMESH_GroupBase_var > 
GrpList
 

Private Slots

void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void updateControls ()
 
void onDetect ()
 
void onAddKeepNode ()
 
void onRemoveKeepNode ()
 
void onSelectKeepNode ()
 
void onKeepNodeSourceChanged (int)
 
void onAddGroup ()
 
void onRemoveGroup ()
 
void onSelectGroup ()
 
void onSelectAll (bool)
 
void onSelectElementFromGroup ()
 
void onAddElement ()
 
void onRemoveElement ()
 
void onSetFirst ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onTypeChanged (int)
 
void onOpenView ()
 
void onCloseView ()
 

Private Member Functions

void Init ()
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
void onEditGroup ()
 
bool isKeepNodesIDsSelection ()
 
bool isNewKeepNodesGroup (const char *entry)
 
void FindGravityCenter (TColStd_MapOfInteger &, std::vector< int > &, std::list< gp_XYZ > &)
 

Private Attributes

SMESHGUImySMESHGUI
 
LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
QWidgetmyEditCurrentArgument
 
SMESH::SMESH_Mesh_var myMesh
 
SMESH::SMESH_IDSource_var mySubMeshOrGroup
 
SMESH_ActormyActor
 
SUIT_SelectionFiltermyMeshOrSubMeshOrGroupFilter
 
SUIT_SelectionFiltermySubMeshOrGroupFilter
 
SMESHGUI_IdPreviewmyIdPreview
 
int myAction
 
bool myIsBusy
 
int myTypeId
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupMesh
 
QLabel * TextLabelName
 
QPushButton * SelectMeshButton
 
QLineEdit * LineEditMesh
 
QWidgetNodeSpecWidget
 
SMESHGUI_SpinBoxSpinBoxTolerance
 
QCheckBox * SeparateCornersAndMedium
 
QCheckBox * AvoidMakingHoles
 
QGroupBoxGroupCoincident
 
QPushButton * DetectButton
 
QListWidget * ListCoincident
 
QPushButton * AddGroupButton
 
QPushButton * RemoveGroupButton
 
QCheckBox * SelectAllCB
 
QCheckBox * ShowIDs
 
QGroupBoxGroupEdit
 
QListWidget * ListEdit
 
QPushButton * AddElemButton
 
QPushButton * RemoveElemButton
 
QPushButton * SetFirstButton
 
QGroupBoxGroupExclude
 
QListWidget * ListExclude
 
QGroupBoxGroupKeep
 
QButtonGroup * KeepFromButGroup
 
QPushButton * SelectKeepNodesButton
 
QPushButton * AddKeepNodesButton
 
QPushButton * RemoveKeepNodesButton
 
QListWidget * KeepList
 
QGroupBoxTypeBox
 
QButtonGroup * GroupType
 
QString myHelpFileName
 
QString myEntry
 
GrpList myGroups
 

Member Typedef Documentation

typedef QList<SMESH::SMESH_GroupBase_var> SMESHGUI_MergeDlg::GrpList
private

Constructor & Destructor Documentation

SMESHGUI_MergeDlg::~SMESHGUI_MergeDlg ( )

References myIdPreview.

Member Function Documentation

void SMESHGUI_MergeDlg::ClickOnHelp ( )
privateslot

References myHelpFileName, and mySMESHGUI.

Referenced by Init(), and keyPressEvent().

void SMESHGUI_MergeDlg::ClickOnOk ( )
privateslot

References ClickOnApply(), and reject().

Referenced by Init().

void SMESHGUI_MergeDlg::DeactivateActiveDialog ( )
privateslot
void SMESHGUI_MergeDlg::enterEvent ( QEvent *  )
private
void SMESHGUI_MergeDlg::FindGravityCenter ( TColStd_MapOfInteger &  theElemsIdMap,
std::vector< int > &  theIDs,
std::list< gp_XYZ > &  theGrCentersXYZ 
)
private
QPixmap SMESHGUI_MergeDlg::IconFirst ( )
static
bool SMESHGUI_MergeDlg::isNewKeepNodesGroup ( const char *  entry)
private
void SMESHGUI_MergeDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

void SMESHGUI_MergeDlg::onAddElement ( )
privateslot
void SMESHGUI_MergeDlg::onAddGroup ( )
privateslot
void SMESHGUI_MergeDlg::onCloseView ( )
privateslot

References DeactivateActiveDialog(), and mySelector.

Referenced by Init().

void SMESHGUI_MergeDlg::onEditGroup ( )
private

References ListCoincident, and ListEdit.

Referenced by onAddElement(), onRemoveElement(), and onSetFirst().

void SMESHGUI_MergeDlg::onKeepNodeSourceChanged ( int  isGroup)
privateslot

References KeepList, and SelectKeepNodesButton.

Referenced by Init().

void SMESHGUI_MergeDlg::onOpenView ( )
privateslot
void SMESHGUI_MergeDlg::onRemoveElement ( )
privateslot
void SMESHGUI_MergeDlg::onRemoveKeepNode ( )
privateslot
void SMESHGUI_MergeDlg::onSelectAll ( bool  isToggled)
privateslot

References ListCoincident.

Referenced by Init().

void SMESHGUI_MergeDlg::onSelectKeepNode ( )
privateslot
void SMESHGUI_MergeDlg::onSetFirst ( )
privateslot

Field Documentation

QPushButton* SMESHGUI_MergeDlg::AddElemButton
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::AddGroupButton
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::AddKeepNodesButton
private
QCheckBox* SMESHGUI_MergeDlg::AvoidMakingHoles
private

Referenced by ClickOnApply(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::buttonApply
private
QPushButton* SMESHGUI_MergeDlg::buttonCancel
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::buttonHelp
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::buttonOk
private
QPushButton* SMESHGUI_MergeDlg::DetectButton
private
QGroupBox* SMESHGUI_MergeDlg::GroupButtons
private
QGroupBox* SMESHGUI_MergeDlg::GroupCoincident
private
QGroupBox* SMESHGUI_MergeDlg::GroupEdit
private
QGroupBox* SMESHGUI_MergeDlg::GroupExclude
private
QGroupBox* SMESHGUI_MergeDlg::GroupKeep
private
QGroupBox* SMESHGUI_MergeDlg::GroupMesh
private
QButtonGroup* SMESHGUI_MergeDlg::GroupType
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QButtonGroup* SMESHGUI_MergeDlg::KeepFromButGroup
private
QListWidget* SMESHGUI_MergeDlg::ListExclude
private
QString SMESHGUI_MergeDlg::myEntry
private

Referenced by SelectionIntoArgument().

GrpList SMESHGUI_MergeDlg::myGroups
private

Referenced by onDetect(), and SelectionIntoArgument().

QString SMESHGUI_MergeDlg::myHelpFileName
private

Referenced by ClickOnHelp(), and Init().

SMESH::SMESH_Mesh_var SMESHGUI_MergeDlg::myMesh
private
SUIT_SelectionFilter* SMESHGUI_MergeDlg::myMeshOrSubMeshOrGroupFilter
private
SMESH::SMESH_IDSource_var SMESHGUI_MergeDlg::mySubMeshOrGroup
private
SUIT_SelectionFilter* SMESHGUI_MergeDlg::mySubMeshOrGroupFilter
private
QWidget* SMESHGUI_MergeDlg::NodeSpecWidget
private

Referenced by SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::RemoveElemButton
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::RemoveGroupButton
private

Referenced by Init(), and SMESHGUI_MergeDlg().

QPushButton* SMESHGUI_MergeDlg::RemoveKeepNodesButton
private
QCheckBox* SMESHGUI_MergeDlg::SelectAllCB
private
QPushButton* SMESHGUI_MergeDlg::SelectKeepNodesButton
private
QPushButton* SMESHGUI_MergeDlg::SelectMeshButton
private
QCheckBox* SMESHGUI_MergeDlg::SeparateCornersAndMedium
private
QPushButton* SMESHGUI_MergeDlg::SetFirstButton
private
QCheckBox* SMESHGUI_MergeDlg::ShowIDs
private
SMESHGUI_SpinBox* SMESHGUI_MergeDlg::SpinBoxTolerance
private

Referenced by Init(), onDetect(), and SMESHGUI_MergeDlg().

QLabel* SMESHGUI_MergeDlg::TextLabelName
private

Referenced by SMESHGUI_MergeDlg().

QGroupBox* SMESHGUI_MergeDlg::TypeBox
private