#include <SMESHGUI_AddMeshElementDlg.h>
|
typedef QList
< SMESH::SMESH_GroupBase_var > | GrpList |
|
References buttonApply, buttonCancel, buttonHelp, buttonOk, ComboBox_GroupName, Constructor1, DiameterSpinBox, SMESH::GetFloat(), SMESH::GetResourceMgr(), SMESH::GetSelector(), SMESH::GetViewWindow(), GroupButtons, GroupC1, GroupConstructors, GroupGroups, Init(), LineEditC1A1, MARGIN, myElementType, myGeomType, myHelpFileName, myIsPoly, myNbNodes, mySelector, mySimulation, mySMESHGUI, onDiameterChanged(), SMESHGUI_SpinBox::RangeStepAndValidator(), ReverseOrDulicate, SelectButtonC1A1, SMESHGUI_SpinBox::SetValue(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, SMDSEntity_0D, SMDSEntity_Ball, SMDSEntity_Edge, SMDSEntity_Hexa, SMDSEntity_Hexagonal_Prism, SMDSEntity_Penta, SMDSEntity_Polygon, SMDSEntity_Pyramid, SMDSEntity_Quadrangle, SMDSEntity_Tetra, SMDSEntity_Triangle, SPACING, TextLabel_GroupName, and TextLabelC1A1.
SMESHGUI_AddMeshElementDlg::~SMESHGUI_AddMeshElementDlg |
( |
| ) |
|
void SMESHGUI_AddMeshElementDlg::ActivateThisDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::CheckBox |
( |
int |
state | ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::ClickOnApply |
( |
| ) |
|
|
privateslot |
References SMESH::AddGroup(), buttonApply, buttonOk, ComboBox_GroupName, SMESHGUI::desktop(), DiameterSpinBox, SMESH_Actor::eEdge, SMESH_Actor::eEdges, SMESH_Actor::eFaces, SMESH_Actor::eSurface, SMESH_Actor::eVolumes, SMESH_Actor::GetEntityMode(), SMESHGUI::GetSMESHGUI(), SMESHGUI_SpinBox::GetValue(), GroupGroups, SMESHGUI::isActiveStudyLocked(), isValid(), SMESHGUI::Modified(), myActor, myBusy, myEditCurrentArgument, myElementType, myGeomType, myGroups, myIsPoly, myMesh, myNbOkNodes, mySelectionMgr, mySelector, mySimulation, mySMESHGUI, ReverseOrDulicate, SMDS_MeshCell::reverseSmdsOrder(), SMESH_Actor::SetEntityMode(), SMESH::TElementSimulation::SetVisibility(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_Volume, SMDSEntity_Ball, and SMESH::UpdateView().
Referenced by ClickOnOk(), and Init().
void SMESHGUI_AddMeshElementDlg::ClickOnHelp |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::ClickOnOk |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::DeactivateActiveDialog |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::displaySimulation |
( |
| ) |
|
|
private |
References SMDS_MeshCell::applyInterlace(), DiameterSpinBox, SMESH_Actor::GetObject(), SMESHGUI_SpinBox::GetValue(), GroupButtons, myActor, myEditCurrentArgument, myGeomType, myNbOkNodes, mySimulation, reverse(), ReverseOrDulicate, SMDS_MeshCell::reverseSmdsOrder(), SMESH::TElementSimulation::SetBallPosition(), SMESH::TElementSimulation::SetPosition(), SMDS_MeshCell::toVtkType(), and SMESH::UpdateView().
Referenced by CheckBox(), onDiameterChanged(), onTextChange(), and SelectionIntoArgument().
void SMESHGUI_AddMeshElementDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
private |
void SMESHGUI_AddMeshElementDlg::Init |
( |
| ) |
|
|
private |
References buttonApply, buttonCancel, buttonHelp, buttonOk, CheckBox(), ClickOnApply(), ClickOnHelp(), ClickOnOk(), Constructor1, DeactivateActiveDialog(), SMESH::GetViewWindow(), GroupC1, GroupGroups, LineEditC1A1, myActor, myBusy, myEditCurrentArgument, myNbOkNodes, mySelectionMgr, mySMESHGUI, onCloseView(), onOpenView(), onTextChange(), reject(), ReverseOrDulicate, SelectButtonC1A1, SelectionIntoArgument(), SMESHGUI::SetActiveDialogBox(), SetEditCurrentArgument(), and SMESH::SetPointRepresentation().
Referenced by SMESHGUI_AddMeshElementDlg().
bool SMESHGUI_AddMeshElementDlg::isValid |
( |
| ) |
|
|
private |
void SMESHGUI_AddMeshElementDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
private |
void SMESHGUI_AddMeshElementDlg::onCloseView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::onDiameterChanged |
( |
| ) |
|
|
protectedslot |
void SMESHGUI_AddMeshElementDlg::onOpenView |
( |
| ) |
|
|
privateslot |
void SMESHGUI_AddMeshElementDlg::onTextChange |
( |
const QString & |
theNewText | ) |
|
|
privateslot |
References buttonApply, buttonOk, displaySimulation(), SMDS_Mesh::FindNode(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), myActor, myBusy, myElementType, myIsPoly, myNbNodes, myNbOkNodes, mySelector, mySimulation, mySMESHGUI, SMESH::TElementSimulation::SetVisibility(), and SMDSAbs_Face.
Referenced by Init().
void SMESHGUI_AddMeshElementDlg::reject |
( |
| ) |
|
|
protectedvirtualslot |
void SMESHGUI_AddMeshElementDlg::SelectionIntoArgument |
( |
| ) |
|
|
privateslot |
References buttonApply, buttonOk, ComboBox_GroupName, displaySimulation(), SMESH::FindActorByEntry(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedNodes(), GroupButtons, Handle(), myActor, myBusy, myEditCurrentArgument, myElementType, myEntry, myGroups, myIsPoly, myMesh, myNbNodes, myNbOkNodes, mySelectionMgr, mySelector, mySimulation, SMESH::TElementSimulation::SetVisibility(), and SMDSAbs_Face.
Referenced by ActivateThisDialog(), Init(), and SetEditCurrentArgument().
void SMESHGUI_AddMeshElementDlg::SetEditCurrentArgument |
( |
| ) |
|
|
privateslot |
QPushButton* SMESHGUI_AddMeshElementDlg::buttonApply |
|
private |
QPushButton* SMESHGUI_AddMeshElementDlg::buttonCancel |
|
private |
QPushButton* SMESHGUI_AddMeshElementDlg::buttonHelp |
|
private |
QPushButton* SMESHGUI_AddMeshElementDlg::buttonOk |
|
private |
QComboBox* SMESHGUI_AddMeshElementDlg::ComboBox_GroupName |
|
private |
QRadioButton* SMESHGUI_AddMeshElementDlg::Constructor1 |
|
private |
QGroupBox* SMESHGUI_AddMeshElementDlg::GroupButtons |
|
private |
QGroupBox* SMESHGUI_AddMeshElementDlg::GroupC1 |
|
private |
QGroupBox* SMESHGUI_AddMeshElementDlg::GroupConstructors |
|
private |
QGroupBox* SMESHGUI_AddMeshElementDlg::GroupGroups |
|
private |
QLineEdit* SMESHGUI_AddMeshElementDlg::LineEditC1A1 |
|
private |
bool SMESHGUI_AddMeshElementDlg::myBusy |
|
private |
QLineEdit* SMESHGUI_AddMeshElementDlg::myEditCurrentArgument |
|
private |
int SMESHGUI_AddMeshElementDlg::myElementType |
|
private |
QString SMESHGUI_AddMeshElementDlg::myEntry |
|
private |
GrpList SMESHGUI_AddMeshElementDlg::myGroups |
|
private |
QString SMESHGUI_AddMeshElementDlg::myHelpFileName |
|
private |
bool SMESHGUI_AddMeshElementDlg::myIsPoly |
|
private |
SMESH::SMESH_Mesh_var SMESHGUI_AddMeshElementDlg::myMesh |
|
private |
int SMESHGUI_AddMeshElementDlg::myNbNodes |
|
private |
int SMESHGUI_AddMeshElementDlg::myNbOkNodes |
|
private |
LightApp_SelectionMgr* SMESHGUI_AddMeshElementDlg::mySelectionMgr |
|
private |
SVTK_Selector* SMESHGUI_AddMeshElementDlg::mySelector |
|
private |
Referenced by CheckBox(), ClickOnApply(), DeactivateActiveDialog(), displaySimulation(), enterEvent(), onCloseView(), onOpenView(), onTextChange(), reject(), SelectionIntoArgument(), SMESHGUI_AddMeshElementDlg(), and ~SMESHGUI_AddMeshElementDlg().
SMESHGUI* SMESHGUI_AddMeshElementDlg::mySMESHGUI |
|
private |
QCheckBox* SMESHGUI_AddMeshElementDlg::ReverseOrDulicate |
|
private |
QPushButton* SMESHGUI_AddMeshElementDlg::SelectButtonC1A1 |
|
private |
QLabel* SMESHGUI_AddMeshElementDlg::TextLabel_GroupName |
|
private |
QLabel* SMESHGUI_AddMeshElementDlg::TextLabelC1A1 |
|
private |