Class : SMESHGUI_MultiEditDlg Description : Base class for dialogs of diagonal inversion and union of two neighboring triangles. More...
#include <SMESHGUI_MultiEditDlg.h>
Signals | |
void | ListContensChanged () |
Public Member Functions | |
SMESHGUI_MultiEditDlg (SMESHGUI *theModule, const int theMode, const bool the3d2d=false, bool theDoInit=true) | |
Class : SMESHGUI_MultiEditDlg Description : Description : Inversion of the diagonal of a pseudo-quadrangle formed by 2 neighboring triangles with 1 common edge. More... | |
virtual | ~SMESHGUI_MultiEditDlg () |
void | Init () |
bool | eventFilter (QObject *, QEvent *) |
void | showPreview () |
void | hidePreview () |
Protected Slots | |
void | onOk () |
virtual bool | onApply () |
virtual void | reject () |
void | onHelp () |
void | onDeactivate () |
virtual void | onSelectionDone () |
void | onFilterBtn () |
void | onAddBtn () |
void | onRemoveBtn () |
void | onSortListBtn () |
void | onListSelectionChanged () |
void | onSubmeshChk () |
void | onGroupChk () |
virtual void | onToAllChk () |
void | onFilterAccepted () |
virtual void | on3d2dChanged (int) |
void | onOpenView () |
void | onCloseView () |
SMESH::NumericalFunctor_ptr | getNumericalFunctor () |
void | toDisplaySimulation () |
virtual void | onDisplaySimulation (bool) |
Protected Member Functions | |
void | enterEvent (QEvent *) |
void | keyPressEvent (QKeyEvent *) |
QWidget * | createButtonFrame (QWidget *) |
QWidget * | createMainFrame (QWidget *, const bool) |
virtual bool | isValid (const bool) |
SMESH::long_array_var | getIds (SMESH::SMESH_IDSource_var &obj) |
void | updateButtons () |
virtual void | setSelectionMode () |
virtual bool | isIdValid (const int) const |
virtual bool | process (SMESH::SMESH_MeshEditor_ptr, const SMESH::long_array &, SMESH::SMESH_IDSource_ptr obj)=0 |
virtual int | nbElemsInMesh ()=0 |
int | entityType () |
void | connectPreviewControl () |
virtual void | setIsApplyAndClose (const bool theFlag) |
virtual bool | isApplyAndClose () const |
Protected Attributes | |
QPushButton * | myOkBtn |
QPushButton * | myApplyBtn |
QPushButton * | myCloseBtn |
QPushButton * | myHelpBtn |
SMESH_Actor * | myActor |
SMESH::SMESH_Mesh_var | myMesh |
LightApp_SelectionMgr * | mySelectionMgr |
SVTK_Selector * | mySelector |
SMESHGUI * | mySMESHGUI |
QGroupBox * | mySelGrp |
QGroupBox * | myCriterionGrp |
QWidget * | myChoiceWidget |
QButtonGroup * | myGroupChoice |
QComboBox * | myComboBoxFunctor |
QListWidget * | myListBox |
QPushButton * | myFilterBtn |
QPushButton * | myAddBtn |
QPushButton * | myRemoveBtn |
QPushButton * | mySortBtn |
QCheckBox * | myToAllChk |
QButtonGroup * | myEntityTypeGrp |
QCheckBox * | mySubmeshChk |
QPushButton * | mySubmeshBtn |
QLineEdit * | mySubmesh |
QCheckBox * | myGroupChk |
QPushButton * | myGroupBtn |
QLineEdit * | myGroup |
SMESHGUI_FilterDlg * | myFilterDlg |
TColStd_MapOfInteger | myIds |
int | myFilterType |
bool | myBusy |
int | myEntityType |
QString | myHelpFileName |
SMESHGUI_MeshEditPreview * | mySimulation |
QCheckBox * | myPreviewCheckBox |
bool | myIsApplyAndClose |
Class : SMESHGUI_MultiEditDlg Description : Base class for dialogs of diagonal inversion and union of two neighboring triangles.
SMESHGUI_MultiEditDlg::SMESHGUI_MultiEditDlg | ( | SMESHGUI * | theModule, |
const int | theMode, | ||
const bool | the3d2d = false , |
||
bool | theDoInit = true |
||
) |
Class : SMESHGUI_MultiEditDlg Description : Description : Inversion of the diagonal of a pseudo-quadrangle formed by 2 neighboring triangles with 1 common edge.
|
virtual |
References myFilterDlg.
|
protectedinherited |
References MARGIN, myApplyBtn, myCloseBtn, myHelpBtn, myOkBtn, and SPACING.
|
protected |
References SMESH::GetResourceMgr(), MARGIN, myAddBtn, myChoiceWidget, myComboBoxFunctor, myCriterionGrp, myEntityType, myEntityTypeGrp, myFilterBtn, myGroup, myGroupBtn, myGroupChk, myGroupChoice, myListBox, myRemoveBtn, mySelGrp, mySMESHGUI, mySortBtn, mySubmesh, mySubmeshBtn, mySubmeshChk, myToAllChk, and SPACING.
|
protected |
|
protected |
References myEntityType.
Referenced by onAddBtn(), onFilterBtn(), and setSelectionMode().
References myListBox, and onRemoveBtn().
|
protected |
References myIds, myMesh, and myToAllChk.
Referenced by SMESHGUI_CuttingOfQuadsDlg::displayPreview(), onApply(), and SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation().
|
protectedslot |
|
inherited |
References SMESHGUI_MeshEditPreview::GetActor(), SMESHGUI_PreviewDlg::mySimulation, and SMESHGUI_MeshEditPreview::SetVisibility().
Referenced by SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), and SMESHGUI_ExtrusionDlg::onDisplaySimulation().
void SMESHGUI_MultiEditDlg::Init | ( | ) |
References ListContensChanged(), myActor, myAddBtn, myApplyBtn, myBusy, myCloseBtn, myEntityTypeGrp, myFilterBtn, myGroupChk, myHelpBtn, myIds, myListBox, myOkBtn, myRemoveBtn, mySelectionMgr, mySMESHGUI, mySortBtn, mySubmeshChk, myToAllChk, on3d2dChanged(), onAddBtn(), onApply(), onCloseView(), onDeactivate(), onFilterBtn(), onGroupChk(), onHelp(), onListSelectionChanged(), onOk(), onOpenView(), onRemoveBtn(), onSelectionDone(), onSortListBtn(), onSubmeshChk(), onToAllChk(), reject(), SMESHGUI::SetActiveDialogBox(), setSelectionMode(), and updateButtons().
Referenced by SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg().
|
protectedvirtualinherited |
References SMESHGUI_PreviewDlg::myIsApplyAndClose.
References SMESH::DownCast(), SMESH::GetSelector(), Handle(), myActor, and myFilterType.
Referenced by onAddBtn().
Reimplemented in SMESHGUI_UnionOfTrianglesDlg.
References myListBox, myMesh, myToAllChk, and nbElemsInMesh().
Referenced by SMESHGUI_UnionOfTrianglesDlg::isValid(), onApply(), and updateButtons().
|
protected |
References onHelp().
|
signal |
Referenced by Init(), on3d2dChanged(), onAddBtn(), onApply(), onFilterAccepted(), onRemoveBtn(), and onToAllChk().
|
protectedpure virtual |
Implemented in SMESHGUI_SplitVolumesDlg, SMESHGUI_CuttingOfQuadsDlg, SMESHGUI_UnionOfTrianglesDlg, and SMESHGUI_ChangeOrientationDlg.
Referenced by isValid().
|
protectedvirtualslot |
References SMESH::FaceFilter, ListContensChanged(), myEntityType, myFilterType, myIds, myListBox, setSelectionMode(), updateButtons(), and SMESH::VolumeFilter.
Referenced by Init(), and SMESHGUI_SplitVolumesDlg::on3d2dChanged().
|
protectedslot |
References entityType(), SMESH::FACE, isIdValid(), ListContensChanged(), myBusy, myGroupChk, myIds, myListBox, myMesh, mySelector, mySubmeshChk, onListSelectionChanged(), updateButtons(), and SMESH::VOLUME.
Referenced by Init().
|
protectedvirtualslot |
|
protectedslot |
References mySelector, and onDeactivate().
Referenced by Init().
|
protectedslot |
Referenced by Init(), and onCloseView().
|
protectedvirtualslotinherited |
|
protectedslot |
References ListContensChanged(), myGroupChk, myIds, myListBox, mySubmeshChk, and updateButtons().
Referenced by onFilterBtn().
|
protectedslot |
|
protectedslot |
References myGroup, myGroupBtn, myGroupChk, mySubmeshChk, and setSelectionMode().
Referenced by Init().
|
protectedslot |
References myHelpFileName, and mySMESHGUI.
Referenced by Init(), and keyPressEvent().
|
protectedslot |
References SMESH::FindActorByObject(), SMESH_Actor::GetObject(), SMESH::GetViewWindow(), myActor, myBusy, myGroupChk, myListBox, myMesh, myRemoveBtn, mySelector, mySMESHGUI, and mySubmeshChk.
Referenced by Init(), and onAddBtn().
|
protectedslot |
|
protectedslot |
References SMESHGUI::EmitSignalDeactivateDialog(), SMESH::GetViewWindow(), mySelector, and mySMESHGUI.
Referenced by Init().
|
protectedslot |
References ListContensChanged(), myBusy, myIds, myListBox, and updateButtons().
Referenced by eventFilter(), and Init().
|
protectedvirtualslot |
References SMESH::FindActorByEntry(), SMESH::FindActorByObject(), SMESH::GetMeshByIO(), SMESH::GetNameOfSelectedElements(), SMESH::GetNameOfSelectedIObjects(), SMESH::GetSelector(), Handle(), myActor, myBusy, myFilterType, myGroup, myGroupChk, myListBox, myMesh, mySelectionMgr, mySelector, mySubmesh, mySubmeshChk, and updateButtons().
Referenced by Init(), and SMESHGUI_SplitVolumesDlg::onSelectionDone().
|
protectedslot |
|
protectedslot |
References myGroupChk, mySubmesh, mySubmeshBtn, mySubmeshChk, and setSelectionMode().
Referenced by Init().
|
protectedvirtualslot |
References ListContensChanged(), myIds, myListBox, myToAllChk, setSelectionMode(), and updateButtons().
Referenced by Init().
|
protectedpure virtual |
Implemented in SMESHGUI_SplitVolumesDlg, SMESHGUI_CuttingOfQuadsDlg, SMESHGUI_UnionOfTrianglesDlg, and SMESHGUI_ChangeOrientationDlg.
Referenced by onApply().
|
protectedvirtualslot |
References SMESH::GetViewWindow(), mySelectionMgr, mySMESHGUI, SMESH::RemoveFilters(), SMESHGUI::ResetState(), and SMESH::SetPickable().
Referenced by Init(), onOk(), and SMESHGUI_CuttingOfQuadsDlg::reject().
|
protectedvirtualinherited |
References SMESHGUI_PreviewDlg::myIsApplyAndClose.
|
protectedvirtual |
Reimplemented in SMESHGUI_SplitVolumesDlg.
References entityType(), SMESH::GetViewWindow(), SMESH::GROUP, myFilterType, myGroupChk, mySelectionMgr, mySMESHGUI, mySubmeshChk, SMESH::QuadFilter, SMESH::RemoveFilters(), SMESH::SetFilter(), SMESH::SUBMESH, and SMESH::TriaFilter.
Referenced by enterEvent(), Init(), on3d2dChanged(), onGroupChk(), onSubmeshChk(), and onToAllChk().
|
inherited |
|
protectedslotinherited |
|
protected |
References isValid(), myAddBtn, myApplyBtn, myFilterBtn, myGroup, myGroupBtn, myGroupChk, myListBox, myMesh, myOkBtn, myRemoveBtn, mySelector, mySortBtn, mySubmesh, mySubmeshBtn, mySubmeshChk, and myToAllChk.
Referenced by Init(), on3d2dChanged(), onAddBtn(), onApply(), onFilterAccepted(), onRemoveBtn(), onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSelectionDone(), and onToAllChk().
|
protected |
|
protected |
Referenced by createMainFrame(), Init(), and updateButtons().
|
protected |
Referenced by createButtonFrame(), Init(), and updateButtons().
|
protected |
|
protected |
|
protected |
Referenced by createButtonFrame(), and Init().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by createMainFrame(), Init(), and updateButtons().
|
protected |
Referenced by onFilterBtn(), and ~SMESHGUI_MultiEditDlg().
|
protected |
|
protected |
Referenced by createMainFrame(), onGroupChk(), onSelectionDone(), and updateButtons().
|
protected |
Referenced by createMainFrame(), onGroupChk(), and updateButtons().
|
protected |
|
protected |
|
protected |
Referenced by createButtonFrame(), and Init().
|
protected |
Referenced by onHelp(), and SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg().
|
protected |
Referenced by getIds(), Init(), on3d2dChanged(), onAddBtn(), onApply(), onFilterAccepted(), onRemoveBtn(), and onToAllChk().
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::isApplyAndClose(), and SMESHGUI_PreviewDlg::setIsApplyAndClose().
|
protected |
|
protected |
Referenced by SMESHGUI_CuttingOfQuadsDlg::displayPreview(), getIds(), isValid(), SMESHGUI_ChangeOrientationDlg::nbElemsInMesh(), SMESHGUI_UnionOfTrianglesDlg::nbElemsInMesh(), SMESHGUI_CuttingOfQuadsDlg::nbElemsInMesh(), SMESHGUI_SplitVolumesDlg::nbElemsInMesh(), onAddBtn(), onApply(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), onFilterBtn(), onListSelectionChanged(), onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSetDir(), SMESHGUI_UnionOfTrianglesDlg::process(), SMESHGUI_SplitVolumesDlg::process(), and updateButtons().
|
protected |
Referenced by createButtonFrame(), Init(), and updateButtons().
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::connectPreviewControl(), SMESHGUI_ExtrusionAlongPathDlg::Init(), SMESHGUI_RevolutionDlg::Init(), SMESHGUI_ExtrusionDlg::Init(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_ExtrusionAlongPathDlg::SMESHGUI_ExtrusionAlongPathDlg(), SMESHGUI_ExtrusionDlg::SMESHGUI_ExtrusionDlg(), and SMESHGUI_RevolutionDlg::SMESHGUI_RevolutionDlg().
|
protected |
Referenced by createMainFrame(), Init(), onListSelectionChanged(), and updateButtons().
|
protected |
Referenced by Init(), onApply(), onSelectionDone(), reject(), setSelectionMode(), and SMESHGUI_SplitVolumesDlg::setSelectionMode().
|
protected |
|
protected |
|
protectedinherited |
Referenced by SMESHGUI_PreviewDlg::hidePreview(), SMESHGUI_PreviewDlg::onCloseView(), SMESHGUI_ExtrusionAlongPathDlg::onDisplaySimulation(), SMESHGUI_RevolutionDlg::onDisplaySimulation(), SMESHGUI_UnionOfTrianglesDlg::onDisplaySimulation(), SMESHGUI_ExtrusionDlg::onDisplaySimulation(), SMESHGUI_PreviewDlg::onOpenView(), SMESHGUI_RevolutionDlg::onOpenView(), SMESHGUI_SplitVolumesDlg::showFacetByElement(), SMESHGUI_PreviewDlg::showPreview(), SMESHGUI_PreviewDlg::SMESHGUI_PreviewDlg(), SMESHGUI_SplitVolumesDlg::updateNormalPreview(), and SMESHGUI_PreviewDlg::~SMESHGUI_PreviewDlg().
|
protected |
|
protected |
Referenced by createMainFrame(), Init(), and updateButtons().
|
protected |
Referenced by createMainFrame(), onSelectionDone(), onSubmeshChk(), and updateButtons().
|
protected |
Referenced by createMainFrame(), onSubmeshChk(), SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg(), and updateButtons().
|
protected |
|
protected |
Referenced by createMainFrame(), getIds(), Init(), isValid(), onToAllChk(), SMESHGUI_SplitVolumesDlg::SMESHGUI_SplitVolumesDlg(), and updateButtons().