Version: 8.3.0
SMESHGUI_MultiEditDlg Class Referenceabstract

Class : SMESHGUI_MultiEditDlg Description : Base class for dialogs of diagonal inversion and union of two neighboring triangles. More...

#include <SMESHGUI_MultiEditDlg.h>

Inheritance diagram for SMESHGUI_MultiEditDlg:

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 *)
 
QWidgetcreateButtonFrame (QWidget *)
 
QWidgetcreateMainFrame (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_ActormyActor
 
SMESH::SMESH_Mesh_var myMesh
 
LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
SMESHGUImySMESHGUI
 
QGroupBoxmySelGrp
 
QGroupBoxmyCriterionGrp
 
QWidgetmyChoiceWidget
 
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_FilterDlgmyFilterDlg
 
TColStd_MapOfInteger myIds
 
int myFilterType
 
bool myBusy
 
int myEntityType
 
QString myHelpFileName
 
SMESHGUI_MeshEditPreviewmySimulation
 
QCheckBox * myPreviewCheckBox
 
bool myIsApplyAndClose
 

Detailed Description

Class : SMESHGUI_MultiEditDlg Description : Base class for dialogs of diagonal inversion and union of two neighboring triangles.

Constructor & Destructor Documentation

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.

References MARGIN, and SPACING.

SMESHGUI_MultiEditDlg::~SMESHGUI_MultiEditDlg ( )
virtual

References myFilterDlg.

Member Function Documentation

QWidget * SMESHGUI_MultiEditDlg::createButtonFrame ( QWidget theParent)
protected
void SMESHGUI_MultiEditDlg::enterEvent ( QEvent *  )
protected
int SMESHGUI_MultiEditDlg::entityType ( )
protected

References myEntityType.

Referenced by onAddBtn(), onFilterBtn(), and setSelectionMode().

bool SMESHGUI_MultiEditDlg::eventFilter ( QObject object,
QEvent *  event 
)

References myListBox, and onRemoveBtn().

SMESH::long_array_var SMESHGUI_MultiEditDlg::getIds ( SMESH::SMESH_IDSource_var &  obj)
protected
bool SMESHGUI_PreviewDlg::isApplyAndClose ( ) const
protectedvirtualinherited
bool SMESHGUI_MultiEditDlg::isIdValid ( const int  theId) const
protectedvirtual
bool SMESHGUI_MultiEditDlg::isValid ( const bool  )
protectedvirtual
void SMESHGUI_MultiEditDlg::keyPressEvent ( QKeyEvent *  e)
protected

References onHelp().

void SMESHGUI_MultiEditDlg::ListContensChanged ( )
signal
virtual int SMESHGUI_MultiEditDlg::nbElemsInMesh ( )
protectedpure virtual
void SMESHGUI_MultiEditDlg::on3d2dChanged ( int  type)
protectedvirtualslot
void SMESHGUI_MultiEditDlg::onAddBtn ( )
protectedslot
void SMESHGUI_MultiEditDlg::onCloseView ( )
protectedslot

References mySelector, and onDeactivate().

Referenced by Init().

void SMESHGUI_MultiEditDlg::onDeactivate ( )
protectedslot

Referenced by Init(), and onCloseView().

void SMESHGUI_PreviewDlg::onDisplaySimulation ( bool  toDisplayPreview)
protectedvirtualslotinherited
void SMESHGUI_MultiEditDlg::onFilterAccepted ( )
protectedslot
void SMESHGUI_MultiEditDlg::onGroupChk ( )
protectedslot

References myGroup, myGroupBtn, myGroupChk, mySubmeshChk, and setSelectionMode().

Referenced by Init().

void SMESHGUI_MultiEditDlg::onHelp ( )
protectedslot

References myHelpFileName, and mySMESHGUI.

Referenced by Init(), and keyPressEvent().

void SMESHGUI_MultiEditDlg::onListSelectionChanged ( )
protectedslot
void SMESHGUI_MultiEditDlg::onOk ( )
protectedslot

References onApply(), and reject().

Referenced by Init().

void SMESHGUI_MultiEditDlg::onOpenView ( )
protectedslot
void SMESHGUI_MultiEditDlg::onRemoveBtn ( )
protectedslot
void SMESHGUI_MultiEditDlg::onSortListBtn ( )
protectedslot

References myBusy, and myListBox.

Referenced by Init().

void SMESHGUI_MultiEditDlg::onSubmeshChk ( )
protectedslot
void SMESHGUI_MultiEditDlg::onToAllChk ( )
protectedvirtualslot
virtual bool SMESHGUI_MultiEditDlg::process ( SMESH::SMESH_MeshEditor_ptr  ,
const SMESH::long_array ,
SMESH::SMESH_IDSource_ptr  obj 
)
protectedpure virtual
void SMESHGUI_MultiEditDlg::reject ( )
protectedvirtualslot
void SMESHGUI_PreviewDlg::setIsApplyAndClose ( const bool  theFlag)
protectedvirtualinherited
void SMESHGUI_PreviewDlg::showPreview ( )
inherited

Field Documentation

QPushButton* SMESHGUI_MultiEditDlg::myAddBtn
protected
QPushButton* SMESHGUI_MultiEditDlg::myApplyBtn
protected
QPushButton* SMESHGUI_MultiEditDlg::myCloseBtn
protected

Referenced by createButtonFrame(), and Init().

QComboBox* SMESHGUI_MultiEditDlg::myComboBoxFunctor
protected
QButtonGroup* SMESHGUI_MultiEditDlg::myEntityTypeGrp
protected
QPushButton* SMESHGUI_MultiEditDlg::myFilterBtn
protected
SMESHGUI_FilterDlg* SMESHGUI_MultiEditDlg::myFilterDlg
protected
QLineEdit* SMESHGUI_MultiEditDlg::myGroup
protected
QPushButton* SMESHGUI_MultiEditDlg::myGroupBtn
protected
QPushButton* SMESHGUI_MultiEditDlg::myHelpBtn
protected

Referenced by createButtonFrame(), and Init().

QString SMESHGUI_MultiEditDlg::myHelpFileName
protected
TColStd_MapOfInteger SMESHGUI_MultiEditDlg::myIds
protected
bool SMESHGUI_PreviewDlg::myIsApplyAndClose
protectedinherited
QPushButton* SMESHGUI_MultiEditDlg::myOkBtn
protected
QPushButton* SMESHGUI_MultiEditDlg::myRemoveBtn
protected
LightApp_SelectionMgr* SMESHGUI_MultiEditDlg::mySelectionMgr
protected
QPushButton* SMESHGUI_MultiEditDlg::mySortBtn
protected
QLineEdit* SMESHGUI_MultiEditDlg::mySubmesh
protected
QPushButton* SMESHGUI_MultiEditDlg::mySubmeshBtn
protected
QCheckBox* SMESHGUI_MultiEditDlg::myToAllChk
protected