Version: 9.12.0
SMESHGUI_TranslationDlg Class Reference

#include <SMESHGUI_TranslationDlg.h>

Inheritance diagram for SMESHGUI_TranslationDlg:

Public Member Functions

 SMESHGUI_TranslationDlg (SMESHGUI *)
 
 ~SMESHGUI_TranslationDlg ()
 
void showPreview ()
 
void hidePreview ()
 
void setSimulationPreview (QList< SMESH::MeshPreviewStruct_var > &)
 

Protected Slots

virtual void onDisplaySimulation (bool)
 
virtual void reject ()
 
void onFilterAccepted ()
 
void toDisplaySimulation ()
 

Protected Member Functions

void connectPreviewControl ()
 
virtual void setIsApplyAndClose (const bool theFlag)
 
virtual bool isApplyAndClose () const
 

Protected Attributes

SMESHGUImySMESHGUI
 
QList< SMESHGUI_MeshEditPreview * > mySimulationList
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Private Slots

void ConstructorsClicked (int)
 
void ClickOnOk ()
 
bool ClickOnApply ()
 
void ClickOnHelp ()
 
void SetEditCurrentArgument ()
 
void SelectionIntoArgument ()
 
void DeactivateActiveDialog ()
 
void ActivateThisDialog ()
 
void onTextChange (const QString &)
 
void onSelectMesh (bool)
 
void onActionClicked (int)
 
void onOpenView ()
 
void onCloseView ()
 
void setFilters ()
 

Private Member Functions

void Init (bool=true)
 
void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
int GetConstructorId ()
 
void setNewMeshName ()
 
bool isValid ()
 

Private Attributes

SMESHGUI_IdValidatormyIdValidator
 
LightApp_SelectionMgr * mySelectionMgr
 
QString myElementsId
 
int myNbOkElements
 
SVTK_Selector * mySelector
 
QWidgetmyEditCurrentArgument
 
bool myBusy
 
SMESH_ActormyActor
 
SMESH_LogicalFiltermyMeshOrSubMeshOrGroupFilter
 
QList< SMESH::SMESH_Mesh_var > myMeshes
 
QList< SMESH::SMESH_IDSource_var > myObjects
 
QList< QString > myObjectsNames
 
QGroupBoxConstructorsBox
 
QButtonGroup * GroupConstructors
 
QRadioButton * RadioButton1
 
QRadioButton * RadioButton2
 
QGroupBoxGroupButtons
 
QPushButton * buttonOk
 
QPushButton * buttonCancel
 
QPushButton * buttonApply
 
QPushButton * buttonHelp
 
QGroupBoxGroupArguments
 
QLabelTextLabelElements
 
QPushButton * SelectElementsButton
 
QLineEdit * LineEditElements
 
QCheckBox * CheckBoxMesh
 
QLabelTextLabel1
 
QPushButton * SelectButton1
 
QLabelTextLabel1_1
 
SMESHGUI_SpinBoxSpinBox1_1
 
QLabelTextLabel1_2
 
SMESHGUI_SpinBoxSpinBox1_2
 
QLabelTextLabel1_3
 
SMESHGUI_SpinBoxSpinBox1_3
 
QLabelTextLabel2
 
QPushButton * SelectButton2
 
QLabelTextLabel2_1
 
SMESHGUI_SpinBoxSpinBox2_1
 
QLabelTextLabel2_2
 
SMESHGUI_SpinBoxSpinBox2_2
 
QLabelTextLabel2_3
 
SMESHGUI_SpinBoxSpinBox2_3
 
QGroupBoxActionBox
 
QButtonGroup * ActionGroup
 
QCheckBox * MakeGroupsCheck
 
QLineEdit * LineEditNewMesh
 
QString myHelpFileName
 
QPushButton * myFilterBtn
 
SMESHGUI_FilterDlgmyFilterDlg
 

Constructor & Destructor Documentation

◆ SMESHGUI_TranslationDlg()

◆ ~SMESHGUI_TranslationDlg()

SMESHGUI_TranslationDlg::~SMESHGUI_TranslationDlg ( )

References myFilterDlg.

Member Function Documentation

◆ ActivateThisDialog

◆ ClickOnApply

◆ ClickOnHelp

void SMESHGUI_TranslationDlg::ClickOnHelp ( )
privateslot

◆ ClickOnOk

void SMESHGUI_TranslationDlg::ClickOnOk ( )
privateslot

◆ connectPreviewControl()

◆ ConstructorsClicked

◆ DeactivateActiveDialog

void SMESHGUI_TranslationDlg::DeactivateActiveDialog ( )
privateslot

◆ enterEvent()

void SMESHGUI_TranslationDlg::enterEvent ( QEvent *  )
private

◆ GetConstructorId()

int SMESHGUI_TranslationDlg::GetConstructorId ( )
private

◆ hidePreview()

◆ Init()

◆ isApplyAndClose()

◆ isValid()

bool SMESHGUI_TranslationDlg::isValid ( )
private

◆ keyPressEvent()

void SMESHGUI_TranslationDlg::keyPressEvent ( QKeyEvent *  e)
private

References ClickOnHelp().

◆ onActionClicked

void SMESHGUI_TranslationDlg::onActionClicked ( int  button)
privateslot

◆ onCloseView

void SMESHGUI_TranslationDlg::onCloseView ( )
privateslot

◆ onDisplaySimulation

◆ onFilterAccepted

void SMESHGUI_TranslationDlg::onFilterAccepted ( )
protectedslot

◆ onOpenView

void SMESHGUI_TranslationDlg::onOpenView ( )
privateslot

◆ onSelectMesh

◆ onTextChange

◆ reject

◆ SelectionIntoArgument

◆ SetEditCurrentArgument

◆ setFilters

◆ setIsApplyAndClose()

void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited

◆ setNewMeshName()

void SMESHGUI_TranslationDlg::setNewMeshName ( )
private

◆ setSimulationPreview()

◆ showPreview()

void SMESHGUI_MultiPreviewDlg::showPreview ( )
inherited

◆ toDisplaySimulation

Field Documentation

◆ ActionBox

QGroupBox* SMESHGUI_TranslationDlg::ActionBox
private

Referenced by SMESHGUI_TranslationDlg().

◆ ActionGroup

QButtonGroup* SMESHGUI_TranslationDlg::ActionGroup
private

◆ buttonApply

QPushButton* SMESHGUI_TranslationDlg::buttonApply
private

◆ buttonCancel

QPushButton* SMESHGUI_TranslationDlg::buttonCancel
private

Referenced by SMESHGUI_TranslationDlg().

◆ buttonHelp

QPushButton* SMESHGUI_TranslationDlg::buttonHelp
private

Referenced by SMESHGUI_TranslationDlg().

◆ buttonOk

QPushButton* SMESHGUI_TranslationDlg::buttonOk
private

◆ CheckBoxMesh

◆ ConstructorsBox

QGroupBox* SMESHGUI_TranslationDlg::ConstructorsBox
private

◆ GroupArguments

QGroupBox* SMESHGUI_TranslationDlg::GroupArguments
private

◆ GroupButtons

QGroupBox* SMESHGUI_TranslationDlg::GroupButtons
private

◆ GroupConstructors

QButtonGroup* SMESHGUI_TranslationDlg::GroupConstructors
private

◆ LineEditElements

◆ LineEditNewMesh

QLineEdit* SMESHGUI_TranslationDlg::LineEditNewMesh
private

◆ MakeGroupsCheck

QCheckBox* SMESHGUI_TranslationDlg::MakeGroupsCheck
private

◆ myActor

SMESH_Actor* SMESHGUI_TranslationDlg::myActor
private

◆ myBusy

bool SMESHGUI_TranslationDlg::myBusy
private

◆ myEditCurrentArgument

QWidget* SMESHGUI_TranslationDlg::myEditCurrentArgument
private

◆ myElementsId

QString SMESHGUI_TranslationDlg::myElementsId
private

◆ myFilterBtn

QPushButton* SMESHGUI_TranslationDlg::myFilterBtn
private

◆ myFilterDlg

SMESHGUI_FilterDlg* SMESHGUI_TranslationDlg::myFilterDlg
private

◆ myHelpFileName

QString SMESHGUI_TranslationDlg::myHelpFileName
private

◆ myIdValidator

SMESHGUI_IdValidator* SMESHGUI_TranslationDlg::myIdValidator
private

◆ myIsApplyAndClose

bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose
protectedinherited

◆ myMeshes

QList<SMESH::SMESH_Mesh_var> SMESHGUI_TranslationDlg::myMeshes
private

◆ myMeshOrSubMeshOrGroupFilter

SMESH_LogicalFilter* SMESHGUI_TranslationDlg::myMeshOrSubMeshOrGroupFilter
private

◆ myNbOkElements

int SMESHGUI_TranslationDlg::myNbOkElements
private

◆ myObjects

QList<SMESH::SMESH_IDSource_var> SMESHGUI_TranslationDlg::myObjects
private

◆ myObjectsNames

QList<QString> SMESHGUI_TranslationDlg::myObjectsNames
private

◆ myPreviewCheckBox

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_TranslationDlg::mySelectionMgr
private

◆ mySelector

SVTK_Selector* SMESHGUI_TranslationDlg::mySelector
private

◆ mySimulationList

◆ mySMESHGUI

SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI
protectedinherited

Referenced by SMESHGUI_OffsetDlg::ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_OffsetDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_OffsetDlg::ClickOnHelp(), SMESHGUI_RotationDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ClickOnHelp(), SMESHGUI_SymmetryDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), ConstructorsClicked(), SMESHGUI_OffsetDlg::DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_OffsetDlg::enterEvent(), SMESHGUI_RotationDlg::enterEvent(), SMESHGUI_ScaleDlg::enterEvent(), SMESHGUI_SymmetryDlg::enterEvent(), enterEvent(), SMESHGUI_RotationDlg::Init(), SMESHGUI_SymmetryDlg::Init(), Init(), SMESHGUI_OffsetDlg::onOpenView(), SMESHGUI_RotationDlg::onOpenView(), SMESHGUI_ScaleDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), onOpenView(), SMESHGUI_OffsetDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_OffsetDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), onTextChange(), SMESHGUI_OffsetDlg::reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_ScaleDlg::reject(), SMESHGUI_SymmetryDlg::reject(), reject(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_OffsetDlg::setFilters(), SMESHGUI_RotationDlg::setFilters(), SMESHGUI_ScaleDlg::setFilters(), SMESHGUI_SymmetryDlg::setFilters(), setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg().

◆ RadioButton1

QRadioButton* SMESHGUI_TranslationDlg::RadioButton1
private

Referenced by SMESHGUI_TranslationDlg().

◆ RadioButton2

QRadioButton* SMESHGUI_TranslationDlg::RadioButton2
private

Referenced by SMESHGUI_TranslationDlg().

◆ SelectButton1

QPushButton* SMESHGUI_TranslationDlg::SelectButton1
private

◆ SelectButton2

QPushButton* SMESHGUI_TranslationDlg::SelectButton2
private

◆ SelectElementsButton

QPushButton* SMESHGUI_TranslationDlg::SelectElementsButton
private

◆ SpinBox1_1

◆ SpinBox1_2

SMESHGUI_SpinBox* SMESHGUI_TranslationDlg::SpinBox1_2
private

◆ SpinBox1_3

SMESHGUI_SpinBox* SMESHGUI_TranslationDlg::SpinBox1_3
private

◆ SpinBox2_1

◆ SpinBox2_2

◆ SpinBox2_3

◆ TextLabel1

QLabel* SMESHGUI_TranslationDlg::TextLabel1
private

◆ TextLabel1_1

QLabel* SMESHGUI_TranslationDlg::TextLabel1_1
private

◆ TextLabel1_2

QLabel* SMESHGUI_TranslationDlg::TextLabel1_2
private

◆ TextLabel1_3

QLabel* SMESHGUI_TranslationDlg::TextLabel1_3
private

◆ TextLabel2

QLabel* SMESHGUI_TranslationDlg::TextLabel2
private

◆ TextLabel2_1

QLabel* SMESHGUI_TranslationDlg::TextLabel2_1
private

◆ TextLabel2_2

QLabel* SMESHGUI_TranslationDlg::TextLabel2_2
private

◆ TextLabel2_3

QLabel* SMESHGUI_TranslationDlg::TextLabel2_3
private

◆ TextLabelElements

QLabel* SMESHGUI_TranslationDlg::TextLabelElements
private