All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 58 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

Definition at line 55 of file SliderPropertiesDialog.cpp.

References m_tsw, m_ui, and onHelpPushButtonClicked().

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

Destructor.

It destructs a Slider Slider Dialog

Definition at line 102 of file SliderPropertiesDialog.cpp.

Member Function Documentation

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

It gets the final time as QDateTime.

Returns
The final time.

Definition at line 165 of file SliderPropertiesDialog.cpp.

te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getFinalTime ( )

It gets the final time.

Returns
The final time.

Definition at line 175 of file SliderPropertiesDialog.cpp.

References qdate2TimeInstant().

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

It gets the initial time as QDateTime.

Returns
The initial time.

Definition at line 160 of file SliderPropertiesDialog.cpp.

te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getInitialTime ( )

It gets the initial time.

Returns
The initial time.

Definition at line 170 of file SliderPropertiesDialog.cpp.

References qdate2TimeInstant().

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

Definition at line 145 of file SliderPropertiesDialog.cpp.

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.

Definition at line 155 of file SliderPropertiesDialog.cpp.

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.

Definition at line 150 of file SliderPropertiesDialog.cpp.

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

Definition at line 180 of file SliderPropertiesDialog.cpp.

void te::qt::widgets::SliderPropertiesDialog::onHelpPushButtonClicked ( )
protectedslot

Definition at line 184 of file SliderPropertiesDialog.cpp.

Referenced by SliderPropertiesDialog().

Friends And Related Function Documentation

friend class TimeSliderWidget
friend

Definition at line 62 of file SliderPropertiesDialog.h.

Member Data Documentation

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

The Timer Slider Widget pointer.

Definition at line 189 of file SliderPropertiesDialog.h.

Referenced by SliderPropertiesDialog().

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 188 of file SliderPropertiesDialog.h.

Referenced by SliderPropertiesDialog(), and te::qt::widgets::TimeSliderWidget::TimeSliderWidget().


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