#include <SMESHGUI_CreatePolyhedralVolumeDlg.h>
|
typedef QList< SMESH::SMESH_GroupBase_var > | GrpList |
|
◆ GrpList
◆ SMESHGUI_CreatePolyhedralVolumeDlg()
SMESHGUI_CreatePolyhedralVolumeDlg::SMESHGUI_CreatePolyhedralVolumeDlg |
( |
SMESHGUI * |
theModule | ) |
|
References AddButton, buttonApply, buttonCancel, buttonHelp, buttonOk, ComboBox_GroupName, ConstructorsBox, SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), GroupButtons, GroupConstructors, GroupContent, GroupGroups, Init(), LineEditElements, MARGIN, myFacesByNodes, myFacesByNodesLabel, myHelpFileName, mySelector, mySMESHGUI, Preview, RadioButton1, RadioButton2, RemoveButton, SelectElementsButton, SMESHGUI::SetActiveDialogBox(), SPACING, TextLabel_GroupName, and TextLabelIds.
◆ ~SMESHGUI_CreatePolyhedralVolumeDlg()
SMESHGUI_CreatePolyhedralVolumeDlg::~SMESHGUI_CreatePolyhedralVolumeDlg |
( |
| ) |
|
◆ ActivateThisDialog
void SMESHGUI_CreatePolyhedralVolumeDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
◆ checkEditLine()
int SMESHGUI_CreatePolyhedralVolumeDlg::checkEditLine |
( |
bool |
checkLast = true | ) |
|
|
private |
References SMESH::FindActorByObject(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), GetConstructorId(), SMDS_Mesh::GetElementType(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), myActor, myEditCurrentArgument, myMesh, and SMDSAbs_Face.
Referenced by ClickOnApply(), ClickOnOk(), onAdd(), onTextChange(), and SelectionIntoArgument().
◆ ClickOnApply
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::AddGroup(), busy, checkEditLine(), ComboBox_GroupName, SMESH_Actor::eVolumes, GetConstructorId(), SMESH_Actor::GetEntityMode(), SMESHGUI::GetSMESHGUI(), GroupGroups, SMESHGUI::isStudyLocked(), isValid(), SMESHGUI::Modified(), myActor, myEditCurrentArgument, myFacesByNodes, myGroups, myMesh, myNbOkElements, SMESH_Actor::SetEntityMode(), SMESH::UpdateView(), and SMESH::VOLUME.
Referenced by ClickOnOk(), and Init().
◆ ClickOnHelp
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
◆ ClickOnOk
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
◆ ClickOnPreview
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnPreview |
( |
bool |
theToggled | ) |
|
|
privateslot |
◆ ConstructorsClicked
void SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsClicked |
( |
int |
constructorId | ) |
|
|
privateslot |
References AddButton, buttonApply, buttonOk, SMESH::GetViewWindow(), myActor, myEditCurrentArgument, myFacesByNodes, myFacesByNodesLabel, myNbOkElements, mySelectionMgr, mySimulation, mySMESHGUI, Preview, RemoveButton, SMESH_Actor::SetPointRepresentation(), SMESH::SetPointRepresentation(), SMESH::TPolySimulation::SetVisibility(), and TextLabelIds.
Referenced by Init().
◆ DeactivateActiveDialog
void SMESHGUI_CreatePolyhedralVolumeDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
◆ displaySimulation()
void SMESHGUI_CreatePolyhedralVolumeDlg::displaySimulation |
( |
| ) |
|
|
private |
References AddButton, SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), GetConstructorId(), SMDS_Mesh::GetElementType(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), GroupButtons, myActor, myEditCurrentArgument, myFacesByNodes, myNbOkElements, mySimulation, SMDS_MeshElement::nodesIterator(), Preview, SMESH::TPolySimulation::ResetGrid(), SMESH::TPolySimulation::SetPosition(), SMESH::TPolySimulation::SetVisibility(), SMDSAbs_Face, and SMESH::UpdateView().
Referenced by ClickOnPreview(), onAdd(), onRemove(), onTextChange(), and SelectionIntoArgument().
◆ enterEvent()
void SMESHGUI_CreatePolyhedralVolumeDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
◆ GetConstructorId()
int SMESHGUI_CreatePolyhedralVolumeDlg::GetConstructorId |
( |
| ) |
|
|
private |
◆ Init()
void SMESHGUI_CreatePolyhedralVolumeDlg::Init |
( |
| ) |
|
|
private |
References AddButton, buttonApply, buttonCancel, buttonHelp, buttonOk, ClickOnApply(), ClickOnHelp(), ClickOnOk(), ClickOnPreview(), ConstructorsClicked(), DeactivateActiveDialog(), GroupConstructors, GroupGroups, LineEditElements, myActor, myEditCurrentArgument, myFacesByNodes, myNbOkElements, mySelectionMgr, mySimulation, mySMESHGUI, onAdd(), onCloseView(), onListSelectionChanged(), onOpenView(), onRemove(), onTextChange(), Preview, reject(), RemoveButton, SelectElementsButton, SelectionIntoArgument(), SMESHGUI::SetActiveDialogBox(), and SetEditCurrentArgument().
Referenced by SMESHGUI_CreatePolyhedralVolumeDlg().
◆ isValid()
bool SMESHGUI_CreatePolyhedralVolumeDlg::isValid |
( |
| ) |
|
|
private |
◆ keyPressEvent()
void SMESHGUI_CreatePolyhedralVolumeDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
◆ onAdd
void SMESHGUI_CreatePolyhedralVolumeDlg::onAdd |
( |
| ) |
|
|
slot |
References AddButton, busy, buttonApply, buttonOk, checkEditLine(), displaySimulation(), myActor, myEditCurrentArgument, myFacesByNodes, myMesh, myNbOkElements, mySelectionMgr, and onListSelectionChanged().
Referenced by Init().
◆ onCloseView
void SMESHGUI_CreatePolyhedralVolumeDlg::onCloseView |
( |
| ) |
|
|
privateslot |
◆ onListSelectionChanged
void SMESHGUI_CreatePolyhedralVolumeDlg::onListSelectionChanged |
( |
| ) |
|
|
privateslot |
◆ onOpenView
void SMESHGUI_CreatePolyhedralVolumeDlg::onOpenView |
( |
| ) |
|
|
privateslot |
◆ onRemove
void SMESHGUI_CreatePolyhedralVolumeDlg::onRemove |
( |
| ) |
|
|
slot |
◆ onTextChange
void SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References AddButton, busy, buttonApply, buttonOk, checkEditLine(), displaySimulation(), SMDS_Mesh::FindElement(), SMDS_Mesh::FindNode(), GetConstructorId(), SMDS_MeshElement::GetID(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), myActor, myNbOkElements, mySelector, mySimulation, mySMESHGUI, and SMESH::TPolySimulation::SetVisibility().
Referenced by Init().
◆ reject
void SMESHGUI_CreatePolyhedralVolumeDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
◆ SelectionIntoArgument
void SMESHGUI_CreatePolyhedralVolumeDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References AddButton, busy, buttonApply, buttonOk, checkEditLine(), ComboBox_GroupName, displaySimulation(), SMESH::FindActorByObject(), GetConstructorId(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedNodes(), GroupButtons, myActor, myEditCurrentArgument, myEntry, myFacesByNodes, myGroups, myMesh, myNbOkElements, mySelectionMgr, mySelector, mySimulation, SMESH::TPolySimulation::SetVisibility(), and SMESH::VOLUME.
Referenced by ActivateThisDialog(), Init(), and SetEditCurrentArgument().
◆ SetEditCurrentArgument
void SMESHGUI_CreatePolyhedralVolumeDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
◆ AddButton
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::AddButton |
|
private |
◆ buttonApply
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonApply |
|
private |
◆ buttonCancel
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonCancel |
|
private |
◆ buttonHelp
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonHelp |
|
private |
◆ buttonOk
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonOk |
|
private |
◆ ComboBox_GroupName
QComboBox* SMESHGUI_CreatePolyhedralVolumeDlg::ComboBox_GroupName |
|
private |
◆ ConstructorsBox
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsBox |
|
private |
◆ GroupButtons
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupButtons |
|
private |
◆ GroupConstructors
QButtonGroup* SMESHGUI_CreatePolyhedralVolumeDlg::GroupConstructors |
|
private |
◆ GroupContent
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupContent |
|
private |
◆ GroupGroups
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupGroups |
|
private |
◆ LineEditElements
QLineEdit* SMESHGUI_CreatePolyhedralVolumeDlg::LineEditElements |
|
private |
◆ myActor
SMESH_Actor* SMESHGUI_CreatePolyhedralVolumeDlg::myActor |
|
private |
◆ myEditCurrentArgument
QLineEdit* SMESHGUI_CreatePolyhedralVolumeDlg::myEditCurrentArgument |
|
private |
◆ myEntry
QString SMESHGUI_CreatePolyhedralVolumeDlg::myEntry |
|
private |
◆ myFacesByNodes
QListWidget* SMESHGUI_CreatePolyhedralVolumeDlg::myFacesByNodes |
|
private |
◆ myFacesByNodesLabel
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::myFacesByNodesLabel |
|
private |
◆ myGroups
GrpList SMESHGUI_CreatePolyhedralVolumeDlg::myGroups |
|
private |
◆ myHelpFileName
QString SMESHGUI_CreatePolyhedralVolumeDlg::myHelpFileName |
|
private |
◆ myIDs
QString SMESHGUI_CreatePolyhedralVolumeDlg::myIDs |
|
private |
◆ myMesh
SMESH::SMESH_Mesh_var SMESHGUI_CreatePolyhedralVolumeDlg::myMesh |
|
private |
◆ myNbOkElements
int SMESHGUI_CreatePolyhedralVolumeDlg::myNbOkElements |
|
private |
◆ mySelectionMgr
LightApp_SelectionMgr* SMESHGUI_CreatePolyhedralVolumeDlg::mySelectionMgr |
|
private |
◆ mySelector
SVTK_Selector* SMESHGUI_CreatePolyhedralVolumeDlg::mySelector |
|
private |
◆ mySimulation
Referenced by ConstructorsClicked(), DeactivateActiveDialog(), displaySimulation(), enterEvent(), Init(), onCloseView(), onOpenView(), onTextChange(), reject(), SelectionIntoArgument(), and ~SMESHGUI_CreatePolyhedralVolumeDlg().
◆ mySMESHGUI
SMESHGUI* SMESHGUI_CreatePolyhedralVolumeDlg::mySMESHGUI |
|
private |
Checking for indices, return 1 if all ok, else -1.
Referenced by ActivateThisDialog(), ClickOnHelp(), ConstructorsClicked(), DeactivateActiveDialog(), enterEvent(), Init(), onListSelectionChanged(), onOpenView(), onTextChange(), reject(), and SMESHGUI_CreatePolyhedralVolumeDlg().
◆ Preview
QCheckBox* SMESHGUI_CreatePolyhedralVolumeDlg::Preview |
|
private |
◆ RadioButton1
QRadioButton* SMESHGUI_CreatePolyhedralVolumeDlg::RadioButton1 |
|
private |
◆ RadioButton2
QRadioButton* SMESHGUI_CreatePolyhedralVolumeDlg::RadioButton2 |
|
private |
◆ RemoveButton
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::RemoveButton |
|
private |
◆ SelectElementsButton
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::SelectElementsButton |
|
private |
◆ TextLabel_GroupName
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::TextLabel_GroupName |
|
private |
◆ TextLabelIds
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::TextLabelIds |
|
private |