Version: 8.3.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 ( 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 ( )
virtual

Member Function Documentation

QFrame * SMESHGUI_ShapeByMeshDlg::createMainFrame ( QWidget theParent)
private
SUIT_Desktop * SMESHGUI_Dialog::desktop ( ) const
protectedinherited

find desktop of active application

References MESHCUT::d.

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().

SUIT_ResourceMgr * SMESHGUI_Dialog::resourceMgr ( ) const
protectedinherited
void SMESHGUI_Dialog::setContentActive ( const bool  active)
virtualinherited

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

Referenced by SMESHGUI_Operation::setDialogActive().

void SMESHGUI_ShapeByMeshDlg::setMultipleAllowed ( bool  isAllowed)
private

References myIsMultipleAllowed.

Friends And Related Function Documentation

friend class SMESHGUI_ShapeByMeshOp
friend

Field Documentation

QGroupBox* SMESHGUI_ShapeByMeshDlg::myElemTypeBox
private

Referenced by createMainFrame().

bool SMESHGUI_ShapeByMeshDlg::myIsMultipleAllowed
private