te::qt::widgets::SliderPropertiesDialog Class Reference

A dialog used to configure the behaviour of the SliderSliderWidget. More...

#include <SliderPropertiesDialog.h>

Inheritance diagram for te::qt::widgets::SliderPropertiesDialog:

Public Member Functions

QDateTime getFinalQDate ()
 It gets the final time as QDateTime. More...
 
te::dt::TimeInstant getFinalTime ()
 It gets the final time. More...
 
QDateTime getInitialQDate ()
 It gets the initial time as QDateTime. More...
 
te::dt::TimeInstant getInitialTime ()
 It gets the initial time. More...
 
bool isForwardChecked ()
 It returns a boolean that indicates if animation is going forward or backward. More...
 
bool isGoBackChecked ()
 It returns a boolean that indicates if the time slider animation is to reverse it's direction on ce a loop is finished. More...
 
bool isLoopChecked ()
 It returns a boolean that indicates if the time slider animation is supposed to be displayed looping or not. More...
 
void populateUi ()
 It initialize a property animation dialog. More...
 
 SliderPropertiesDialog (QWidget *parent, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~SliderPropertiesDialog ()
 Destructor. More...
 

Protected Slots

void onDrawTrackCheckBoxClicked (bool b)
 AutoPan radio button clicked. More...
 
void onHelpPushButtonClicked ()
 

Private Attributes

TimeSliderWidgetm_tsw
 The Timer Slider Widget pointer. More...
 
std::auto_ptr< Ui::SliderPropertiesDialogForm > m_ui
 It takes the necessary steps after changing the duration. More...
 

Friends

class TimeSliderWidget
 

Detailed Description

A dialog used to configure the behaviour of the SliderSliderWidget.

Definition at line 60 of file SliderPropertiesDialog.h.

Constructor & Destructor Documentation

te::qt::widgets::SliderPropertiesDialog::SliderPropertiesDialog ( QWidget *  parent,
Qt::WindowFlags  f = 0 
)

Constructor.

It constructs a Slider Slider Dialog

te::qt::widgets::SliderPropertiesDialog::~SliderPropertiesDialog ( )

Destructor.

It destructs a Slider Slider Dialog

Member Function Documentation

QDateTime te::qt::widgets::SliderPropertiesDialog::getFinalQDate ( )

It gets the final time as QDateTime.

Returns
The final time.
te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getFinalTime ( )

It gets the final time.

Returns
The final time.
QDateTime te::qt::widgets::SliderPropertiesDialog::getInitialQDate ( )

It gets the initial time as QDateTime.

Returns
The initial time.
te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getInitialTime ( )

It gets the initial time.

Returns
The initial time.
bool te::qt::widgets::SliderPropertiesDialog::isForwardChecked ( )

It returns a boolean that indicates if animation is going forward or backward.

Returns
A boolean that indicates if animation is going forward or backward
bool te::qt::widgets::SliderPropertiesDialog::isGoBackChecked ( )

It returns a boolean that indicates if the time slider animation is to reverse it's direction on ce a loop is finished.

Returns
A boolean that indicates if the animation is supposed to have it's direction reversed.
bool te::qt::widgets::SliderPropertiesDialog::isLoopChecked ( )

It returns a boolean that indicates if the time slider animation is supposed to be displayed looping or not.

Returns
A boolean that indicates if the animation is supposed to be displayed on a loop.
void te::qt::widgets::SliderPropertiesDialog::onDrawTrackCheckBoxClicked ( bool  b)
protectedslot

AutoPan radio button clicked.

Parameters
bTrue if the button is checked, or false if the button is unchecked

Draw track radio button clicked.

Parameters
bTrue if the button is checked, or false if the button is unchecked
void te::qt::widgets::SliderPropertiesDialog::onHelpPushButtonClicked ( )
protectedslot
void te::qt::widgets::SliderPropertiesDialog::populateUi ( )

It initialize a property animation dialog.

Friends And Related Function Documentation

friend class TimeSliderWidget
friend

Definition at line 64 of file SliderPropertiesDialog.h.

Member Data Documentation

TimeSliderWidget* te::qt::widgets::SliderPropertiesDialog::m_tsw
private

The Timer Slider Widget pointer.

Definition at line 191 of file SliderPropertiesDialog.h.

std::auto_ptr<Ui::SliderPropertiesDialogForm> te::qt::widgets::SliderPropertiesDialog::m_ui
private

It takes the necessary steps after changing the duration.

Parameters
vValue of opacity (0 - 255).

Trajectory color combo box activated.

Parameters
iThe index of combo box.

Opacity combo box activated.

Parameters
iThe index of combo box.

Reset initial time button clicked.

Reset final time button clicked.The widget form.

Definition at line 190 of file SliderPropertiesDialog.h.


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