#include <SMESHGUI_Measurements.h>
◆ anonymous enum
| Enumerator |
|---|
| NodeMode | |
| ElemMode | |
◆ anonymous enum
Measurement type.
| Enumerator |
|---|
| MinDistance | minimum distance
|
| BoundingBox | bounding box
|
| Length | length
|
| Area | area
|
| Volume | volume
|
| Angle | |
◆ SMESHGUI_MeasureDlg()
Constructor.
- Parameters
-
| parent | parent widget |
| page | specifies the dialog page to be shown at the start-up |
References Angle, Area, BoundingBox, deactivate(), SMESHGUI::GetSMESHGUI(), help(), Length, MARGIN, MinDistance, myAngle, myBasicProps, myBndBox, myMinDist, myTabWidget, reject(), SMESHGUI::resourceMgr(), SMESHGUI_BasicProperties::setMode(), SPACING, updateSelection(), and Volume.
◆ ~SMESHGUI_MeasureDlg()
| SMESHGUI_MeasureDlg::~SMESHGUI_MeasureDlg |
( |
| ) |
|
◆ activate
| void SMESHGUI_MeasureDlg::activate |
( |
| ) |
|
|
privateslot |
◆ deactivate
| void SMESHGUI_MeasureDlg::deactivate |
( |
| ) |
|
|
privateslot |
◆ enterEvent()
| void SMESHGUI_MeasureDlg::enterEvent |
( |
QEvent * |
| ) |
|
|
protected |
Reactivate dialog box, when mouse pointer goes into it.
References activate().
◆ help
| void SMESHGUI_MeasureDlg::help |
( |
| ) |
|
|
privateslot |
◆ keyPressEvent()
| void SMESHGUI_MeasureDlg::keyPressEvent |
( |
QKeyEvent * |
e | ) |
|
|
protected |
Process keyboard event.
- Parameters
-
References help().
◆ reject()
| void SMESHGUI_MeasureDlg::reject |
( |
| ) |
|
◆ updateSelection
| void SMESHGUI_MeasureDlg::updateSelection |
( |
| ) |
|
|
privateslot |
Setup selection mode depending on the current dialog box state.
References BoundingBox, SMESHGUI_BoundingBox::erasePreview(), MinDistance, myAngle, myBasicProps, myBndBox, myMinDist, myTabWidget, SMESHGUI_MinDistance::updateSelection(), SMESHGUI_BoundingBox::updateSelection(), SMESHGUI_BasicProperties::updateSelection(), and SMESHGUI_Angle::updateSelection().
Referenced by activate(), and SMESHGUI_MeasureDlg().
◆ myAngle
◆ myBasicProps
◆ myBndBox
◆ myMinDist
◆ myTabWidget
| QTabWidget* SMESHGUI_MeasureDlg::myTabWidget |
|
private |