#include <SMESHGUI_SewingDlg.h>
◆ SMESHGUI_SewingDlg()
| SMESHGUI_SewingDlg::SMESHGUI_SewingDlg |
( |
SMESHGUI * |
theModule | ) |
|
References AutoSewCheck, BorderEndLine, buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBoxMerge, CheckBoxPolyedrs, CheckBoxPolygons, ClickOnApply(), ClickOnHelp(), ClickOnOk(), ConstructorsBox, ConstructorsClicked(), COORD_MAX, DeactivateActiveDialog(), DetectButton, SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), GroupArguments, GroupButtons, GroupCoincidentWidget, GroupConstructors, SMESHGUI_MergeDlg::IconFirst(), Init(), LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, LineEditMesh, ListCoincident, ListEdit, MARGIN, ModeButGrp, ModeGroup, MoveBorderEndsButGrp, myActor, myHelpFileName, mySelectionMgr, mySelector, mySMESHGUI, myStoredEntityMode, onAutoSew(), onCloseView(), onDetectClicked(), onModeChange(), onMoveBorderEnd(), onOpenView(), onRemoveElemClicked(), onRemoveGroupClicked(), onSelectAll(), onSelectBorderPartFromGroup(), onSelectGroup(), onSetFirstClicked(), onSwapClicked(), onTextChange(), RadioButton1, RadioButton2, RadioButton3, RadioButton4, SMESHGUI_SpinBox::RangeStepAndValidator(), reject(), RemoveElemButton, RemoveGroupButton, SelectAllCheck, SelectButton1, SelectButton2, SelectButton3, SelectButton4, SelectButton5, SelectButton6, SelectionIntoArgument(), SMESHGUI::SetActiveDialogBox(), setDisplayMode(), SetEditCurrentArgument(), SetFirstButton, SMESHGUI_SpinBox::SetValue(), SewFreeBordersWidget, SPACING, SpinBoxTolerance, StepSpin, SubGroup1, SubGroup2, SwapBut, TextLabel1, TextLabel2, TextLabel3, TextLabel4, TextLabel5, and TextLabel6.
◆ ~SMESHGUI_SewingDlg()
| SMESHGUI_SewingDlg::~SMESHGUI_SewingDlg |
( |
| ) |
|
◆ ActivateThisDialog
| void SMESHGUI_SewingDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ ClickOnApply
| bool SMESHGUI_SewingDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References AutoSewCheck, CheckBoxMerge, CheckBoxPolyedrs, CheckBoxPolygons, ConstructorsClicked(), GetConstructorId(), SMESHGUI_SpinBox::GetValue(), Handle(), Init(), SMESHGUI::isStudyLocked(), IsValid(), LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, ListCoincident, ModeButGrp, SMESHGUI::Modified(), myActor, myBorders, myMesh, mySelectionMgr, SMESH::SMESH_MeshEditor::SEW_OK, SpinBoxTolerance, and SMESH::UpdateView().
Referenced by ClickOnOk(), and SMESHGUI_SewingDlg().
◆ ClickOnHelp
| void SMESHGUI_SewingDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
| void SMESHGUI_SewingDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ ConstructorsClicked
| void SMESHGUI_SewingDlg::ConstructorsClicked |
( |
int |
constructorId | ) |
|
|
privateslot |
References CheckBoxMerge, CheckBoxPolyedrs, CheckBoxPolygons, SMESH::GetViewWindow(), GroupArguments, LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, ModeButGrp, ModeGroup, myActor, myEditCurrentArgument, myOk1, myOk2, myOk3, myOk4, myOk5, myOk6, mySelectionMgr, mySMESHGUI, onModeChange(), restoreDisplayMode(), SelectButton5, SelectButton6, SelectionIntoArgument(), SMESH_Actor::SetPointRepresentation(), SewFreeBordersWidget, SubGroup1, SubGroup2, TextLabel1, TextLabel2, TextLabel3, TextLabel4, TextLabel5, TextLabel6, and UpdateButtons().
Referenced by ActivateThisDialog(), ClickOnApply(), and SMESHGUI_SewingDlg().
◆ DeactivateActiveDialog
| void SMESHGUI_SewingDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
| void SMESHGUI_SewingDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ GetConstructorId()
| int SMESHGUI_SewingDlg::GetConstructorId |
( |
| ) |
|
|
private |
◆ getGroupText()
| QString SMESHGUI_SewingDlg::getGroupText |
( |
int |
groupIndex | ) |
|
|
private |
◆ getPartText()
◆ haveBorders()
| bool SMESHGUI_SewingDlg::haveBorders |
( |
| ) |
|
|
private |
◆ Init()
| void SMESHGUI_SewingDlg::Init |
( |
| ) |
|
|
private |
◆ IsValid()
| bool SMESHGUI_SewingDlg::IsValid |
( |
| ) |
|
|
private |
References AutoSewCheck, GetConstructorId(), getGroupText(), haveBorders(), ListCoincident, ModeButGrp, myMesh, myOk1, myOk2, myOk3, myOk4, myOk5, and myOk6.
Referenced by ClickOnApply(), and UpdateButtons().
◆ keyPressEvent()
| void SMESHGUI_SewingDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onAutoSew
| void SMESHGUI_SewingDlg::onAutoSew |
( |
int |
isAuto | ) |
|
|
privateslot |
◆ onCloseView
| void SMESHGUI_SewingDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onDetectClicked
| void SMESHGUI_SewingDlg::onDetectClicked |
( |
| ) |
|
|
privateslot |
References getGroupText(), SMESHGUI_SpinBox::GetValue(), haveBorders(), ListCoincident, myBorderDisplayers, myBorders, myBusy, myMesh, onSelectGroup(), SpinBoxTolerance, and UpdateButtons().
Referenced by SMESHGUI_SewingDlg().
◆ onGroupChange()
| void SMESHGUI_SewingDlg::onGroupChange |
( |
bool |
partChange = false | ) |
|
|
private |
References getGroupText(), getPartText(), ListCoincident, ListEdit, myBorderDisplayers, myBorders, myCurGroupIndex, and onSelectBorderPartFromGroup().
Referenced by onMoveBorderEnd(), onRemoveElemClicked(), onSetFirstClicked(), and onSwapClicked().
◆ onModeChange
| void SMESHGUI_SewingDlg::onModeChange |
( |
int |
mode | ) |
|
|
privateslot |
References AutoSewCheck, SMESH::GetCurrentVtkView(), LineEdit1, LineEditMesh, myActor, myEditCurrentArgument, onAutoSew(), SMESH_Actor::SetPointRepresentation(), SewFreeBordersWidget, SubGroup1, and SubGroup2.
Referenced by ConstructorsClicked(), and SMESHGUI_SewingDlg().
◆ onMoveBorderEnd
| void SMESHGUI_SewingDlg::onMoveBorderEnd |
( |
int |
button | ) |
|
|
privateslot |
References SMESH::FreeBorderPart::border, myBorders, myCurGroupIndex, myCurPartIndex, SMESH::FreeBorderPart::node1, SMESH::FreeBorderPart::node2, SMESH::FreeBorder::nodeIDs, SMESH::FreeBorderPart::nodeLast, onGroupChange(), setCurrentPart(), and StepSpin.
Referenced by SMESHGUI_SewingDlg().
◆ onOpenView
| void SMESHGUI_SewingDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onRemoveElemClicked
| void SMESHGUI_SewingDlg::onRemoveElemClicked |
( |
| ) |
|
|
privateslot |
◆ onRemoveGroupClicked
| void SMESHGUI_SewingDlg::onRemoveGroupClicked |
( |
| ) |
|
|
privateslot |
◆ onSelectAll
| void SMESHGUI_SewingDlg::onSelectAll |
( |
int |
isOn | ) |
|
|
privateslot |
◆ onSelectBorderPartFromGroup
| void SMESHGUI_SewingDlg::onSelectBorderPartFromGroup |
( |
| ) |
|
|
privateslot |
References SMESH::FreeBorderPart::border, BorderEndLine, ListEdit, MoveBorderEndsButGrp, myBorderDisplayers, myBorders, myBusy, myCurGroupIndex, myCurPartIndex, SMESH::FreeBorderPart::node1, SMESH::FreeBorderPart::node2, SMESH::FreeBorder::nodeIDs, SMESH::FreeBorderPart::nodeLast, RemoveElemButton, SMESH::RepaintCurrentView(), setCurrentGroup(), setCurrentPart(), SetFirstButton, StepSpin, and SwapBut.
Referenced by onGroupChange(), onSelectGroup(), and SMESHGUI_SewingDlg().
◆ onSelectGroup
| void SMESHGUI_SewingDlg::onSelectGroup |
( |
| ) |
|
|
privateslot |
References BorderEndLine, getPartText(), haveBorders(), ListCoincident, ListEdit, myBorderDisplayers, myBorders, myBusy, myCurGroupIndex, onSelectBorderPartFromGroup(), RemoveGroupButton, SMESH::RepaintCurrentView(), SelectAllCheck, setCurrentGroup(), and showGroup().
Referenced by onDetectClicked(), onRemoveGroupClicked(), SelectionIntoArgument(), and SMESHGUI_SewingDlg().
◆ onSetFirstClicked
| void SMESHGUI_SewingDlg::onSetFirstClicked |
( |
| ) |
|
|
privateslot |
◆ onSwapClicked
| void SMESHGUI_SewingDlg::onSwapClicked |
( |
| ) |
|
|
privateslot |
◆ onTextChange
| void SMESHGUI_SewingDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), GetConstructorId(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, myActor, myBusy, myEditCurrentArgument, myOk1, myOk2, myOk3, myOk4, myOk5, myOk6, mySelector, mySMESHGUI, SMESH::SetPointRepresentation(), and UpdateButtons().
Referenced by SMESHGUI_SewingDlg().
◆ reject
| void SMESHGUI_SewingDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ restoreDisplayMode()
| void SMESHGUI_SewingDlg::restoreDisplayMode |
( |
| ) |
|
|
private |
References SMESH_Actor::eEdge, SMESH_Actor::eVolumes, SMESH_Actor::GetEntityMode(), myActor, myBorderDisplayers, myStoredEntityMode, myStoredRepresentation, and SMESH_Actor::SetEntityMode().
Referenced by ConstructorsClicked(), onAutoSew(), reject(), and SelectionIntoArgument().
◆ SelectionIntoArgument
| void SMESHGUI_SewingDlg::SelectionIntoArgument |
( |
bool |
isSelectionChanged = true | ) |
|
|
privateslot |
References SMESH::_PTR(), AutoSewCheck, buttonApply, buttonOk, CheckBoxPolyedrs, DetectButton, SMESH::FindActorByEntry(), GetConstructorId(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedNodes(), GroupButtons, Handle(), LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, LineEditMesh, ListCoincident, ListEdit, myActor, myBusy, myEditCurrentArgument, myMesh, myOk1, myOk2, myOk3, myOk4, myOk5, myOk6, mySelectionMgr, mySelector, onSelectGroup(), restoreDisplayMode(), setDisplayMode(), and UpdateButtons().
Referenced by ActivateThisDialog(), ConstructorsClicked(), Init(), SetEditCurrentArgument(), and SMESHGUI_SewingDlg().
◆ setCurrentGroup()
| bool SMESHGUI_SewingDlg::setCurrentGroup |
( |
| ) |
|
|
private |
◆ setCurrentPart()
| bool SMESHGUI_SewingDlg::setCurrentPart |
( |
| ) |
|
|
private |
◆ setDisplayMode()
| void SMESHGUI_SewingDlg::setDisplayMode |
( |
| ) |
|
|
private |
◆ SetEditCurrentArgument
| void SMESHGUI_SewingDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
References GetConstructorId(), SMESH::GetViewWindow(), LineEdit1, LineEdit2, LineEdit3, LineEdit4, LineEdit5, LineEdit6, myEditCurrentArgument, myOk1, myOk2, myOk3, myOk4, myOk5, myOk6, mySelectionMgr, mySMESHGUI, SelectButton1, SelectButton2, SelectButton3, SelectButton4, SelectButton5, SelectButton6, SelectionIntoArgument(), and SMESH::SetPointRepresentation().
Referenced by SMESHGUI_SewingDlg().
◆ showGroup()
| void SMESHGUI_SewingDlg::showGroup |
( |
QListWidgetItem * |
item | ) |
|
|
private |
◆ UpdateButtons()
| void SMESHGUI_SewingDlg::UpdateButtons |
( |
| ) |
|
|
private |
◆ AutoSewCheck
| QCheckBox* SMESHGUI_SewingDlg::AutoSewCheck |
|
private |
◆ BorderEndLine
| QLineEdit* SMESHGUI_SewingDlg::BorderEndLine[2] |
|
private |
◆ buttonApply
| QPushButton* SMESHGUI_SewingDlg::buttonApply |
|
private |
◆ buttonCancel
| QPushButton* SMESHGUI_SewingDlg::buttonCancel |
|
private |
◆ buttonHelp
| QPushButton* SMESHGUI_SewingDlg::buttonHelp |
|
private |
◆ buttonOk
| QPushButton* SMESHGUI_SewingDlg::buttonOk |
|
private |
◆ CheckBoxMerge
| QCheckBox* SMESHGUI_SewingDlg::CheckBoxMerge |
|
private |
◆ CheckBoxPolyedrs
| QCheckBox* SMESHGUI_SewingDlg::CheckBoxPolyedrs |
|
private |
◆ CheckBoxPolygons
| QCheckBox* SMESHGUI_SewingDlg::CheckBoxPolygons |
|
private |
◆ ConstructorsBox
| QGroupBox* SMESHGUI_SewingDlg::ConstructorsBox |
|
private |
◆ DetectButton
| QPushButton* SMESHGUI_SewingDlg::DetectButton |
|
private |
◆ GroupArguments
| QGroupBox* SMESHGUI_SewingDlg::GroupArguments |
|
private |
◆ GroupButtons
◆ GroupCoincidentWidget
| QWidget* SMESHGUI_SewingDlg::GroupCoincidentWidget |
|
private |
◆ GroupConstructors
| QButtonGroup* SMESHGUI_SewingDlg::GroupConstructors |
|
private |
◆ LineEdit1
| QLineEdit* SMESHGUI_SewingDlg::LineEdit1 |
|
private |
◆ LineEdit2
| QLineEdit* SMESHGUI_SewingDlg::LineEdit2 |
|
private |
◆ LineEdit3
| QLineEdit* SMESHGUI_SewingDlg::LineEdit3 |
|
private |
◆ LineEdit4
| QLineEdit* SMESHGUI_SewingDlg::LineEdit4 |
|
private |
◆ LineEdit5
| QLineEdit* SMESHGUI_SewingDlg::LineEdit5 |
|
private |
◆ LineEdit6
| QLineEdit* SMESHGUI_SewingDlg::LineEdit6 |
|
private |
◆ LineEditMesh
| QLineEdit* SMESHGUI_SewingDlg::LineEditMesh |
|
private |
◆ ListCoincident
| QListWidget* SMESHGUI_SewingDlg::ListCoincident |
|
private |
Referenced by ClickOnApply(), IsValid(), onDetectClicked(), onGroupChange(), onRemoveGroupClicked(), onSelectAll(), onSelectGroup(), SelectionIntoArgument(), setCurrentGroup(), showGroup(), and SMESHGUI_SewingDlg().
◆ ListEdit
| QListWidget* SMESHGUI_SewingDlg::ListEdit |
|
private |
◆ ModeButGrp
| QButtonGroup* SMESHGUI_SewingDlg::ModeButGrp |
|
private |
◆ ModeGroup
◆ MoveBorderEndsButGrp
| QButtonGroup* SMESHGUI_SewingDlg::MoveBorderEndsButGrp |
|
private |
◆ myActor
◆ myBorderDisplayers
◆ myBorders
| SMESH::CoincidentFreeBorders_var SMESHGUI_SewingDlg::myBorders |
|
private |
Referenced by ClickOnApply(), getGroupText(), SMESHGUI_SewingDlg::BorderGroupDisplayer::getPartEnds(), getPartText(), haveBorders(), onDetectClicked(), onGroupChange(), onMoveBorderEnd(), onRemoveElemClicked(), onRemoveGroupClicked(), onSelectBorderPartFromGroup(), onSelectGroup(), onSetFirstClicked(), onSwapClicked(), setCurrentGroup(), setCurrentPart(), showGroup(), and SMESHGUI_SewingDlg::BorderGroupDisplayer::Update().
◆ myBusy
| bool SMESHGUI_SewingDlg::myBusy |
|
private |
◆ myCurGroupIndex
| int SMESHGUI_SewingDlg::myCurGroupIndex |
|
private |
◆ myCurPartIndex
| int SMESHGUI_SewingDlg::myCurPartIndex |
|
private |
◆ myEditCurrentArgument
| QLineEdit* SMESHGUI_SewingDlg::myEditCurrentArgument |
|
private |
◆ myHelpFileName
| QString SMESHGUI_SewingDlg::myHelpFileName |
|
private |
◆ myMesh
| SMESH::SMESH_Mesh_var SMESHGUI_SewingDlg::myMesh |
|
private |
◆ myOk1
| int SMESHGUI_SewingDlg::myOk1 |
|
private |
◆ myOk2
| int SMESHGUI_SewingDlg::myOk2 |
|
private |
◆ myOk3
| int SMESHGUI_SewingDlg::myOk3 |
|
private |
◆ myOk4
| int SMESHGUI_SewingDlg::myOk4 |
|
private |
◆ myOk5
| int SMESHGUI_SewingDlg::myOk5 |
|
private |
◆ myOk6
| int SMESHGUI_SewingDlg::myOk6 |
|
private |
◆ mySelectionMgr
| LightApp_SelectionMgr* SMESHGUI_SewingDlg::mySelectionMgr |
|
private |
◆ mySelector
| SVTK_Selector* SMESHGUI_SewingDlg::mySelector |
|
private |
◆ mySMESHGUI
| SMESHGUI* SMESHGUI_SewingDlg::mySMESHGUI |
|
private |
◆ myStoredEntityMode
| unsigned int SMESHGUI_SewingDlg::myStoredEntityMode |
|
private |
◆ myStoredRepresentation
| int SMESHGUI_SewingDlg::myStoredRepresentation |
|
private |
◆ RadioButton1
| QRadioButton* SMESHGUI_SewingDlg::RadioButton1 |
|
private |
◆ RadioButton2
| QRadioButton* SMESHGUI_SewingDlg::RadioButton2 |
|
private |
◆ RadioButton3
| QRadioButton* SMESHGUI_SewingDlg::RadioButton3 |
|
private |
◆ RadioButton4
| QRadioButton* SMESHGUI_SewingDlg::RadioButton4 |
|
private |
◆ RemoveElemButton
| QPushButton* SMESHGUI_SewingDlg::RemoveElemButton |
|
private |
◆ RemoveGroupButton
| QPushButton* SMESHGUI_SewingDlg::RemoveGroupButton |
|
private |
◆ SelectAllCheck
| QCheckBox* SMESHGUI_SewingDlg::SelectAllCheck |
|
private |
◆ SelectButton1
| QPushButton* SMESHGUI_SewingDlg::SelectButton1 |
|
private |
◆ SelectButton2
| QPushButton* SMESHGUI_SewingDlg::SelectButton2 |
|
private |
◆ SelectButton3
| QPushButton* SMESHGUI_SewingDlg::SelectButton3 |
|
private |
◆ SelectButton4
| QPushButton* SMESHGUI_SewingDlg::SelectButton4 |
|
private |
◆ SelectButton5
| QPushButton* SMESHGUI_SewingDlg::SelectButton5 |
|
private |
◆ SelectButton6
| QPushButton* SMESHGUI_SewingDlg::SelectButton6 |
|
private |
◆ SetFirstButton
| QPushButton* SMESHGUI_SewingDlg::SetFirstButton |
|
private |
◆ SewFreeBordersWidget
| QWidget* SMESHGUI_SewingDlg::SewFreeBordersWidget |
|
private |
◆ SpinBoxTolerance
◆ StepSpin
| SalomeApp_IntSpinBox* SMESHGUI_SewingDlg::StepSpin |
|
private |
◆ SubGroup1
◆ SubGroup2
◆ SwapBut
| QPushButton* SMESHGUI_SewingDlg::SwapBut |
|
private |
◆ TextLabel1
| QLabel* SMESHGUI_SewingDlg::TextLabel1 |
|
private |
◆ TextLabel2
| QLabel* SMESHGUI_SewingDlg::TextLabel2 |
|
private |
◆ TextLabel3
| QLabel* SMESHGUI_SewingDlg::TextLabel3 |
|
private |
◆ TextLabel4
| QLabel* SMESHGUI_SewingDlg::TextLabel4 |
|
private |
◆ TextLabel5
| QLabel* SMESHGUI_SewingDlg::TextLabel5 |
|
private |
◆ TextLabel6
| QLabel* SMESHGUI_SewingDlg::TextLabel6 |
|
private |