Dialog to preview and compute a mesh and show computation errors. More...
#include <SMESHGUI_ComputeDlg.h>
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_MeshOrderBox * | getMeshOrderBox () 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_MeshOrderBox * | myOrderBox |
QPushButton * | myPreviewBtn |
QtxComboBox * | myPreviewMode |
Dialog to preview and compute a mesh and show computation errors.
SMESHGUI_PrecomputeDlg::SMESHGUI_PrecomputeDlg | ( | QWidget * | parent | ) |
Constructor.
References main(), myOrderBox, myPreviewBtn, myPreviewMode, preview(), and SPACING.
|
virtual |
Destructor.
|
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.
|
staticinherited |
Return hard-coded prefix using to differ overlapping types.
Referenced by SMESHGUI_Dialog::SMESHGUI_Dialog(), and SMESHGUI_SelectionOp::typeById().
|
signal |
Referenced by SMESHGUI_PrecomputeDlg().
|
protectedinherited |
gets resource manager
Referenced by SMESHGUI_ComputeDlg::createMainFrame(), SMESHGUI_DisplayEntitiesDlg::SMESHGUI_DisplayEntitiesDlg(), and SMESHGUI_GroupOnShapeDlg::SMESHGUI_GroupOnShapeDlg().
|
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.
|
virtualinherited |
Referenced by SMESHGUI_MeshOp::onCloseShapeByMeshDlg(), SMESHGUI_MeshOp::onPublishShapeByMeshDlg(), SMESHGUI_BaseComputeOp::showComputeResult(), SMESHGUI_BaseComputeOp::showEvaluateResult(), SMESHGUI_FindElemByPointOp::startOperation(), SMESHGUI_ReorientFacesOp::startOperation(), SMESHGUI_GroupOnShapeOp::startOperation(), SMESHGUI_ConvToQuadOp::startOperation(), SMESHGUI_MakeNodeAtPointOp::startOperation(), SMESHGUI_SplitBiQuadOp::startOperation(), SMESHGUI_MeshOp::startOperation(), SMESHGUI_MeshOrderOp::startOperation(), SMESHGUI_ShapeByMeshOp::startOperation(), and SMESHGUI_Add0DElemsOnAllNodesOp::startOperation().
|
private |
Referenced by getMeshOrderBox(), and SMESHGUI_PrecomputeDlg().
|
private |
Referenced by setPreviewModes(), and SMESHGUI_PrecomputeDlg().
|
private |
Referenced by getPreviewMode(), setPreviewModes(), and SMESHGUI_PrecomputeDlg().