A dialog used to configure the behaviour of the SliderSliderWidget. More...
#include <SliderPropertiesDialog.h>
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 | |
| TimeSliderWidget * | m_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 |
A dialog used to configure the behaviour of the SliderSliderWidget.
Definition at line 60 of file SliderPropertiesDialog.h.
| 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().
|
default |
| QDateTime te::qt::widgets::SliderPropertiesDialog::getFinalQDate | ( | ) |
It gets the final time as QDateTime.
Definition at line 164 of file SliderPropertiesDialog.cpp.
References m_ui.
| te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getFinalTime | ( | ) |
It gets 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.
Definition at line 159 of file SliderPropertiesDialog.cpp.
References m_ui.
| te::dt::TimeInstant te::qt::widgets::SliderPropertiesDialog::getInitialTime | ( | ) |
It gets 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.
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.
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.
Definition at line 149 of file SliderPropertiesDialog.cpp.
References m_ui.
|
protectedslot |
AutoPan radio button clicked.
| b | True if the button is checked, or false if the button is unchecked |
Draw track radio button clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 179 of file SliderPropertiesDialog.cpp.
|
protectedslot |
Definition at line 184 of file SliderPropertiesDialog.cpp.
Referenced by SliderPropertiesDialog().
| void te::qt::widgets::SliderPropertiesDialog::populateUi | ( | ) |
It initialize a property animation dialog.
Definition at line 105 of file SliderPropertiesDialog.cpp.
References te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimeDuration::getHours(), te::dt::TimePeriod::getInitialTimeInstant(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), te::dt::Date::getYear(), te::qt::widgets::TimeSliderWidget::m_direction, te::qt::widgets::TimeSliderWidget::m_goAndBack, te::qt::widgets::TimeSliderWidget::m_loop, te::qt::widgets::TimeSliderWidget::m_temporalAnimationExtent, te::qt::widgets::TimeSliderWidget::m_temporalExtent, and m_ui.
|
friend |
Definition at line 64 of file SliderPropertiesDialog.h.
|
private |
The Timer Slider Widget pointer.
Definition at line 191 of file SliderPropertiesDialog.h.
Referenced by SliderPropertiesDialog().
|
private |
It takes the necessary steps after changing the duration.
| v | Value of opacity (0 - 255). |
Trajectory color combo box activated.
| i | The index of combo box. |
Opacity combo box activated.
| i | The 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().