Version: 9.12.0
SMESHGUI_ShapeByMeshDlg Class Reference

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

#include <SMESHGUI_ShapeByMeshDlg.h>

Inheritance diagram for SMESHGUI_ShapeByMeshDlg:

Public Member Functions

 SMESHGUI_ShapeByMeshDlg (bool isMultipleAllowed)
 Dialog to publish a sub-shape of the mesh main shape by selecting mesh elements. More...
 
virtual ~SMESHGUI_ShapeByMeshDlg ()
 
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 Member Functions

QFramecreateMainFrame (QWidget *)
 
void setMultipleAllowed (bool)
 

Private Attributes

QGroupBoxmyElemTypeBox
 
QButtonGroup * myElemTypeGroup
 
QLineEdit * myElementId
 
QLineEdit * myGeomName
 
bool myIsMultipleAllowed
 

Friends

class SMESHGUI_ShapeByMeshOp
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SMESHGUI_ShapeByMeshDlg()

SMESHGUI_ShapeByMeshDlg::SMESHGUI_ShapeByMeshDlg ( bool  isMultipleAllowed)

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

References createMainFrame(), MARGIN, and SPACING.

◆ ~SMESHGUI_ShapeByMeshDlg()

SMESHGUI_ShapeByMeshDlg::~SMESHGUI_ShapeByMeshDlg ( )
virtual

Member Function Documentation

◆ createMainFrame()

QFrame * SMESHGUI_ShapeByMeshDlg::createMainFrame ( QWidget theParent)
private

◆ 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

◆ setMultipleAllowed()

void SMESHGUI_ShapeByMeshDlg::setMultipleAllowed ( bool  isAllowed)
private

References myIsMultipleAllowed.

◆ show()

Friends And Related Function Documentation

◆ SMESHGUI_ShapeByMeshOp

friend class SMESHGUI_ShapeByMeshOp
friend

Field Documentation

◆ myElementId

◆ myElemTypeBox

QGroupBox* SMESHGUI_ShapeByMeshDlg::myElemTypeBox
private

Referenced by createMainFrame().

◆ myElemTypeGroup

◆ myGeomName

◆ myIsMultipleAllowed

bool SMESHGUI_ShapeByMeshDlg::myIsMultipleAllowed
private