Version: 8.3.0
SMESHGUI_SingleEditDlg Class Referenceabstract

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

#include <SMESHGUI_SingleEditDlg.h>

Inheritance diagram for SMESHGUI_SingleEditDlg:

Public Member Functions

 SMESHGUI_SingleEditDlg (SMESHGUI *)
 Class : SMESHGUI_SingleEditDlg Description : Inversion of the diagonal of a pseudo-quadrangle formed by 2 neighboring triangles with 1 common edge. More...
 
virtual ~SMESHGUI_SingleEditDlg ()
 
void Init ()
 

Protected Slots

void onOk ()
 
virtual bool onApply ()
 
virtual void reject ()
 
void onHelp ()
 
void onDeactivate ()
 
void onSelectionDone ()
 
void onTextChange (const QString &)
 

Protected Member Functions

void enterEvent (QEvent *)
 
void keyPressEvent (QKeyEvent *)
 
QWidgetcreateButtonFrame (QWidget *)
 
QWidgetcreateMainFrame (QWidget *)
 
bool isValid (const bool) const
 
bool getNodeIds (const QString &, int &, int &) const
 
virtual bool process (SMESH::SMESH_MeshEditor_ptr, const int, const int)=0
 

Protected Attributes

bool myBusy
 
QPushButton * myOkBtn
 
QPushButton * myApplyBtn
 
QPushButton * myCloseBtn
 
QPushButton * myHelpBtn
 
QLineEdit * myEdge
 
SMESH_ActormyActor
 
LightApp_SelectionMgr * mySelectionMgr
 
SVTK_Selector * mySelector
 
SMESHGUImySMESHGUI
 
QString myHelpFileName
 

Private Slots

void onOpenView ()
 
void onCloseView ()
 

Detailed Description

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

Constructor & Destructor Documentation

SMESHGUI_SingleEditDlg::SMESHGUI_SingleEditDlg ( SMESHGUI theModule)

Class : SMESHGUI_SingleEditDlg Description : Inversion of the diagonal of a pseudo-quadrangle formed by 2 neighboring triangles with 1 common edge.

References MARGIN, and SPACING.

SMESHGUI_SingleEditDlg::~SMESHGUI_SingleEditDlg ( )
virtual

Member Function Documentation

QWidget * SMESHGUI_SingleEditDlg::createButtonFrame ( QWidget theParent)
protected
QWidget * SMESHGUI_SingleEditDlg::createMainFrame ( QWidget theParent)
protected
void SMESHGUI_SingleEditDlg::enterEvent ( QEvent *  )
protected
bool SMESHGUI_SingleEditDlg::getNodeIds ( const QString &  theStr,
int theId1,
int theId2 
) const
protected

Referenced by isValid(), onApply(), and onTextChange().

bool SMESHGUI_SingleEditDlg::isValid ( const bool  theMess) const
protected

References getNodeIds(), and myEdge.

Referenced by onApply().

void SMESHGUI_SingleEditDlg::keyPressEvent ( QKeyEvent *  e)
protected

References onHelp().

void SMESHGUI_SingleEditDlg::onCloseView ( )
privateslot

References mySelector, and onDeactivate().

Referenced by Init().

void SMESHGUI_SingleEditDlg::onDeactivate ( )
protectedslot

Referenced by Init(), and onCloseView().

void SMESHGUI_SingleEditDlg::onHelp ( )
protectedslot

References myHelpFileName, and mySMESHGUI.

Referenced by Init(), and keyPressEvent().

void SMESHGUI_SingleEditDlg::onOk ( )
protectedslot

References onApply(), and reject().

Referenced by Init().

void SMESHGUI_SingleEditDlg::onOpenView ( )
privateslot
void SMESHGUI_SingleEditDlg::onSelectionDone ( )
protectedslot
void SMESHGUI_SingleEditDlg::onTextChange ( const QString &  theNewText)
protectedslot
virtual bool SMESHGUI_SingleEditDlg::process ( SMESH::SMESH_MeshEditor_ptr  ,
const int  ,
const int   
)
protectedpure virtual
void SMESHGUI_SingleEditDlg::reject ( )
protectedvirtualslot

Field Documentation

SMESH_Actor* SMESHGUI_SingleEditDlg::myActor
protected

Referenced by Init(), onSelectionDone(), and onTextChange().

QPushButton* SMESHGUI_SingleEditDlg::myApplyBtn
protected
bool SMESHGUI_SingleEditDlg::myBusy
protected

Referenced by Init(), onSelectionDone(), and onTextChange().

QPushButton* SMESHGUI_SingleEditDlg::myCloseBtn
protected

Referenced by createButtonFrame(), and Init().

QLineEdit* SMESHGUI_SingleEditDlg::myEdge
protected
QPushButton* SMESHGUI_SingleEditDlg::myHelpBtn
protected

Referenced by createButtonFrame(), and Init().

QString SMESHGUI_SingleEditDlg::myHelpFileName
protected

Referenced by onHelp().

QPushButton* SMESHGUI_SingleEditDlg::myOkBtn
protected
LightApp_SelectionMgr* SMESHGUI_SingleEditDlg::mySelectionMgr
protected
SVTK_Selector* SMESHGUI_SingleEditDlg::mySelector
protected
SMESHGUI* SMESHGUI_SingleEditDlg::mySMESHGUI
protected