Version: 9.16.0
SMESHGUI_MakeNodeAtPointDlg Class Reference

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

#include <SMESHGUI_MakeNodeAtPointDlg.h>

Inheritance diagram for SMESHGUI_MakeNodeAtPointDlg:

Public Member Functions

 SMESHGUI_MakeNodeAtPointDlg ()
 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...
 
void ConstructorsClicked (int)
 SLOT called when clicked radio button. More...
 

Private Member Functions

QWidget * createMainFrame (QWidget *)
 

Private Attributes

QWidget * myMainFrame
 
QButtonGroup * myButtonGroup
 
QRadioButton * myRButNodeToMove
 
QRadioButton * myRButMoveWithoutNode
 
QRadioButton * myRButMoveInteractive
 
QPushButton * myDestBtn
 
QPushButton * myUpdateBtn
 
QGroupBox * myDestinationGrp
 
QGroupBox * myNodeToMoveGrp
 
QPushButton * myIdBtn
 
QLineEdit * myId
 
SMESHGUI_SpinBox * myCurrentX
 
SMESHGUI_SpinBox * myCurrentY
 
SMESHGUI_SpinBox * myCurrentZ
 
SMESHGUI_SpinBox * myDestinationX
 
SMESHGUI_SpinBox * myDestinationY
 
SMESHGUI_SpinBox * myDestinationZ
 
QLabel * myDestDXLabel
 
QLabel * myDestDYLabel
 
QLabel * myDestDZLabel
 
SMESHGUI_SpinBox * myDestDX
 
SMESHGUI_SpinBox * myDestDY
 
SMESHGUI_SpinBox * myDestDZ
 
QCheckBox * myPreviewChkBox
 
QString myHelpFileName
 

Friends

class SMESHGUI_MakeNodeAtPointOp
 

Detailed Description

Dialog to make a mesh pass through a point.

Constructor & Destructor Documentation

◆ SMESHGUI_MakeNodeAtPointDlg()

SMESHGUI_MakeNodeAtPointDlg::SMESHGUI_MakeNodeAtPointDlg ( )

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_MakeNodeAtPointDlg::ButtonToggled ( bool  on)
privateslot

SLOT called when any button is toggled.

Parameters
bool- on or off

References myDestBtn, and myIdBtn.

Referenced by createMainFrame().

◆ ConstructorsClicked

void SMESHGUI_MakeNodeAtPointDlg::ConstructorsClicked ( int  constructorId)
privateslot

◆ 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

◆ 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_MakeNodeAtPointOp

friend class SMESHGUI_MakeNodeAtPointOp
friend

Field Documentation

◆ myButtonGroup

◆ myCurrentX

◆ myCurrentY

◆ myCurrentZ

◆ myDestBtn

◆ myDestDX

◆ myDestDXLabel

QLabel* SMESHGUI_MakeNodeAtPointDlg::myDestDXLabel
private

◆ myDestDY

◆ myDestDYLabel

QLabel* SMESHGUI_MakeNodeAtPointDlg::myDestDYLabel
private

◆ myDestDZ

◆ myDestDZLabel

QLabel* SMESHGUI_MakeNodeAtPointDlg::myDestDZLabel
private

◆ myDestinationGrp

QGroupBox* SMESHGUI_MakeNodeAtPointDlg::myDestinationGrp
private

◆ myDestinationX

◆ myDestinationY

◆ myDestinationZ

◆ myHelpFileName

QString SMESHGUI_MakeNodeAtPointDlg::myHelpFileName
private

◆ myId

◆ myIdBtn

QPushButton* SMESHGUI_MakeNodeAtPointDlg::myIdBtn
private

◆ myMainFrame

QWidget* SMESHGUI_MakeNodeAtPointDlg::myMainFrame
private

◆ myNodeToMoveGrp

QGroupBox* SMESHGUI_MakeNodeAtPointDlg::myNodeToMoveGrp
private

◆ myPreviewChkBox

QCheckBox* SMESHGUI_MakeNodeAtPointDlg::myPreviewChkBox
private

◆ myRButMoveInteractive

QRadioButton* SMESHGUI_MakeNodeAtPointDlg::myRButMoveInteractive
private

Referenced by createMainFrame().

◆ myRButMoveWithoutNode

QRadioButton* SMESHGUI_MakeNodeAtPointDlg::myRButMoveWithoutNode
private

◆ myRButNodeToMove

QRadioButton* SMESHGUI_MakeNodeAtPointDlg::myRButNodeToMove
private

◆ myUpdateBtn

QPushButton* SMESHGUI_MakeNodeAtPointDlg::myUpdateBtn
private