Version: 9.16.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_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 createButtonFrame(), createMainFrame(), Init(), MARGIN, and SPACING.

◆ ~SMESHGUI_SingleEditDlg()

SMESHGUI_SingleEditDlg::~SMESHGUI_SingleEditDlg ( )
virtual

Member Function Documentation

◆ createButtonFrame()

QWidget * SMESHGUI_SingleEditDlg::createButtonFrame ( QWidget theParent)
protected

◆ createMainFrame()

QWidget * SMESHGUI_SingleEditDlg::createMainFrame ( QWidget theParent)
protected

◆ enterEvent()

void SMESHGUI_SingleEditDlg::enterEvent ( QEvent *  )
protected

◆ getNodeIds()

bool SMESHGUI_SingleEditDlg::getNodeIds ( const QString &  theStr,
int &  theId1,
int &  theId2 
) const
protected

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

◆ Init()

◆ isValid()

bool SMESHGUI_SingleEditDlg::isValid ( const bool  ) const
protected

References getNodeIds(), and myEdge.

Referenced by onApply().

◆ keyPressEvent()

void SMESHGUI_SingleEditDlg::keyPressEvent ( QKeyEvent *  e)
protected

References onHelp().

◆ onApply

◆ onCloseView

void SMESHGUI_SingleEditDlg::onCloseView ( )
privateslot

References mySelector, and onDeactivate().

Referenced by Init().

◆ onDeactivate

void SMESHGUI_SingleEditDlg::onDeactivate ( )
protectedslot

Referenced by Init(), and onCloseView().

◆ onHelp

void SMESHGUI_SingleEditDlg::onHelp ( )
protectedslot

References myHelpFileName, and mySMESHGUI.

Referenced by Init(), and keyPressEvent().

◆ onOk

void SMESHGUI_SingleEditDlg::onOk ( )
protectedslot

References onApply(), and reject().

Referenced by Init().

◆ onOpenView

void SMESHGUI_SingleEditDlg::onOpenView ( )
privateslot

◆ onSelectionDone

void SMESHGUI_SingleEditDlg::onSelectionDone ( )
protectedslot

◆ onTextChange

void SMESHGUI_SingleEditDlg::onTextChange ( const QString &  )
protectedslot

◆ process()

virtual bool SMESHGUI_SingleEditDlg::process ( SMESH::SMESH_MeshEditor_ptr  ,
const int  ,
const int   
)
protectedpure virtual

◆ reject

void SMESHGUI_SingleEditDlg::reject ( )
protectedvirtualslot

Field Documentation

◆ myActor

SMESH_Actor* SMESHGUI_SingleEditDlg::myActor
protected

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

◆ myApplyBtn

QPushButton* SMESHGUI_SingleEditDlg::myApplyBtn
protected

◆ myBusy

bool SMESHGUI_SingleEditDlg::myBusy
protected

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

◆ myCloseBtn

QPushButton* SMESHGUI_SingleEditDlg::myCloseBtn
protected

Referenced by createButtonFrame(), and Init().

◆ myEdge

QLineEdit* SMESHGUI_SingleEditDlg::myEdge
protected

◆ myHelpBtn

QPushButton* SMESHGUI_SingleEditDlg::myHelpBtn
protected

Referenced by createButtonFrame(), and Init().

◆ myHelpFileName

◆ myOkBtn

QPushButton* SMESHGUI_SingleEditDlg::myOkBtn
protected

◆ mySelectionMgr

LightApp_SelectionMgr* SMESHGUI_SingleEditDlg::mySelectionMgr
protected

◆ mySelector

SVTK_Selector* SMESHGUI_SingleEditDlg::mySelector
protected

◆ mySMESHGUI

SMESHGUI* SMESHGUI_SingleEditDlg::mySMESHGUI
protected