#include <SMESHGUI_TranslationDlg.h>
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 |
( |
| ) |
|
void SMESHGUI_TranslationDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
bool SMESHGUI_TranslationDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References _PTR(), ActionGroup, CheckBoxMesh, ConstructorsClicked(), COPY_ELEMS_BUTTON, SMESH::FindActorByObject(), GetConstructorId(), SMESHGUI_SpinBox::GetValue(), Init(), SMESHGUI::isActiveStudyLocked(), SMESHGUI_MultiPreviewDlg::isApplyAndClose(), isValid(), LineEditNewMesh, MAKE_MESH_BUTTON, MakeGroupsCheck, SMESHGUI::Modified(), MOVE_ELEMS_BUTTON, myElementsId, myMeshes, myNbOkElements, myObjects, myObjectsNames, SMESHGUI_MultiPreviewDlg::mySMESHGUI, SMESH::DirStruct::PS, SObject(), 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().
void SMESHGUI_TranslationDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_TranslationDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_MultiPreviewDlg::connectPreviewControl |
( |
| ) |
|
|
protectedinherited |
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().
void SMESHGUI_TranslationDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_TranslationDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
int SMESHGUI_TranslationDlg::GetConstructorId |
( |
| ) |
|
|
private |
void SMESHGUI_MultiPreviewDlg::hidePreview |
( |
| ) |
|
|
inherited |
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().
bool SMESHGUI_MultiPreviewDlg::isApplyAndClose |
( |
| ) |
const |
|
protectedvirtualinherited |
bool SMESHGUI_TranslationDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_TranslationDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_TranslationDlg::onActionClicked |
( |
int |
button | ) |
|
|
privateslot |
void SMESHGUI_TranslationDlg::onCloseView |
( |
| ) |
|
|
privateslot |
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().
void SMESHGUI_TranslationDlg::onFilterAccepted |
( |
| ) |
|
|
protectedslot |
void SMESHGUI_TranslationDlg::onOpenView |
( |
| ) |
|
|
privateslot |
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().
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().
void SMESHGUI_TranslationDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_TranslationDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References _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(), SObject(), 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().
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().
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().
void SMESHGUI_MultiPreviewDlg::setIsApplyAndClose |
( |
const bool |
theFlag | ) |
|
|
protectedvirtualinherited |
void SMESHGUI_TranslationDlg::setNewMeshName |
( |
| ) |
|
|
private |
void SMESHGUI_MultiPreviewDlg::setSimulationPreview |
( |
QList< SMESH::MeshPreviewStruct_var > & |
theMeshPreviewStruct | ) |
|
|
inherited |
void SMESHGUI_MultiPreviewDlg::showPreview |
( |
| ) |
|
|
inherited |
void SMESHGUI_MultiPreviewDlg::toDisplaySimulation |
( |
| ) |
|
|
protectedslotinherited |
QGroupBox* SMESHGUI_TranslationDlg::ActionBox |
|
private |
QButtonGroup* SMESHGUI_TranslationDlg::ActionGroup |
|
private |
QPushButton* SMESHGUI_TranslationDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_TranslationDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_TranslationDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_TranslationDlg::buttonOk |
|
private |
QCheckBox* SMESHGUI_TranslationDlg::CheckBoxMesh |
|
private |
QGroupBox* SMESHGUI_TranslationDlg::ConstructorsBox |
|
private |
QGroupBox* SMESHGUI_TranslationDlg::GroupArguments |
|
private |
QGroupBox* SMESHGUI_TranslationDlg::GroupButtons |
|
private |
QButtonGroup* SMESHGUI_TranslationDlg::GroupConstructors |
|
private |
QLineEdit* SMESHGUI_TranslationDlg::LineEditElements |
|
private |
QLineEdit* SMESHGUI_TranslationDlg::LineEditNewMesh |
|
private |
QCheckBox* SMESHGUI_TranslationDlg::MakeGroupsCheck |
|
private |
bool SMESHGUI_TranslationDlg::myBusy |
|
private |
QWidget* SMESHGUI_TranslationDlg::myEditCurrentArgument |
|
private |
QString SMESHGUI_TranslationDlg::myElementsId |
|
private |
QPushButton* SMESHGUI_TranslationDlg::myFilterBtn |
|
private |
QString SMESHGUI_TranslationDlg::myHelpFileName |
|
private |
bool SMESHGUI_MultiPreviewDlg::myIsApplyAndClose |
|
protectedinherited |
QList<SMESH::SMESH_Mesh_var> SMESHGUI_TranslationDlg::myMeshes |
|
private |
int SMESHGUI_TranslationDlg::myNbOkElements |
|
private |
QList<SMESH::SMESH_IDSource_var> SMESHGUI_TranslationDlg::myObjects |
|
private |
QList<QString> SMESHGUI_TranslationDlg::myObjectsNames |
|
private |
QCheckBox* SMESHGUI_MultiPreviewDlg::myPreviewCheckBox |
|
protectedinherited |
Referenced by SMESHGUI_MultiPreviewDlg::connectPreviewControl(), SMESHGUI_ScaleDlg::Init(), Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_ScaleDlg::onDisplaySimulation(), onDisplaySimulation(), SMESHGUI_RotationDlg::onDisplaySimulation(), SMESHGUI_SymmetryDlg::onDisplaySimulation(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg().
LightApp_SelectionMgr* SMESHGUI_TranslationDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_TranslationDlg::mySelector |
|
private |
SMESHGUI* SMESHGUI_MultiPreviewDlg::mySMESHGUI |
|
protectedinherited |
Referenced by SMESHGUI_ScaleDlg::ActivateThisDialog(), ActivateThisDialog(), SMESHGUI_RotationDlg::ActivateThisDialog(), SMESHGUI_SymmetryDlg::ActivateThisDialog(), SMESHGUI_ScaleDlg::ClickOnApply(), ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnHelp(), ClickOnHelp(), SMESHGUI_RotationDlg::ClickOnHelp(), SMESHGUI_SymmetryDlg::ClickOnHelp(), SMESHGUI_ScaleDlg::ConstructorsClicked(), ConstructorsClicked(), SMESHGUI_SymmetryDlg::ConstructorsClicked(), SMESHGUI_ScaleDlg::DeactivateActiveDialog(), DeactivateActiveDialog(), SMESHGUI_RotationDlg::DeactivateActiveDialog(), SMESHGUI_SymmetryDlg::DeactivateActiveDialog(), SMESHGUI_ScaleDlg::enterEvent(), enterEvent(), SMESHGUI_SymmetryDlg::enterEvent(), SMESHGUI_RotationDlg::enterEvent(), Init(), SMESHGUI_RotationDlg::Init(), SMESHGUI_SymmetryDlg::Init(), SMESHGUI_ScaleDlg::onOpenView(), onOpenView(), SMESHGUI_RotationDlg::onOpenView(), SMESHGUI_SymmetryDlg::onOpenView(), SMESHGUI_ScaleDlg::onSelectMesh(), onSelectMesh(), SMESHGUI_RotationDlg::onSelectMesh(), SMESHGUI_SymmetryDlg::onSelectMesh(), SMESHGUI_ScaleDlg::onTextChange(), onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_ScaleDlg::reject(), reject(), SMESHGUI_RotationDlg::reject(), SMESHGUI_SymmetryDlg::reject(), SMESHGUI_ScaleDlg::SetEditCurrentArgument(), SetEditCurrentArgument(), SMESHGUI_RotationDlg::SetEditCurrentArgument(), SMESHGUI_SymmetryDlg::SetEditCurrentArgument(), SMESHGUI_ScaleDlg::setFilters(), setFilters(), SMESHGUI_RotationDlg::setFilters(), SMESHGUI_SymmetryDlg::setFilters(), SMESHGUI_MultiPreviewDlg::setSimulationPreview(), SMESHGUI_MultiPreviewDlg::SMESHGUI_MultiPreviewDlg(), SMESHGUI_RotationDlg::SMESHGUI_RotationDlg(), SMESHGUI_ScaleDlg::SMESHGUI_ScaleDlg(), SMESHGUI_SymmetryDlg::SMESHGUI_SymmetryDlg(), and SMESHGUI_TranslationDlg().
QRadioButton* SMESHGUI_TranslationDlg::RadioButton1 |
|
private |
QRadioButton* SMESHGUI_TranslationDlg::RadioButton2 |
|
private |
QPushButton* SMESHGUI_TranslationDlg::SelectButton1 |
|
private |
QPushButton* SMESHGUI_TranslationDlg::SelectButton2 |
|
private |
QPushButton* SMESHGUI_TranslationDlg::SelectElementsButton |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel1 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel1_1 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel1_2 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel1_3 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel2 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel2_1 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel2_2 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabel2_3 |
|
private |
QLabel* SMESHGUI_TranslationDlg::TextLabelElements |
|
private |