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:
QDialog

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::unique_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

Definition at line 55 of file SliderPropertiesDialog.cpp.

References m_tsw, m_ui, onHelpPushButtonClicked(), and ~SliderPropertiesDialog().

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

Destructor.

It destructs a Slider Slider Dialog

Referenced by SliderPropertiesDialog().

Member Function Documentation

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

It gets the final time as QDateTime.

Returns
The final time.

Definition at line 164 of file SliderPropertiesDialog.cpp.

References m_ui.

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

It gets the final time.

Returns
The final time.

Definition at line 174 of file SliderPropertiesDialog.cpp.

References m_ui, and qdate2TimeInstant().

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

It gets the initial time as QDateTime.

Returns
The initial time.

Definition at line 159 of file SliderPropertiesDialog.cpp.

References m_ui.

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

It gets the initial time.

Returns
The initial time.

Definition at line 169 of file SliderPropertiesDialog.cpp.

References m_ui, and 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 144 of file SliderPropertiesDialog.cpp.

References m_ui.

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 154 of file SliderPropertiesDialog.cpp.

References m_ui.

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 149 of file SliderPropertiesDialog.cpp.

References m_ui.

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 179 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 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.

Referenced by SliderPropertiesDialog().

std::unique_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.

Referenced by te::qt::widgets::TimeSliderWidget::addTemporalImages(), te::qt::widgets::TimeSliderWidget::addTrajectory(), te::qt::widgets::TimeSliderWidget::adjustPropertyDialog(), te::qt::widgets::TimeSliderWidget::dropAction(), te::qt::widgets::TimeSliderWidget::eventFilter(), getFinalQDate(), getFinalTime(), te::qt::widgets::TimeSliderWidget::getFinalTime(), getInitialQDate(), getInitialTime(), te::qt::widgets::TimeSliderWidget::getInitialTime(), te::qt::widgets::TimeSliderWidget::initProperty(), isForwardChecked(), isGoBackChecked(), isLoopChecked(), te::qt::widgets::TimeSliderWidget::isSettingChanged(), te::qt::widgets::TimeSliderWidget::onAnimationComboBoxActivated(), te::qt::widgets::TimeSliderWidget::onApplyTimeIntervalPushButtonClicked(), te::qt::widgets::TimeSliderWidget::onAutoPanCheckBoxClicked(), te::qt::widgets::TimeSliderWidget::onBackPushButtonClicked(), te::qt::widgets::TimeSliderWidget::onDrawTrailCheckBoxClicked(), te::qt::widgets::TimeSliderWidget::onFrontPushButtonClicked(), te::qt::widgets::TimeSliderWidget::onIconRotateCheckBoxClicked(), te::qt::widgets::TimeSliderWidget::onOpacityValueChanged(), te::qt::widgets::TimeSliderWidget::onPanFactorValueChanged(), te::qt::widgets::TimeSliderWidget::onPlayToolButtonnClicked(), te::qt::widgets::TimeSliderWidget::onRemoveAllPushButtonClicked(), te::qt::widgets::TimeSliderWidget::onRemovePushButtonClicked(), te::qt::widgets::TimeSliderWidget::onResetFinalTimePushButtonClicked(), te::qt::widgets::TimeSliderWidget::onResetInitialTimePushButtonClicked(), te::qt::widgets::TimeSliderWidget::onTrajectoryPixmapSizeChanged(), populateUi(), te::qt::widgets::TimeSliderWidget::removeAnimation(), te::qt::widgets::TimeSliderWidget::showPropertySection(), SliderPropertiesDialog(), and te::qt::widgets::TimeSliderWidget::TimeSliderWidget().


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