#include <SMESHGUI_TranslationDlg.h>
◆ SMESHGUI_TranslationDlg()
SMESHGUI_TranslationDlg::SMESHGUI_TranslationDlg |
( |
SMESHGUI * |
theModule | ) |
|
References ActionBox, ActionGroup, buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBoxMesh, ClickOnApply(), ClickOnHelp(), ClickOnOk(), SMESHGUI_MultiPreviewDlg::connectPreviewControl(), ConstructorsBox, ConstructorsClicked(), COORD_MAX, COORD_MIN, COPY_ELEMS_BUTTON, DeactivateActiveDialog(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), SMESH::GROUP, GroupArguments, GroupButtons, GroupConstructors, Init(), LineEditElements, LineEditNewMesh, SMESH_LogicalFilter::LO_OR, MAKE_MESH_BUTTON, MakeGroupsCheck, MARGIN, SMESH::MESHorSUBMESH, MOVE_ELEMS_BUTTON, myFilterBtn, myHelpFileName, myIdValidator, myMeshOrSubMeshOrGroupFilter, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, mySelectionMgr, mySelector, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onActionClicked(), onCloseView(), onOpenView(), onSelectMesh(), onTextChange(), RadioButton1, RadioButton2, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), SelectButton1, SelectButton2, SelectElementsButton, SelectionIntoArgument(), SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), setFilters(), SPACING, SpinBox1_1, SpinBox1_2, SpinBox1_3, SpinBox2_1, SpinBox2_2, SpinBox2_3, TextLabel1, TextLabel1_1, TextLabel1_2, TextLabel1_3, TextLabel2, TextLabel2_1, TextLabel2_2, TextLabel2_3, TextLabelElements, and SMESHGUI_MultiPreviewDlg::toDisplaySimulation().
◆ ~SMESHGUI_TranslationDlg()
SMESHGUI_TranslationDlg::~SMESHGUI_TranslationDlg |
( |
| ) |
|
◆ ActivateThisDialog
void SMESHGUI_TranslationDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
bool SMESHGUI_TranslationDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::_PTR(), ActionGroup, CheckBoxMesh, ConstructorsClicked(), COPY_ELEMS_BUTTON, SMESH::FindActorByObject(), GetConstructorId(), SMESHGUI_SpinBox::GetValue(), Init(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), SMESHGUI::isStudyLocked(), isValid(), LineEditNewMesh, MAKE_MESH_BUTTON, MakeGroupsCheck, SMESHGUI::Modified(), MOVE_ELEMS_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SMESH::DirStruct::PS, SpinBox1_1, SpinBox1_2, SpinBox1_3, SpinBox2_1, SpinBox2_2, SpinBox2_3, SMESH::UniqueMeshName(), SMESH::Update(), SMESH::PointStruct::x, SMESH::PointStruct::y, and SMESH::PointStruct::z.
Referenced by ClickOnOk(), and SMESHGUI_TranslationDlg().
◆ ClickOnHelp
void SMESHGUI_TranslationDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
void SMESHGUI_TranslationDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ connectPreviewControl()
void SMESHGUI_MultiPreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
◆ ConstructorsClicked
void SMESHGUI_TranslationDlg::ConstructorsClicked |
( |
int |
constructorId | ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), LineEditElements, myEditCurrentArgument, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onDisplaySimulation(), onSelectMesh(), SelectButton1, SelectButton2, SelectionIntoArgument(), SMESH::SetPointRepresentation(), SpinBox2_1, SpinBox2_2, SpinBox2_3, TextLabel1, TextLabel1_1, TextLabel1_2, TextLabel1_3, TextLabel2, TextLabel2_1, TextLabel2_2, and TextLabel2_3.
Referenced by ClickOnApply(), and SMESHGUI_TranslationDlg().
◆ DeactivateActiveDialog
void SMESHGUI_TranslationDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
void SMESHGUI_TranslationDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ GetConstructorId()
int SMESHGUI_TranslationDlg::GetConstructorId |
( |
| ) |
|
|
private |
◆ hidePreview()
void SMESHGUI_MultiPreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
References SMESHGUI_MultiPreviewDlg::mySimulationList.
Referenced by SMESHGUI_OffsetDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), SMESHGUI_SymmetryDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_OffsetDlg::onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), onSelectMesh(), and SMESHGUI_MultiPreviewDlg::setSimulationPreview().
◆ Init()
void SMESHGUI_TranslationDlg::Init |
( |
bool |
ResetControls = true | ) |
|
|
private |
References ActionGroup, buttonApply, buttonOk, CheckBoxMesh, SMESH::GetViewWindow(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), LineEditElements, MOVE_ELEMS_BUTTON, myActor, myBusy, myEditCurrentArgument, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onDisplaySimulation(), onSelectMesh(), SMESHGUI_SpinBox::SetValue(), SpinBox1_1, SpinBox1_2, SpinBox1_3, SpinBox2_1, SpinBox2_2, and SpinBox2_3.
Referenced by ClickOnApply(), and SMESHGUI_TranslationDlg().
◆ isApplyAndClose()
bool SMESHGUI_MultiPreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
◆ isValid()
bool SMESHGUI_TranslationDlg::isValid |
( |
| ) |
|
|
private |
◆ keyPressEvent()
void SMESHGUI_TranslationDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onActionClicked
void SMESHGUI_TranslationDlg::onActionClicked |
( |
int |
button | ) |
|
|
privateslot |
◆ onCloseView
void SMESHGUI_TranslationDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDisplaySimulation
void SMESHGUI_TranslationDlg::onDisplaySimulation |
( |
bool |
toDisplayPreview | ) |
|
|
protectedvirtualslot |
References ActionGroup, CheckBoxMesh, COPY_ELEMS_BUTTON, GetConstructorId(), SMESHGUI_SpinBox::GetValue(), SMESHGUI_MultiPreviewDlg::hidePreview(), isValid(), MAKE_MESH_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, SMESHGUI_MultiPreviewDlg::myPreviewCheckBox, SMESH::DirStruct::PS, SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SpinBox1_1, SpinBox1_2, SpinBox1_3, SpinBox2_1, SpinBox2_2, SpinBox2_3, SMESH::PointStruct::x, SMESH::PointStruct::y, and SMESH::PointStruct::z.
Referenced by ConstructorsClicked(), Init(), and SelectionIntoArgument().
◆ onFilterAccepted
void SMESHGUI_TranslationDlg::onFilterAccepted |
( |
| ) |
|
|
protectedslot |
◆ onOpenView
void SMESHGUI_TranslationDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onSelectMesh
void SMESHGUI_TranslationDlg::onSelectMesh |
( |
bool |
toSelectMesh | ) |
|
|
privateslot |
References SMESH::GetViewWindow(), SMESHGUI_MultiPreviewDlg::hidePreview(), LineEditElements, myEditCurrentArgument, myFilterBtn, myIdValidator, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SelectionIntoArgument(), SMESH::SetPointRepresentation(), and TextLabelElements.
Referenced by ConstructorsClicked(), Init(), and SMESHGUI_TranslationDlg().
◆ onTextChange
void SMESHGUI_TranslationDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References buttonApply, buttonOk, SMDS_Mesh::FindElement(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), Handle(), LineEditElements, myActor, myBusy, myElementsId, myNbOkElements, mySelector, and SMESHGUI_MultiPreviewDlg::mySMESHGUI.
Referenced by SMESHGUI_TranslationDlg().
◆ reject
void SMESHGUI_TranslationDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ SelectionIntoArgument
void SMESHGUI_TranslationDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References SMESH::_PTR(), ActionGroup, buttonApply, buttonOk, CheckBoxMesh, SMESH::FindActorByEntry(), SMESH::FindActorByObject(), SMDS_Mesh::FindNode(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedIObjects(), SMESH::GetNameOfSelectedNodes(), SMESH_Actor::GetObject(), GroupButtons, Handle(), LineEditElements, MakeGroupsCheck, MOVE_ELEMS_BUTTON, myActor, myBusy, myEditCurrentArgument, myElementsId, myFilterDlg, myMeshes, myNbOkElements, myObjects, myObjectsNames, mySelectionMgr, mySelector, onDisplaySimulation(), setNewMeshName(), SMESHGUI_SpinBox::SetValue(), SpinBox1_1, SpinBox1_2, SpinBox1_3, SpinBox2_1, SpinBox2_2, SpinBox2_3, SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
Referenced by ActivateThisDialog(), ConstructorsClicked(), onSelectMesh(), SetEditCurrentArgument(), and SMESHGUI_TranslationDlg().
◆ SetEditCurrentArgument
void SMESHGUI_TranslationDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
References CheckBoxMesh, SMESH::GetViewWindow(), LineEditElements, myEditCurrentArgument, myMeshOrSubMeshOrGroupFilter, mySelectionMgr, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SelectButton1, SelectButton2, SelectElementsButton, SelectionIntoArgument(), SMESH::SetPointRepresentation(), SpinBox1_1, and SpinBox2_1.
Referenced by SMESHGUI_TranslationDlg().
◆ setFilters
void SMESHGUI_TranslationDlg::setFilters |
( |
| ) |
|
|
privateslot |
References SMESH::ALL, SMESH::BALL, SMESH::EDGE, SMESH::ELEM0D, SMESH::FACE, SMESHGUI_FilterDlg::Init(), LineEditElements, myFilterDlg, myMeshes, SMESHGUI_MultiPreviewDlg::mySMESHGUI, onFilterAccepted(), SMESHGUI_FilterDlg::SetMesh(), SMESHGUI_FilterDlg::SetSelection(), SMESHGUI_FilterDlg::SetSourceWg(), and SMESH::VOLUME.
Referenced by SMESHGUI_TranslationDlg().
◆ setIsApplyAndClose()
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
◆ setNewMeshName()
void SMESHGUI_TranslationDlg::setNewMeshName |
( |
| ) |
|
|
private |
◆ setSimulationPreview()
void SMESHGUI_MultiPreviewDlg::setSimulationPreview |
( |
QList< SMESH::MeshPreviewStruct_var > & |
theMeshPreviewStruct | ) |
|
|
inherited |
◆ showPreview()
void SMESHGUI_MultiPreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
◆ toDisplaySimulation
void SMESHGUI_MultiPreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
◆ ActionBox
QGroupBox* SMESHGUI_TranslationDlg::ActionBox |
|
private |
◆ ActionGroup
QButtonGroup* SMESHGUI_TranslationDlg::ActionGroup |
|
private |
◆ buttonApply
QPushButton* SMESHGUI_TranslationDlg::buttonApply |
|
private |
◆ buttonCancel
QPushButton* SMESHGUI_TranslationDlg::buttonCancel |
|
private |
◆ buttonHelp
QPushButton* SMESHGUI_TranslationDlg::buttonHelp |
|
private |
◆ buttonOk
QPushButton* SMESHGUI_TranslationDlg::buttonOk |
|
private |
◆ CheckBoxMesh
QCheckBox* SMESHGUI_TranslationDlg::CheckBoxMesh |
|
private |
◆ 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
QLineEdit* SMESHGUI_TranslationDlg::LineEditElements |
|
private |
◆ LineEditNewMesh
QLineEdit* SMESHGUI_TranslationDlg::LineEditNewMesh |
|
private |
◆ MakeGroupsCheck
QCheckBox* SMESHGUI_TranslationDlg::MakeGroupsCheck |
|
private |
◆ myActor
◆ 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
◆ myHelpFileName
QString SMESHGUI_TranslationDlg::myHelpFileName |
|
private |
◆ myIdValidator
◆ myIsApplyAndClose
bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose |
|
protectedinherited |
◆ myMeshes
QList<SMESH::SMESH_Mesh_var> SMESHGUI_TranslationDlg::myMeshes |
|
private |
◆ myMeshOrSubMeshOrGroupFilter
◆ myNbOkElements
int SMESHGUI_TranslationDlg::myNbOkElements |
|
private |
◆ myObjects
QList<SMESH::SMESH_IDSource_var> SMESHGUI_TranslationDlg::myObjects |
|
private |
◆ myObjectsNames
QList<QString> SMESHGUI_TranslationDlg::myObjectsNames |
|
private |
◆ myPreviewCheckBox
QCheckBox* SMESHGUI_MultiPreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_MultiPreviewDlg::connectPreviewControl(), SMESHGUI_OffsetDlg::Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_ScaleDlg::Init(), SMESHGUI_SymmetryDlg::Init(), Init(), SMESHGUI_OffsetDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_ScaleDlg::onDisplaySimulation(), SMESHGUI_SymmetryDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_OffsetDlg::SMESHGUI_OffsetDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg().
◆ 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 |
◆ RadioButton2
QRadioButton* SMESHGUI_TranslationDlg::RadioButton2 |
|
private |
◆ SelectButton1
QPushButton* SMESHGUI_TranslationDlg::SelectButton1 |
|
private |
◆ SelectButton2
QPushButton* SMESHGUI_TranslationDlg::SelectButton2 |
|
private |
◆ SelectElementsButton
QPushButton* SMESHGUI_TranslationDlg::SelectElementsButton |
|
private |
◆ SpinBox1_1
◆ SpinBox1_2
◆ SpinBox1_3
◆ 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 |