Version: 9.16.0
SMESHGUI_AddNodeOnFaceDlg Class Reference

Dialog to split a face into triangles by creating a new node on the face and connecting it to the face nodes. More...

#include <SMESHGUI_AddNodeOnFaceDlg.h>

Inheritance diagram for SMESHGUI_AddNodeOnFaceDlg:

Signals

void selTypeChanged ()
 

Public Member Functions

 SMESHGUI_AddNodeOnFaceDlg ()
 Dialog to publish a sub-shape of the mesh main shape by selecting mesh elements. More...
 
virtual void show ()
 
virtual void setContentActive (const bool)
 set all content to enable (parameter is true) or disable state More...
 

Static Public Member Functions

static int prefix (const QString &)
 Return hard-coded prefix using to differ overlapping types. More...
 

Protected Member Functions

SUIT_Desktop * desktop () const
 find desktop of active application More...
 
SUIT_ResourceMgr * resourceMgr () const
 gets resource manager More...
 

Private Slots

void ButtonToggled (bool)
 SLOT called when any button is toggled. More...
 

Private Member Functions

QWidgetcreateMainFrame (QWidget *)
 

Private Attributes

QWidgetmyMainFrame
 
QPushButton * myDestBtn
 
QPushButton * myIdBtn
 
QLineEdit * myId
 
SMESHGUI_SpinBoxmyDestinationX
 
SMESHGUI_SpinBoxmyDestinationY
 
SMESHGUI_SpinBoxmyDestinationZ
 
QCheckBox * myPointOnFace
 
QCheckBox * myPreviewChkBox
 
QString myHelpFileName
 

Friends

class SMESHGUI_AddNodeOnFaceOp
 

Detailed Description

Dialog to split a face into triangles by creating a new node on the face and connecting it to the face nodes.

Constructor & Destructor Documentation

◆ SMESHGUI_AddNodeOnFaceDlg()

SMESHGUI_AddNodeOnFaceDlg::SMESHGUI_AddNodeOnFaceDlg ( )

Dialog to publish a sub-shape of the mesh main shape by selecting mesh elements.

References createMainFrame(), myMainFrame, and SPACING.

Member Function Documentation

◆ ButtonToggled

void SMESHGUI_AddNodeOnFaceDlg::ButtonToggled ( bool  on)
privateslot

SLOT called when any button is toggled.

Parameters
bool- on or off

References myDestBtn, myIdBtn, and selTypeChanged().

Referenced by createMainFrame().

◆ createMainFrame()

◆ desktop()

SUIT_Desktop * SMESHGUI_Dialog::desktop ( ) const
protectedinherited

find desktop of active application

References MESHCUT::d.

◆ prefix()

int SMESHGUI_Dialog::prefix ( const QString &  name)
staticinherited

Return hard-coded prefix using to differ overlapping types.

Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().

◆ resourceMgr()

SUIT_ResourceMgr * SMESHGUI_Dialog::resourceMgr ( ) const
protectedinherited

◆ selTypeChanged

void SMESHGUI_AddNodeOnFaceDlg::selTypeChanged ( )
signal

Referenced by ButtonToggled().

◆ setContentActive()

void SMESHGUI_Dialog::setContentActive ( const bool  active)
virtualinherited

set all content to enable (parameter is true) or disable state

◆ show()

Friends And Related Function Documentation

◆ SMESHGUI_AddNodeOnFaceOp

friend class SMESHGUI_AddNodeOnFaceOp
friend

Field Documentation

◆ myDestBtn

QPushButton* SMESHGUI_AddNodeOnFaceDlg::myDestBtn
private

◆ myDestinationX

◆ myDestinationY

◆ myDestinationZ

◆ myHelpFileName

QString SMESHGUI_AddNodeOnFaceDlg::myHelpFileName
private

◆ myId

◆ myIdBtn

QPushButton* SMESHGUI_AddNodeOnFaceDlg::myIdBtn
private

◆ myMainFrame

QWidget* SMESHGUI_AddNodeOnFaceDlg::myMainFrame
private

◆ myPointOnFace

◆ myPreviewChkBox

QCheckBox* SMESHGUI_AddNodeOnFaceDlg::myPreviewChkBox
private