Dialog contains mesh order box for modification operation. More...
#include <SMESHGUI_MeshOrderDlg.h>

Public Member Functions | |
| SMESHGUI_MeshOrderDlg (QWidget *) | |
| Public methods. | |
| ~SMESHGUI_MeshOrderDlg () | |
| Destructor. | |
| SMESHGUI_MeshOrderBox * | GetMeshOrderBox () const |
| return Box widget to show mesh order | |
| virtual void | show () |
| virtual void | setContentActive (const bool) |
| set all content to enable (parameter is true) or disable state | |
Static Public Member Functions | |
| static int | prefix (const QString &) |
| Return hard-coded prefix using to differ overlapping types. | |
Protected Member Functions | |
| SUIT_Desktop * | desktop () const |
| find desktop of active application | |
| SUIT_ResourceMgr * | resourceMgr () const |
| gets resource manager | |
Private Attributes | |
| SMESHGUI_MeshOrderBox * | myBox |
| Private fields. | |
Dialog contains mesh order box for modification operation.
Definition at line 96 of file SMESHGUI_MeshOrderDlg.h.
| SMESHGUI_MeshOrderDlg::SMESHGUI_MeshOrderDlg | ( | QWidget * | theParent | ) |
Public methods.
Constructor.
Definition at line 295 of file SMESHGUI_MeshOrderDlg.cxx.
References main(), myBox, and SPACING.
: SMESHGUI_Dialog( theParent, false, false, OK | Cancel | Help ) { setWindowTitle( tr( "SMESH_MESHORDER_TITLE") ); QFrame* main = mainFrame(); QVBoxLayout* aDlgLay = new QVBoxLayout (main); aDlgLay->setMargin( 0 ); aDlgLay->setSpacing( SPACING ); myBox = new SMESHGUI_MeshOrderBox( main ); aDlgLay->addWidget(myBox); aDlgLay->setStretchFactor(main, 1); }
| SMESHGUI_MeshOrderDlg::~SMESHGUI_MeshOrderDlg | ( | ) |
| SUIT_Desktop * SMESHGUI_Dialog::desktop | ( | ) | const [protected, inherited] |
find desktop of active application
Definition at line 93 of file SMESHGUI_Dialog.cxx.
References ex13_hole1partial.d.
| SMESHGUI_MeshOrderBox * SMESHGUI_MeshOrderDlg::GetMeshOrderBox | ( | ) | const |
return Box widget to show mesh order
Definition at line 327 of file SMESHGUI_MeshOrderDlg.cxx.
References myBox.
Referenced by SMESHGUI_MeshOrderOp.initDialog().
{
return myBox;
}
| int SMESHGUI_Dialog::prefix | ( | const QString & | name | ) | [static, inherited] |
Return hard-coded prefix using to differ overlapping types.
Definition at line 110 of file SMESHGUI_Dialog.cxx.
Referenced by SMESHGUI_Dialog.SMESHGUI_Dialog(), and SMESHGUI_SelectionOp.typeById().
| SUIT_ResourceMgr * SMESHGUI_Dialog::resourceMgr | ( | ) | const [protected, inherited] |
gets resource manager
Definition at line 126 of file SMESHGUI_Dialog.cxx.
Referenced by SMESHGUI_ComputeDlg.createMainFrame(), and SMESHGUI_GroupOnShapeDlg.SMESHGUI_GroupOnShapeDlg().
{
return SUIT_Session::session()->resourceMgr();
}
| void SMESHGUI_Dialog::setContentActive | ( | const bool | active | ) | [virtual, inherited] |
set all content to enable (parameter is true) or disable state
Definition at line 79 of file SMESHGUI_Dialog.cxx.
Referenced by SMESHGUI_Operation.setDialogActive().
{
mainFrame()->setEnabled( active );
setButtonEnabled( active, OK );
setButtonEnabled( active, Apply );
setButtonEnabled( active, Cancel );
setButtonEnabled( active, Close );
setButtonEnabled( active, Help );
}
| void SMESHGUI_Dialog::show | ( | ) | [virtual, inherited] |
Definition at line 69 of file SMESHGUI_Dialog.cxx.
Referenced by SMESHGUI_MeshOp.onCloseShapeByMeshDlg(), SMESHGUI_MeshOp.onPublishShapeByMeshDlg(), SMESHGUI_BaseComputeOp.showComputeResult(), SMESHGUI_BaseComputeOp.showEvaluateResult(), SMESHGUI_ShapeByMeshOp.startOperation(), SMESHGUI_MeshOrderOp.startOperation(), SMESHGUI_MeshOp.startOperation(), SMESHGUI_MakeNodeAtPointOp.startOperation(), SMESHGUI_GroupOnShapeOp.startOperation(), SMESHGUI_FindElemByPointOp.startOperation(), and SMESHGUI_ConvToQuadOp.startOperation().
{
adjustSize();
LightApp_Dialog::show();
}
SMESHGUI_MeshOrderBox* SMESHGUI_MeshOrderDlg.myBox [private] |
Private fields.
Definition at line 109 of file SMESHGUI_MeshOrderDlg.h.
Referenced by GetMeshOrderBox(), and SMESHGUI_MeshOrderDlg().