#include <SMESHGUI_CreatePolyhedralVolumeDlg.h>
|
typedef QList
< SMESH::SMESH_GroupBase_var > | GrpList |
|
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 |
( |
| ) |
|
void SMESHGUI_CreatePolyhedralVolumeDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
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().
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::AddGroup(), checkEditLine(), ComboBox_GroupName, SMESH_Actor::eVolumes, GetConstructorId(), SMESH_Actor::GetEntityMode(), SMESHGUI::GetSMESHGUI(), GroupGroups, SMESHGUI::isActiveStudyLocked(), isValid(), SMESHGUI::Modified(), myActor, myEditCurrentArgument, myFacesByNodes, myGroups, myMesh, myNbOkElements, mySMESHGUI, SMESH_Actor::SetEntityMode(), SMESH::UpdateView(), and SMESH::VOLUME.
Referenced by ClickOnOk(), and Init().
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::ClickOnPreview |
( |
bool |
theToggled | ) |
|
|
privateslot |
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().
void SMESHGUI_CreatePolyhedralVolumeDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
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().
void SMESHGUI_CreatePolyhedralVolumeDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
int SMESHGUI_CreatePolyhedralVolumeDlg::GetConstructorId |
( |
| ) |
|
|
private |
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().
bool SMESHGUI_CreatePolyhedralVolumeDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_CreatePolyhedralVolumeDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_CreatePolyhedralVolumeDlg::onAdd |
( |
| ) |
|
|
slot |
References AddButton, buttonApply, buttonOk, checkEditLine(), displaySimulation(), myActor, myEditCurrentArgument, myFacesByNodes, myMesh, myNbOkElements, mySelectionMgr, and onListSelectionChanged().
Referenced by Init().
void SMESHGUI_CreatePolyhedralVolumeDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::onListSelectionChanged |
( |
| ) |
|
|
privateslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::onOpenView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::onRemove |
( |
| ) |
|
|
slot |
void SMESHGUI_CreatePolyhedralVolumeDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References AddButton, 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().
void SMESHGUI_CreatePolyhedralVolumeDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_CreatePolyhedralVolumeDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References AddButton, 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().
void SMESHGUI_CreatePolyhedralVolumeDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::AddButton |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::buttonOk |
|
private |
QComboBox* SMESHGUI_CreatePolyhedralVolumeDlg::ComboBox_GroupName |
|
private |
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::ConstructorsBox |
|
private |
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupButtons |
|
private |
QButtonGroup* SMESHGUI_CreatePolyhedralVolumeDlg::GroupConstructors |
|
private |
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupContent |
|
private |
QGroupBox* SMESHGUI_CreatePolyhedralVolumeDlg::GroupGroups |
|
private |
QLineEdit* SMESHGUI_CreatePolyhedralVolumeDlg::LineEditElements |
|
private |
SMESH_Actor* SMESHGUI_CreatePolyhedralVolumeDlg::myActor |
|
private |
QLineEdit* SMESHGUI_CreatePolyhedralVolumeDlg::myEditCurrentArgument |
|
private |
QString SMESHGUI_CreatePolyhedralVolumeDlg::myEntry |
|
private |
QListWidget* SMESHGUI_CreatePolyhedralVolumeDlg::myFacesByNodes |
|
private |
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::myFacesByNodesLabel |
|
private |
GrpList SMESHGUI_CreatePolyhedralVolumeDlg::myGroups |
|
private |
QString SMESHGUI_CreatePolyhedralVolumeDlg::myHelpFileName |
|
private |
QString SMESHGUI_CreatePolyhedralVolumeDlg::myIDs |
|
private |
SMESH::SMESH_Mesh_var SMESHGUI_CreatePolyhedralVolumeDlg::myMesh |
|
private |
int SMESHGUI_CreatePolyhedralVolumeDlg::myNbOkElements |
|
private |
LightApp_SelectionMgr* SMESHGUI_CreatePolyhedralVolumeDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_CreatePolyhedralVolumeDlg::mySelector |
|
private |
Referenced by ConstructorsClicked(), DeactivateActiveDialog(), displaySimulation(), enterEvent(), Init(), onCloseView(), onOpenView(), onTextChange(), reject(), SelectionIntoArgument(), and ~SMESHGUI_CreatePolyhedralVolumeDlg().
SMESHGUI* SMESHGUI_CreatePolyhedralVolumeDlg::mySMESHGUI |
|
private |
Checking for indices, return 1 if all ok, else -1.
Referenced by ActivateThisDialog(), ClickOnApply(), ClickOnHelp(), ConstructorsClicked(), DeactivateActiveDialog(), enterEvent(), Init(), onListSelectionChanged(), onOpenView(), onTextChange(), reject(), and SMESHGUI_CreatePolyhedralVolumeDlg().
QCheckBox* SMESHGUI_CreatePolyhedralVolumeDlg::Preview |
|
private |
QRadioButton* SMESHGUI_CreatePolyhedralVolumeDlg::RadioButton1 |
|
private |
QRadioButton* SMESHGUI_CreatePolyhedralVolumeDlg::RadioButton2 |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::RemoveButton |
|
private |
QPushButton* SMESHGUI_CreatePolyhedralVolumeDlg::SelectElementsButton |
|
private |
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::TextLabel_GroupName |
|
private |
QLabel* SMESHGUI_CreatePolyhedralVolumeDlg::TextLabelIds |
|
private |