Version: 8.3.0
SMESHGUI_PrecomputeDlg Class Reference

Dialog to preview and compute a mesh and show computation errors. More...

#include <SMESHGUI_ComputeDlg.h>

Inheritance diagram for SMESHGUI_PrecomputeDlg:

Signals

void preview ()
 

Public Member Functions

 SMESHGUI_PrecomputeDlg (QWidget *)
 Constructor. More...
 
virtual ~SMESHGUI_PrecomputeDlg ()
 Destructor. More...
 
void setPreviewModes (const QList< int > &)
 Sets available preview modes. More...
 
int getPreviewMode () const
 Returns current preview mesh mode. More...
 
SMESHGUI_MeshOrderBoxgetMeshOrderBox () const
 Returns current preview mesh mode. 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 Attributes

SMESHGUI_MeshOrderBoxmyOrderBox
 
QPushButton * myPreviewBtn
 
QtxComboBox * myPreviewMode
 

Detailed Description

Dialog to preview and compute a mesh and show computation errors.

Constructor & Destructor Documentation

SMESHGUI_PrecomputeDlg::SMESHGUI_PrecomputeDlg ( QWidget parent)

Constructor.

References main(), myOrderBox, myPreviewBtn, myPreviewMode, preview(), and SPACING.

SMESHGUI_PrecomputeDlg::~SMESHGUI_PrecomputeDlg ( )
virtual

Destructor.

Member Function Documentation

SUIT_Desktop * SMESHGUI_Dialog::desktop ( ) const
protectedinherited

find desktop of active application

References MESHCUT::d.

SMESHGUI_MeshOrderBox * SMESHGUI_PrecomputeDlg::getMeshOrderBox ( ) const

Returns current preview mesh mode.

References myOrderBox.

int SMESHGUI_PrecomputeDlg::getPreviewMode ( ) const

Returns current preview mesh mode.

References myPreviewMode.

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

void SMESHGUI_PrecomputeDlg::preview ( )
signal

Referenced by SMESHGUI_PrecomputeDlg().

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_PrecomputeDlg::setPreviewModes ( const QList< int > &  theModes)

Sets available preview modes.

References myPreviewBtn, and myPreviewMode.

Field Documentation

SMESHGUI_MeshOrderBox* SMESHGUI_PrecomputeDlg::myOrderBox
private
QPushButton* SMESHGUI_PrecomputeDlg::myPreviewBtn
private
QtxComboBox* SMESHGUI_PrecomputeDlg::myPreviewMode
private