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::DtIntersectorSettingsWidget Class Reference

DtIntersectorSettingsWidget implements the DtIntersectorSettingsInterface for Qt. More...

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

Public Member Functions

 DtIntersectorSettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags flags=Qt::Widget)
 CTOR.
virtual ~DtIntersectorSettingsWidget ()
 DTOR.
virtual void setIntersectorDrawEnabled (bool enabled)
 Set whether intersectors are visualized.
virtual void setIntersectorDrawnDuration (float duration)
 Set the duration that each drawn intersector exists.
virtual void setFailedIntersectorColor (const DtColorValue &color)
 Set the color to draw failed intersectors.
virtual void setOddSegmentIntersectorColor (const DtColorValue &color)
 Set the color to draw the odd-numbered segments of successful intersectors.
virtual void setEvenSegmentIntersectorColor (const DtColorValue &color)
 Set the color to draw the even- numbered segments of successful intersectors.
- Public Member Functions inherited from makVrv::DtIntersectorSettingsInterface
virtual ~DtIntersectorSettingsInterface ()
 DTOR.

Protected Slots

virtual void on_intersectorDrawEnabledChanged (int enabled)
 Slots used to communicate between the widget and its Qt sub-widgets.
virtual void on_intersectorDrawnDurationChanged (double duration)
 Slots used to communicate between the widget and its Qt sub-widgets.
virtual void on_failedIntersectorColorValueChanged (const QColor &)
 Slots used to communicate between the widget and its Qt sub-widgets.
virtual void on_oddSegmentIntersectorColorValueChanged (const QColor &)
 Slots used to communicate between the widget and its Qt sub-widgets.
virtual void on_evenIntersectorColorValueChanged (const QColor &)
 Slots used to communicate between the widget and its Qt sub-widgets.

Protected Member Functions

void setupGui ()
 Sets up the widget's fields.
void connectToSignals ()
 Connects widget signals to slots.
void enableIntersectorParameters (bool enabled)
 Enable / disable the intersector parameter widgets based on the draw state.

Protected Attributes

DtDemyDe
QCheckBoxmyIntersectorDrawEnabledCheckbox
QLabelmyIntersectorDrawnDurationLabel
DtSliderDoubleSpinboxWidgetmyIntersectorDrawnDurationSlider
QLabelmyFailedIntersectorColorLabel
DtColorPushButtonmyFailedIntersectorColorPushButton
QLabelmyOddSegmentIntersectorColorLabel
DtColorPushButtonmyOddSegmentIntersectorColorPushButton
QLabelmyEvenSegmentIntersectorColorLabel
DtColorPushButtonmyEvenSegmentIntersectorColorPushButton

Additional Inherited Members

- Public Attributes inherited from makVrv::DtIntersectorSettingsInterface
boost::signal< void(bool)> signal_intersectorDrawEnabledChanged
 Signals raised by the widget to communicate with the logic.
boost::signal< void(float)> signal_intersectorDrawnDurationChanged
 Signals raised by the widget to communicate with the logic.
boost::signal< void(DtColorValue)> signal_failedIntersectorColorChanged
 Signals raised by the widget to communicate with the logic.
boost::signal< void(DtColorValue)> signal_oddSegmentIntersectorColorChanged
 Signals raised by the widget to communicate with the logic.
boost::signal< void(DtColorValue)> signal_evenSegmentIntersectorColorChanged
 Signals raised by the widget to communicate with the logic.

Detailed Description

DtIntersectorSettingsWidget implements the DtIntersectorSettingsInterface for Qt.

It provides the Qt widgets used to change lighting rendering settings such as lighting scalars

Constructor & Destructor Documentation

makVrv::DtIntersectorSettingsWidget::DtIntersectorSettingsWidget ( DtDe de,
QWidget parent,
Qt::WindowFlags  flags = Qt::Widget 
)

CTOR.

virtual makVrv::DtIntersectorSettingsWidget::~DtIntersectorSettingsWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtIntersectorSettingsWidget::setIntersectorDrawEnabled ( bool  enabled)
virtual

Set whether intersectors are visualized.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setIntersectorDrawnDuration ( float  duration)
virtual

Set the duration that each drawn intersector exists.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setFailedIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw failed intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setOddSegmentIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw the odd-numbered segments of successful intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::setEvenSegmentIntersectorColor ( const DtColorValue color)
virtual

Set the color to draw the even- numbered segments of successful intersectors.

Implements makVrv::DtIntersectorSettingsInterface.

virtual void makVrv::DtIntersectorSettingsWidget::on_intersectorDrawEnabledChanged ( int  enabled)
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

virtual void makVrv::DtIntersectorSettingsWidget::on_intersectorDrawnDurationChanged ( double  duration)
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

virtual void makVrv::DtIntersectorSettingsWidget::on_failedIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

virtual void makVrv::DtIntersectorSettingsWidget::on_oddSegmentIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

virtual void makVrv::DtIntersectorSettingsWidget::on_evenIntersectorColorValueChanged ( const QColor &  )
protectedvirtualslot

Slots used to communicate between the widget and its Qt sub-widgets.

void makVrv::DtIntersectorSettingsWidget::setupGui ( )
protected

Sets up the widget's fields.

Non-virtual (Called from CTOR).

void makVrv::DtIntersectorSettingsWidget::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

void makVrv::DtIntersectorSettingsWidget::enableIntersectorParameters ( bool  enabled)
protected

Enable / disable the intersector parameter widgets based on the draw state.

Member Data Documentation

DtDe& makVrv::DtIntersectorSettingsWidget::myDe
protected
QCheckBox* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawEnabledCheckbox
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawnDurationLabel
protected
DtSliderDoubleSpinboxWidget* makVrv::DtIntersectorSettingsWidget::myIntersectorDrawnDurationSlider
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myFailedIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myFailedIntersectorColorPushButton
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myOddSegmentIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myOddSegmentIntersectorColorPushButton
protected
QLabel* makVrv::DtIntersectorSettingsWidget::myEvenSegmentIntersectorColorLabel
protected
DtColorPushButton* makVrv::DtIntersectorSettingsWidget::myEvenSegmentIntersectorColorPushButton
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)