Version: 9.12.0
SMESHGUI_AddNodeOnSegmentDlg Class Reference

Dialog to make a mesh pass through a point. More...

#include <SMESHGUI_AddNodeOnSegmentDlg.h>

Inheritance diagram for SMESHGUI_AddNodeOnSegmentDlg:

Signals

void selTypeChanged ()
 

Public Member Functions

 SMESHGUI_AddNodeOnSegmentDlg ()
 Dialog to split a diagonal of a quadrangle formed by two adjacent triangles. 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

QPushButton * mySegmentBtn
 
QLineEdit * mySegment
 
QPushButton * myPositionBtn
 
SMESHGUI_SpinBoxmyPositionSpin
 
QCheckBox * myPreviewChkBox
 
QString myHelpFileName
 

Friends

class SMESHGUI_AddNodeOnSegmentOp
 

Detailed Description

Dialog to make a mesh pass through a point.

Constructor & Destructor Documentation

◆ SMESHGUI_AddNodeOnSegmentDlg()

SMESHGUI_AddNodeOnSegmentDlg::SMESHGUI_AddNodeOnSegmentDlg ( )

Dialog to split a diagonal of a quadrangle formed by two adjacent triangles.

References createMainFrame(), and SPACING.

Member Function Documentation

◆ ButtonToggled

void SMESHGUI_AddNodeOnSegmentDlg::ButtonToggled ( bool  on)
privateslot

SLOT called when any button is toggled.

Parameters
bool- on or off

References myPositionBtn, mySegmentBtn, 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_AddNodeOnSegmentDlg::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_AddNodeOnSegmentOp

friend class SMESHGUI_AddNodeOnSegmentOp
friend

Field Documentation

◆ myHelpFileName

QString SMESHGUI_AddNodeOnSegmentDlg::myHelpFileName
private

◆ myPositionBtn

QPushButton* SMESHGUI_AddNodeOnSegmentDlg::myPositionBtn
private

◆ myPositionSpin

◆ myPreviewChkBox

QCheckBox* SMESHGUI_AddNodeOnSegmentDlg::myPreviewChkBox
private

◆ mySegment

◆ mySegmentBtn

QPushButton* SMESHGUI_AddNodeOnSegmentDlg::mySegmentBtn
private