![]() |
VR-Forces 4.0.4 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 |
A widget for controlling contour settings and controlled by a DtContourizationLogic.
| makVrv::DtContourizationWidget::DtContourizationWidget | ( | QWidget * | parent, |
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
| virtual makVrv::DtContourizationWidget::~DtContourizationWidget | ( | ) | [virtual] |
Virtual DTOR.
| virtual void makVrv::DtContourizationWidget::setCurrentInterval | ( | double | interval | ) | [virtual] |
Set the interface's current interval value Called by the logic.
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::setIntervalUnits | ( | const DtUnicode & | units | ) | [virtual] |
Set the interface's contour interval units.
Called by the logic
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::setIntervalDecimals | ( | int | decimals | ) | [virtual] |
Set the interface's contour interval decimals.
Called by the logic
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::setCurrentThickness | ( | double | thickness | ) | [virtual] |
Set the interface's current thickness value Called by the logic.
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::setIntermediateLines | ( | bool | enabled | ) | [virtual] |
Set the interface's current "intermediate lines enabled" state Called by the logic.
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::setContoursEnabled | ( | bool | enabled | ) | [virtual] |
Set the interface's current "contours enabled" state Called by the logic.
Implements makVrv::DtContourizationInterface.
| virtual double makVrv::DtContourizationWidget::currentInterval | ( | ) | [virtual] |
Returns the interface's current interval value.
Implements makVrv::DtContourizationInterface.
| virtual double makVrv::DtContourizationWidget::currentThickness | ( | ) | [virtual] |
Returns the interface's current thickness value.
Implements makVrv::DtContourizationInterface.
| virtual bool makVrv::DtContourizationWidget::intermediateLines | ( | ) | [virtual] |
Returns the interface's current "intermediate lines enabled" state.
Implements makVrv::DtContourizationInterface.
| virtual bool makVrv::DtContourizationWidget::contoursEnabled | ( | ) | [virtual] |
Returns the interface's current "contours enabled" state.
Implements makVrv::DtContourizationInterface.
| virtual void makVrv::DtContourizationWidget::onIntervalChanged | ( | double | value | ) | [protected, virtual, slot] |
Called when interval spinbox changes.
| virtual void makVrv::DtContourizationWidget::onThicknessChanged | ( | double | value | ) | [protected, virtual, slot] |
Called when thickness spinbox changes.
| virtual void makVrv::DtContourizationWidget::onContoursEnabledChanged | ( | int | enabled | ) | [protected, virtual, slot] |
Called when contour checkbox changes.
| virtual void makVrv::DtContourizationWidget::onIntermediateLinesChanged | ( | int | enabled | ) | [protected, virtual, slot] |
Called when interval checkbox changes.
| void makVrv::DtContourizationWidget::setupGui | ( | ) | [protected] |
Sets up the widget's fields.
Non-virtual (Called from CTOR).
QVBoxLayout* makVrv::DtContourizationWidget::myGroupLayout [protected] |
QGroupBox* makVrv::DtContourizationWidget::myGroupBox [protected] |
QVBoxLayout* makVrv::DtContourizationWidget::myMainLayout [protected] |
QFrame* makVrv::DtContourizationWidget::line [protected] |
QLabel* makVrv::DtContourizationWidget::myIntervalLabel [protected] |
QDoubleSpinBox* makVrv::DtContourizationWidget::myIntervalSpinBox [protected] |
QLabel* makVrv::DtContourizationWidget::myThicknessLabel [protected] |
QDoubleSpinBox* makVrv::DtContourizationWidget::myThicknessSpinBox [protected] |
QSpacerItem* makVrv::DtContourizationWidget::spacerItem [protected] |
QSpacerItem* makVrv::DtContourizationWidget::spacerItem1 [protected] |