![]() |
VR-Forces 4.1 Class Documentation
|
A widget for controlling contour settings and controlled by a DtContourizationLogic. More...

Public Member Functions | |
| DtContourizationWidget (QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| CTOR. | |
| virtual | ~DtContourizationWidget () |
| Virtual DTOR. | |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setCurrentInterval (double interval) |
| Set the interface's current interval value Called by the logic. | |
| virtual void | setIntervalUnits (const DtUnicode &units) |
| Set the interface's contour interval units. | |
| virtual void | setIntervalDecimals (int decimals) |
| Set the interface's contour interval decimals. | |
| virtual void | setCurrentThickness (double thickness) |
| Set the interface's current thickness value Called by the logic. | |
| virtual void | setIntermediateLines (bool enabled) |
| Set the interface's current "intermediate lines enabled" state Called by the logic. | |
| virtual void | setContoursEnabled (bool enabled) |
| Set the interface's current "contours enabled" state Called by the logic. | |
Field value getters. | |
Gets the values of the widget's corresponding fields. | |
| virtual double | currentInterval () |
| Returns the interface's current interval value. | |
| virtual double | currentThickness () |
| Returns the interface's current thickness value. | |
| virtual bool | intermediateLines () |
| Returns the interface's current "intermediate lines enabled" state. | |
| virtual bool | contoursEnabled () |
| Returns the interface's current "contours enabled" state. | |
Protected Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| virtual void | onIntervalChanged (double value) |
| Called when interval spinbox changes. | |
| virtual void | onThicknessChanged (double value) |
| Called when thickness spinbox changes. | |
| virtual void | onContoursEnabledChanged (int enabled) |
| Called when contour checkbox changes. | |
| virtual void | onIntermediateLinesChanged (int enabled) |
| Called when interval checkbox changes. | |
Protected Member Functions | |
| void | setupGui () |
| Sets up the widget's fields. | |
Protected Attributes | |
| QVBoxLayout * | myGroupLayout |
| QGroupBox * | myGroupBox |
| QVBoxLayout * | myMainLayout |
| QCheckBox * | myEnableContourLinesCheckBox |
| QFrame * | line |
| QLabel * | myIntervalLabel |
| QDoubleSpinBox * | myIntervalSpinBox |
| QLabel * | myThicknessLabel |
| QDoubleSpinBox * | myThicknessSpinBox |
| QSpacerItem * | spacerItem |
| QCheckBox * | myIntermediateLinesCheckBox |
| QSpacerItem * | spacerItem1 |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtContourizationInterface | |
| boost::signal< void(bool)> | signal_intermediateLinesChanged |
| Signal emitted when the user checks/unchecks "intermediate lines". | |
| boost::signal< void(bool)> | signal_contoursEnabledChanged |
| Signal emitted when the user checks/unchecks "enable contour lines". | |
| boost::signal< void(double)> | signal_intervalChanged |
| Signal emitted when the user changes the line interval. | |
| boost::signal< void(double)> | signal_thicknessChanged |
| Signal emitted when the user changes the line thickness. | |
A widget for controlling contour settings and controlled by a DtContourizationLogic.
| makVrv::DtContourizationWidget::DtContourizationWidget | ( | QWidget * | parent, |
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
Virtual DTOR.
|
virtual |
Set the interface's current interval value Called by the logic.
Implements makVrv::DtContourizationInterface.
|
virtual |
Set the interface's contour interval units.
Called by the logic
Implements makVrv::DtContourizationInterface.
|
virtual |
Set the interface's contour interval decimals.
Called by the logic
Implements makVrv::DtContourizationInterface.
|
virtual |
Set the interface's current thickness value Called by the logic.
Implements makVrv::DtContourizationInterface.
|
virtual |
Set the interface's current "intermediate lines enabled" state Called by the logic.
Implements makVrv::DtContourizationInterface.
|
virtual |
Set the interface's current "contours enabled" state Called by the logic.
Implements makVrv::DtContourizationInterface.
|
virtual |
Returns the interface's current interval value.
Implements makVrv::DtContourizationInterface.
|
virtual |
Returns the interface's current thickness value.
Implements makVrv::DtContourizationInterface.
|
virtual |
Returns the interface's current "intermediate lines enabled" state.
Implements makVrv::DtContourizationInterface.
|
virtual |
Returns the interface's current "contours enabled" state.
Implements makVrv::DtContourizationInterface.
|
protectedvirtualslot |
Called when interval spinbox changes.
|
protectedvirtualslot |
Called when thickness spinbox changes.
|
protectedvirtualslot |
Called when contour checkbox changes.
|
protectedvirtualslot |
Called when interval checkbox changes.
|
protected |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |