VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtTrackHistorySettingsWidget Class Reference

This widget contains fields for configuring track histories. More...

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

List of all members.

Public Member Functions

 DtTrackHistorySettingsWidget (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtTrackHistorySettingsWidget ()
 Virtual DTOR.
virtual void setLengthSliderDisabled (bool disabled)
 Sets whether the slider for adjusting ribbon length should be disabled.
Field Value Getters/Setters
virtual int trackHistoryRibbonLength () const
 Gets the maximum track history ribbon length (in samples).
virtual void setTrackHistoryRibbonLength (int maxSamples)
 Sets the maximum track history ribbon length (in samples).
virtual float trackHistoryRibbonSpacing () const
 Gets the spacing between track history ribbon samples (in meters).
virtual void setTrackHistoryRibbonSpacing (float spacing)
 Sets the spacing between track history ribbon samples (in meters).
virtual bool trackHistoryRibbonInfinite () const
 Gets whether the track history ribbon is 'infinitely' long (250k samples).
virtual void setTrackHistoryRibbonInfinite (bool isInfinite)
 Sets whether the track history ribbon is 'infinitely' long (250k samples).

Protected Slots

User input slots
void slot_onTrackHistoryRibbonLengthChanged (int maxSamples)
 Sends a signal indicating the user has changed the ribbon length.
void slot_onTrackHistoryRibbonSpacingChanged (double spacing)
 Sends a signal indicating the user has changed the ribbon spacing.
void slot_onTrackHistoryRibbonInfiniteChanged (int checkedState)
 Sends a signal indicating the user has toggled 'infinite' ribbons.

Protected Member Functions

void setupGui ()
 Create gui layout and widgets.
void connectToSignals ()
 Connect to widget changed signals.

Protected Attributes

QLabelmyLengthLabel
QSlider * myLengthSlider
QSpinBox * myLengthSpinner
QCheckBoxmyInfiniteCheckBox
QDoubleSpinBox * mySpacingSpinBox
DtDemyDe

Detailed Description

This widget contains fields for configuring track histories.


Constructor & Destructor Documentation

makVrv::DtTrackHistorySettingsWidget::DtTrackHistorySettingsWidget ( DtDe de,
QWidget parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

Virtual DTOR.


Member Function Documentation

Gets the maximum track history ribbon length (in samples).

Implements makVrv::DtTrackHistorySettingsInterface.

virtual void makVrv::DtTrackHistorySettingsWidget::setTrackHistoryRibbonLength ( int  maxSamples) [virtual]

Sets the maximum track history ribbon length (in samples).

Implements makVrv::DtTrackHistorySettingsInterface.

Gets the spacing between track history ribbon samples (in meters).

Implements makVrv::DtTrackHistorySettingsInterface.

virtual void makVrv::DtTrackHistorySettingsWidget::setTrackHistoryRibbonSpacing ( float  spacing) [virtual]

Sets the spacing between track history ribbon samples (in meters).

Implements makVrv::DtTrackHistorySettingsInterface.

Gets whether the track history ribbon is 'infinitely' long (250k samples).

Implements makVrv::DtTrackHistorySettingsInterface.

Sets whether the track history ribbon is 'infinitely' long (250k samples).

Implements makVrv::DtTrackHistorySettingsInterface.

Sets whether the slider for adjusting ribbon length should be disabled.

The ribbon length should not be modifyable if 'infinite' ribbons are on.

Implements makVrv::DtTrackHistorySettingsInterface.

Sends a signal indicating the user has changed the ribbon length.

Sends a signal indicating the user has changed the ribbon spacing.

Sends a signal indicating the user has toggled 'infinite' ribbons.

Create gui layout and widgets.

Non-virtual (Called from CTOR).

Connect to widget changed signals.

Non-virtual (Called from CTOR).


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)