VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtTreeRandomizationWidget Class Reference

A widget for controlling contour settings and controlled by DtTreeRandomizationLogic. More...

Inheritance diagram for makVrv::DtTreeRandomizationWidget:
Inheritance graph
[legend]

Public Member Functions

 DtTreeRandomizationWidget (QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtTreeRandomizationWidget ()
 Virtual DTOR.
Field value setters.

Sets the values of the widget's corresponding fields.

virtual void setTreeScaleRandomizationEnabled (bool enabled)
 Set the interface's "tree scale randomization enabled" state Called by the logic.
virtual void setTreeOrientationRandomizationEnabled (bool enabled)
 Set the interface's current "tree orientation randomization enabled" state Called by the logic.
virtual void setTreeMinScale (double minScale)
 Set the interface's current min scale value Called by the logic.
virtual void setTreeMaxScale (double maxScale)
 Set the interface's current max scale value Called by the logic.
Field value getters.

Gets the values of the widget's corresponding fields.

virtual bool treeScaleRandomizationEnabled ()
 Returns the interface's current "tree scale randomization enabled" state.
virtual bool treeOrientationRandomizationEnabled ()
 Returns the interface's current "tree orientation randomization enabled" state.
virtual double treeMinScale ()
 Returns the interface's current tree min scale value.
virtual double treeMaxScale ()
 Returns the interface's current tree max scale value.

Protected Slots

User input slots.

Receives notification that the user has changed a widget's value.

virtual void onTreeScaleRandomizationEnabledChanged (int enabled)
 Called when the user checks/unchecks "tree scale randomization enabled".
virtual void onTreeOrientationRandomizationChanged (int enabled)
 Called when the user checks/unchecks "tree orientation randomization enabled".
virtual void onTreeMinScaleChanged (double value)
 Called when the user changes the tree min scale.
virtual void onTreeMaxScaleChanged (double value)
 Called when the user changes the tree max scale.

Protected Member Functions

void setupGui ()
 Sets up the widget's fields.

Protected Attributes

QVBoxLayout * myGroupLayout
QGroupBox * myGroupBox
QVBoxLayout * myMainLayout
QLabelmyTreeSaveInfoLabel
QCheckBoxmyEnableTreeScaleRandomizationCheckBox
QLabelmyTreeMinScaleLabel
QDoubleSpinBox * myTreeMinScaleSpinBox
QLabelmyTreeMaxScaleLabel
QDoubleSpinBox * myTreeMaxScaleSpinBox
QSpacerItem * mySpacerItem
QCheckBoxmyEnableTreeOrientationRandomizationCheckBox
QSpacerItem * mySpacerItem1
QSpacerItem * mySpacerItem2

Additional Inherited Members

- Public Attributes inherited from makVrv::DtTreeRandomizationInterface
boost::signal< void(bool)> signal_treeOrientationRandomizationEnabledChanged
 Signal emitted when the user checks/unchecks "tree orientation randomization enabled".
boost::signal< void(bool)> signal_treeScaleRandomizationEnabledChanged
 Signal emitted when the user checks/unchecks "tree scale randomization enabled".
boost::signal< void(double)> signal_treeMaxScaleChanged
 Signal emitted when the user changes the tree max scale .
boost::signal< void(double)> signal_treeMinScaleChanged
 Signal emitted when the user changes the tree min scale.

Detailed Description

A widget for controlling contour settings and controlled by DtTreeRandomizationLogic.

Constructor & Destructor Documentation

makVrv::DtTreeRandomizationWidget::DtTreeRandomizationWidget ( QWidget parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual makVrv::DtTreeRandomizationWidget::~DtTreeRandomizationWidget ( )
virtual

Virtual DTOR.

Member Function Documentation

virtual void makVrv::DtTreeRandomizationWidget::setTreeScaleRandomizationEnabled ( bool  enabled)
virtual

Set the interface's "tree scale randomization enabled" state Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeOrientationRandomizationEnabled ( bool  enabled)
virtual

Set the interface's current "tree orientation randomization enabled" state Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeMinScale ( double  minScale)
virtual

Set the interface's current min scale value Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::setTreeMaxScale ( double  maxScale)
virtual

Set the interface's current max scale value Called by the logic.

Implements makVrv::DtTreeRandomizationInterface.

virtual bool makVrv::DtTreeRandomizationWidget::treeScaleRandomizationEnabled ( )
virtual

Returns the interface's current "tree scale randomization enabled" state.

Implements makVrv::DtTreeRandomizationInterface.

virtual bool makVrv::DtTreeRandomizationWidget::treeOrientationRandomizationEnabled ( )
virtual

Returns the interface's current "tree orientation randomization enabled" state.

Implements makVrv::DtTreeRandomizationInterface.

virtual double makVrv::DtTreeRandomizationWidget::treeMinScale ( )
virtual

Returns the interface's current tree min scale value.

Implements makVrv::DtTreeRandomizationInterface.

virtual double makVrv::DtTreeRandomizationWidget::treeMaxScale ( )
virtual

Returns the interface's current tree max scale value.

Implements makVrv::DtTreeRandomizationInterface.

virtual void makVrv::DtTreeRandomizationWidget::onTreeScaleRandomizationEnabledChanged ( int  enabled)
protectedvirtualslot

Called when the user checks/unchecks "tree scale randomization enabled".

virtual void makVrv::DtTreeRandomizationWidget::onTreeOrientationRandomizationChanged ( int  enabled)
protectedvirtualslot

Called when the user checks/unchecks "tree orientation randomization enabled".

virtual void makVrv::DtTreeRandomizationWidget::onTreeMinScaleChanged ( double  value)
protectedvirtualslot

Called when the user changes the tree min scale.

virtual void makVrv::DtTreeRandomizationWidget::onTreeMaxScaleChanged ( double  value)
protectedvirtualslot

Called when the user changes the tree max scale.

void makVrv::DtTreeRandomizationWidget::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

Member Data Documentation

QVBoxLayout* makVrv::DtTreeRandomizationWidget::myGroupLayout
protected
QGroupBox* makVrv::DtTreeRandomizationWidget::myGroupBox
protected
QVBoxLayout* makVrv::DtTreeRandomizationWidget::myMainLayout
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeSaveInfoLabel
protected
QCheckBox* makVrv::DtTreeRandomizationWidget::myEnableTreeScaleRandomizationCheckBox
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeMinScaleLabel
protected
QDoubleSpinBox* makVrv::DtTreeRandomizationWidget::myTreeMinScaleSpinBox
protected
QLabel* makVrv::DtTreeRandomizationWidget::myTreeMaxScaleLabel
protected
QDoubleSpinBox* makVrv::DtTreeRandomizationWidget::myTreeMaxScaleSpinBox
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem
protected
QCheckBox* makVrv::DtTreeRandomizationWidget::myEnableTreeOrientationRandomizationCheckBox
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem1
protected
QSpacerItem* makVrv::DtTreeRandomizationWidget::mySpacerItem2
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)