Version: 9.12.0
SMESHGUI_CopyMeshDlg Class Reference

#include <SMESHGUI_CopyMeshDlg.h>

Inheritance diagram for SMESHGUI_CopyMeshDlg:

Public Member Functions

 SMESHGUI_CopyMeshDlg (SMESHGUI *)
 Constructor. More...
 
 ~SMESHGUI_CopyMeshDlg ()
 

Protected Slots

virtual void reject ()
 

Private Slots

void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onConstructor (int)
 
void onTextChange (const QString &)
 
void onSelectIdSource (bool)
 
void setFilters ()
 
void onOpenView ()
 
void onCloseView ()
 

Private Member Functions

void Init (bool=true)
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
void setNewMeshName ()
 
QString getErrorMsg (SMESH::string_array_var invalidEntries, QStringList &entriesToBrowse)
 
bool isValid ()
 
bool isWithGeomMode ()
 
void setIsApplyAndClose (const bool theFlag)
 
bool isApplyAndClose () const
 

Private Attributes

SMESHGUImySMESHGUI
 
SMESHGUI_IdValidatormyIdValidator
 
LightApp_SelectionMgr * mySelectionMgr
 
int myNbOkElements
 
SVTK_Selector * mySelector
 
bool myBusy
 
SMESH::SMESH_Mesh_var myMesh
 
GEOM::GEOM_Object_var myNewGeometry
 
SMESH_ActormyActor
 
SUIT_SelectionFiltermyIdSourceFilter
 
SMESH::SMESH_IDSource_var mySelectedObject
 
QButtonGroup * GroupConstructors
 
QGroupBoxConstructorsBox
 
QGroupBoxGroupArguments
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QLabelmyTextLabelElements
 
QLabelmyGeomLabel
 
QLineEdit * myLineEditElements
 
QLineEdit * myMeshNameEdit
 
QLineEdit * myGeomNameEdit
 
QCheckBox * myIdSourceCheck
 
QCheckBox * myCopyGroupsCheck
 
QCheckBox * myReuseHypCheck
 
QCheckBox * myCopyElementsCheck
 
QCheckBox * myKeepIdsCheck
 
QPushButton * myFilterBtn
 
SMESHGUI_FilterDlgmyFilterDlg
 
QString myHelpFileName
 
bool myIsApplyAndClose
 

Constructor & Destructor Documentation

◆ SMESHGUI_CopyMeshDlg()

◆ ~SMESHGUI_CopyMeshDlg()

SMESHGUI_CopyMeshDlg::~SMESHGUI_CopyMeshDlg ( )

Member Function Documentation

◆ ActivateThisDialog

◆ ClickOnApply

◆ ClickOnHelp

void SMESHGUI_CopyMeshDlg::ClickOnHelp ( )
privateslot

References myHelpFileName, and mySMESHGUI.

Referenced by keyPressEvent(), and SMESHGUI_CopyMeshDlg().

◆ ClickOnOk

void SMESHGUI_CopyMeshDlg::ClickOnOk ( )
privateslot

◆ DeactivateActiveDialog

void SMESHGUI_CopyMeshDlg::DeactivateActiveDialog ( )
privateslot

◆ enterEvent()

void SMESHGUI_CopyMeshDlg::enterEvent ( QEvent *  )
private

◆ getErrorMsg()

QString SMESHGUI_CopyMeshDlg::getErrorMsg ( SMESH::string_array_var  invalidEntries,
QStringList &  entriesToBrowse 
)
private

◆ Init()

void SMESHGUI_CopyMeshDlg::Init ( bool  ResetControls = true)
private

◆ isApplyAndClose()

bool SMESHGUI_CopyMeshDlg::isApplyAndClose ( ) const
private

References myIsApplyAndClose.

Referenced by ClickOnApply().

◆ isValid()

bool SMESHGUI_CopyMeshDlg::isValid ( )
private

◆ isWithGeomMode()

bool SMESHGUI_CopyMeshDlg::isWithGeomMode ( )
private

◆ keyPressEvent()

void SMESHGUI_CopyMeshDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

◆ onCloseView

void SMESHGUI_CopyMeshDlg::onCloseView ( )
privateslot

◆ onConstructor

void SMESHGUI_CopyMeshDlg::onConstructor ( int  withGeom)
privateslot

◆ onOpenView

void SMESHGUI_CopyMeshDlg::onOpenView ( )
privateslot

◆ onSelectIdSource

◆ onTextChange

void SMESHGUI_CopyMeshDlg::onTextChange ( const QString &  theNewText)
privateslot

◆ reject

void SMESHGUI_CopyMeshDlg::reject ( )
protectedvirtualslot

◆ SelectionIntoArgument

◆ setFilters

◆ setIsApplyAndClose()

void SMESHGUI_CopyMeshDlg::setIsApplyAndClose ( const bool  theFlag)
private

References myIsApplyAndClose.

Referenced by ClickOnOk().

◆ setNewMeshName()

void SMESHGUI_CopyMeshDlg::setNewMeshName ( )
private

Field Documentation

◆ buttonApply

QPushButton* SMESHGUI_CopyMeshDlg::buttonApply
private

◆ buttonCancel

QPushButton* SMESHGUI_CopyMeshDlg::buttonCancel
private

Referenced by SMESHGUI_CopyMeshDlg().

◆ buttonHelp

QPushButton* SMESHGUI_CopyMeshDlg::buttonHelp
private

Referenced by SMESHGUI_CopyMeshDlg().

◆ buttonOk

QPushButton* SMESHGUI_CopyMeshDlg::buttonOk
private

◆ ConstructorsBox

QGroupBox* SMESHGUI_CopyMeshDlg::ConstructorsBox
private

◆ GroupArguments

QGroupBox* SMESHGUI_CopyMeshDlg::GroupArguments
private

◆ GroupButtons

QGroupBox* SMESHGUI_CopyMeshDlg::GroupButtons
private

◆ GroupConstructors

QButtonGroup* SMESHGUI_CopyMeshDlg::GroupConstructors
private

◆ myActor

SMESH_Actor* SMESHGUI_CopyMeshDlg::myActor
private

◆ myBusy

bool SMESHGUI_CopyMeshDlg::myBusy
private

◆ myCopyElementsCheck

QCheckBox* SMESHGUI_CopyMeshDlg::myCopyElementsCheck
private

◆ myCopyGroupsCheck

QCheckBox* SMESHGUI_CopyMeshDlg::myCopyGroupsCheck
private

◆ myFilterBtn

QPushButton* SMESHGUI_CopyMeshDlg::myFilterBtn
private

◆ myFilterDlg

SMESHGUI_FilterDlg* SMESHGUI_CopyMeshDlg::myFilterDlg
private

◆ myGeomLabel

QLabel* SMESHGUI_CopyMeshDlg::myGeomLabel
private

◆ myGeomNameEdit

QLineEdit* SMESHGUI_CopyMeshDlg::myGeomNameEdit
private

◆ myHelpFileName

QString SMESHGUI_CopyMeshDlg::myHelpFileName
private

◆ myIdSourceCheck

QCheckBox* SMESHGUI_CopyMeshDlg::myIdSourceCheck
private

◆ myIdSourceFilter

SUIT_SelectionFilter* SMESHGUI_CopyMeshDlg::myIdSourceFilter
private

◆ myIdValidator

SMESHGUI_IdValidator* SMESHGUI_CopyMeshDlg::myIdValidator
private

◆ myIsApplyAndClose

bool SMESHGUI_CopyMeshDlg::myIsApplyAndClose
private

◆ myKeepIdsCheck

QCheckBox* SMESHGUI_CopyMeshDlg::myKeepIdsCheck
private

◆ myLineEditElements

QLineEdit* SMESHGUI_CopyMeshDlg::myLineEditElements
private

◆ myMesh

SMESH::SMESH_Mesh_var SMESHGUI_CopyMeshDlg::myMesh
private

◆ myMeshNameEdit

QLineEdit* SMESHGUI_CopyMeshDlg::myMeshNameEdit
private

◆ myNbOkElements

int SMESHGUI_CopyMeshDlg::myNbOkElements
private

◆ myNewGeometry

GEOM::GEOM_Object_var SMESHGUI_CopyMeshDlg::myNewGeometry
private

◆ myReuseHypCheck

QCheckBox* SMESHGUI_CopyMeshDlg::myReuseHypCheck
private

◆ mySelectedObject

SMESH::SMESH_IDSource_var SMESHGUI_CopyMeshDlg::mySelectedObject
private

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_CopyMeshDlg::mySelectionMgr
private

◆ mySelector

SVTK_Selector* SMESHGUI_CopyMeshDlg::mySelector
private

◆ mySMESHGUI

◆ myTextLabelElements

QLabel* SMESHGUI_CopyMeshDlg::myTextLabelElements
private