A wdiget used to control the visualization of temporal data. More...
#include <TimeSliderWidget.h>
Signals | |
| void | deleteTimeSliderWidget () |
| This sign warns that this widget must be destroyed. More... | |
Public Member Functions | |
| void | addTemporalImages (const QString &filePath) |
| void | addTrajectory (te::st::TrajectoryDataSetLayer *tl, const QString &pixmapFile) |
| Add trajectory to animation scene. More... | |
| void | calculateAllSpatialExtent () |
| It calculates the spatial extent. More... | |
| void | calculateAllTemporalExtent () |
| It calculates the temporal extent. More... | |
| void | changeDirection () |
| Change direction. More... | |
| void | createNewPixmap () |
| create new pixmap. More... | |
| void | deleteMe () |
| It emits, indirectly, a sign for this widget is destroyed. More... | |
| void | draw () |
| Set transformation matrix and draw current animation. More... | |
| te::dt::TimeInstant | getFinalTime () |
| It gets the final time. More... | |
| te::dt::TimeInstant | getInitialTime () |
| It gets the initial time. More... | |
| QString | getTemporalImageType (const QString &path) |
| This method is used to find out the type of temporal image has the folder. NOTE: It should be edited to enter with new types of temporal images. NOTE: You must find a way to discover its kind. More... | |
| virtual void | layerAdded (te::map::AbstractLayerPtr layer) |
| This method is used to add a new layer. More... | |
| virtual void | layerRemoved (te::map::AbstractLayerPtr layer) |
| This method is used to remove a layer. More... | |
| virtual void | layerSelected (te::map::AbstractLayerPtr layer) |
| This method is used to set current layer. More... | |
| te::qt::widgets::ImageItem * | loadImageData (const QString &path) |
| This method is used to load a temporal image data. NOTE: It should be edited to enter with new types of temporal images. More... | |
| void | putToBack (AnimationItem *item) |
| It puts graphic item to back. More... | |
| void | putToFront (AnimationItem *item) |
| It puts graphic item to front. More... | |
| void | setDirection (const QAbstractAnimation::Direction &direction) |
| Sets the animation direction. More... | |
| void | setDuration (const unsigned int &duration) |
| Sets the animation duration. More... | |
| void | setGoAndBack (bool t) |
| Sets the mode of animation. More... | |
| void | showWidget (const bool &b) |
| TimeSliderWidget (MapDisplay *d, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| ~TimeSliderWidget () | |
| Destructor. More... | |
Protected Slots | |
| void | dropAction () |
| void | onAnimationComboBoxActivated (int i) |
| Opacity combo box activated. More... | |
| void | onAnimationDragEnterEvent (QDragEnterEvent *e) |
| Drag enter event on display. More... | |
| void | onAnimationDropEvent (QDropEvent *) |
| void | onApplyTimeIntervalPushButtonClicked (bool b) |
| Apply time interval push button clicked. More... | |
| void | onAutoPanCheckBoxClicked (bool) |
| void | onBackPushButtonClicked (bool b) |
| void | onBackwardRadioButtonClicked (bool b) |
| Backward radio button clicked. More... | |
| void | onDateTimeEditChanged (const QDateTime &t) |
| It takes the necessary steps after changing the current time of animation. More... | |
| void | onDisplayPaintEvent (QPainter *p) |
| it draw on display. More... | |
| void | onDrawTrailCheckBoxClicked (bool b) |
| Draw track check box clicked. More... | |
| void | onDurationValueChanged (int v) |
| It takes the necessary steps after changing the duration. More... | |
| void | onExtentChanged () |
| It takes the necessary measures after the change of extent. More... | |
| void | onFinishAnimation () |
| It takes the necessary measures after the end of the trajectory. More... | |
| void | onForwardRadioButtonClicked (bool b) |
| Forward radio button clicked. More... | |
| void | onFrontPushButtonClicked (bool b) |
| void | onGoAndBackCheckBoxClicked (bool b) |
| Forward and then backward check box clicked. More... | |
| void | onHelpPushButtonClicked () |
| Help button clicked. More... | |
| void | onIconRotateCheckBoxClicked (bool) |
| void | onLoopCheckBoxClicked (bool b) |
| Loop check box clicked. More... | |
| void | onOpacityValueChanged (int v) |
| It takes the necessary steps after changing the duration. More... | |
| void | onPanFactorValueChanged (double) |
| void | onPlayToolButtonnClicked () |
| Play or pause the animation. More... | |
| void | onRemoveAllPushButtonClicked (bool) |
| Remove all animations. More... | |
| void | onRemovePushButtonClicked (bool) |
| Remove item animation. More... | |
| void | onResetFinalTimePushButtonClicked () |
| Reset final time button clicked. More... | |
| void | onResetInitialTimePushButtonClicked () |
| Reset initial time button clicked. More... | |
| void | onSettingsToolButtonnClicked () |
| it opens the configuration window animation. More... | |
| void | onSliderMoved (int value) |
| It takes the necessary measures after slider move. More... | |
| void | onSridChanged () |
| It takes the necessary measures after the change of extent. More... | |
| void | onStopToolButtonnClicked () |
| Stop animation. More... | |
| void | onTrajectoryPixmapSizeChanged (int) |
Protected Member Functions | |
| void | adjustPropertyDialog (te::qt::widgets::AnimationItem *) |
| bool | coverageAlreadyExists (QPair< QString, QString > &item) |
| void | createAnimations () |
| Create animations. More... | |
| void | erase (const unsigned int &curTime) |
| It Erase trajectory piece. More... | |
| bool | eventFilter (QObject *, QEvent *) |
| it filters the events of interest. More... | |
| QDateTime | fixDateTimeEdit (QDateTimeEdit *dte, const QDateTime &t) |
| It corrects the edited date time. More... | |
| int | getAnimationTime (const te::dt::TimeInstant &tinstant) |
| It it gets the animation time on a time instant. /param tinstant The time instant. More... | |
| QString | getDateString (const te::dt::TimeInstant &t) |
| te::dt::TimeInstant | getTimeInstant () |
| It it gets the animation time instant. More... | |
| void | initProperty () |
| It initialize a property animation dialog. More... | |
| bool | isSettingChanged () |
| Is Setting Changed. More... | |
| void | loadAnimation (const QString &title) |
| void | play () |
| Play animation. More... | |
| void | removeAnimation (const int &ind) |
| void | setErasePerfectly (bool b) |
| True to erase trajectory piece perfectly. Note: Perfectly clear implies loss of performance. More... | |
| void | showPropertySection (bool b) |
| Show Property. More... | |
| bool | trajectoryAlreadyExists (QPair< QString, QString > &item) |
| void | updateSliderPos () |
| Updates the position of the slider with respect to time animation. More... | |
| void | updateTimeTextEdit () |
| Update animation time. More... | |
Private Attributes | |
| QList< QString > | m_animationIdList |
| List containing the shadow of m_ui->m_animationComboBox. More... | |
| AnimationScene * | m_animationScene |
| The animation scene. More... | |
| QGraphicsView * | m_animationView |
| The animation graphics view. More... | |
| bool | m_comingBack |
| Flag to indicate that the trend is coming back. More... | |
| QList< QPair< QString, QString > > | m_coverageItemList |
| List of all animation items (title, path). More... | |
| int | m_currentTime |
| Current animation time (relative to time duration). More... | |
| bool | m_dateTimeChanged |
| flag to signal change in animation time. More... | |
| QAbstractAnimation::Direction | m_direction |
| QAbstractAnimation::Forward or QAbstractAnimation::Backward. More... | |
| MapDisplay * | m_display |
| The map display. More... | |
| QByteArray | m_dropBA |
| Layer animation with drag and drop. More... | |
| Qt::KeyboardModifiers | m_dropModifiers |
| Control pressed to add animation with drag and drop. More... | |
| QList< QUrl > | m_dropUrls |
| Urls to animation with drag and drop. More... | |
| int | m_duration |
| The animation's duration time in miliseconds. More... | |
| bool | m_erasePerfectly |
| flag to erase trajectory piece perfectly (default = false). More... | |
| bool | m_finished |
| flag to signal animation finish. More... | |
| bool | m_goAndBack |
| Forward and then backward direction. More... | |
| bool | m_loop |
| This property holds whether the slider's animation is on loop. More... | |
| int | m_maxSliderValue |
| The max slider value. More... | |
| QDateTime | m_oldFQDateTime |
| The old final Qt date time. More... | |
| QDateTime | m_oldIQDateTime |
| The old initial Qt date time. More... | |
| QDateTime | m_oldQDateTime |
| The old Qt date time. More... | |
| double | m_panFactor |
| the range is between 0.002 and 0.5 More... | |
| QParallelAnimationGroup * | m_parallelAnimation |
| The parallel animation. More... | |
| bool | m_paused |
| flag to signal animation pause. More... | |
| te::gm::Envelope | m_spatialExtent |
| Spatial extent. More... | |
| SliderPropertiesDialog * | m_spd |
| Slider Properties Dialog. More... | |
| te::dt::TimePeriod | m_temporalAnimationExtent |
| Animation temporal extent. It is used for show animation. More... | |
| te::dt::TimePeriod | m_temporalExtent |
| Temporal extent. More... | |
| QList< QPair< QString, te::st::TrajectoryDataSetLayer * > > | m_trajectoryItemList |
| List of all trajectory items (title, layer). More... | |
| std::unique_ptr< Ui::TimeSliderWidgetForm > | m_ui |
| The widget form. More... | |
Friends | |
| class | SliderPropertiesDialog |
A wdiget used to control the visualization of temporal data.
Definition at line 87 of file TimeSliderWidget.h.
| te::qt::widgets::TimeSliderWidget::TimeSliderWidget | ( | MapDisplay * | d, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
It constructs a Time Slider Widget
Definition at line 69 of file TimeSliderWidget.cpp.
References te::map::MapDisplay::getExtent(), te::map::MapDisplay::getSRID(), te::gm::Envelope::isValid(), m_animationScene, m_animationView, m_direction, m_display, m_duration, m_loop, m_maxSliderValue, m_panFactor, m_parallelAnimation, m_spd, te::qt::widgets::AnimationItem::m_SRID, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onAnimationDragEnterEvent(), onAnimationDropEvent(), onDateTimeEditChanged(), onDisplayPaintEvent(), onDurationValueChanged(), onExtentChanged(), onFinishAnimation(), onPlayToolButtonnClicked(), onSettingsToolButtonnClicked(), onSliderMoved(), onSridChanged(), onStopToolButtonnClicked(), te::qt::widgets::MapDisplay::setExtent(), setGoAndBack(), te::qt::widgets::MapDisplay::setSRID(), and SliderPropertiesDialog.
| te::qt::widgets::TimeSliderWidget::~TimeSliderWidget | ( | ) |
Destructor.
It destructs a Time Slider Widget
Definition at line 226 of file TimeSliderWidget.cpp.
References b, m_animationScene, m_animationView, and m_parallelAnimation.
| void te::qt::widgets::TimeSliderWidget::addTemporalImages | ( | const QString & | filePath | ) |
Definition at line 724 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::addItem(), calculateAllSpatialExtent(), calculateAllTemporalExtent(), createAnimations(), initProperty(), loadImageData(), te::qt::widgets::AnimationItem::m_animation, m_animationIdList, m_animationScene, m_currentTime, te::qt::widgets::ImageItem::m_dir, m_direction, m_duration, m_parallelAnimation, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onAnimationComboBoxActivated(), onPlayToolButtonnClicked(), setDirection(), and setDuration().
Referenced by dropAction().
| void te::qt::widgets::TimeSliderWidget::addTrajectory | ( | te::st::TrajectoryDataSetLayer * | tl, |
| const QString & | pixmapFile | ||
| ) |
Add trajectory to animation scene.
| title | The trajectory title. |
| pixmapFile | The trajectory icon. |
| poinstFile | The trajectory points. |
Definition at line 633 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::addItem(), calculateAllSpatialExtent(), calculateAllTemporalExtent(), te::dt::AbstractData::clone(), te::gm::CurvePolygon::computeMBR(), createAnimations(), te::st::TrajectoryDataSet::getGeometry(), te::map::AbstractLayer::getId(), te::map::AbstractLayer::getSRID(), te::st::TrajectoryDataSet::getTemporalExtent(), te::st::TrajectoryDataSet::getTime(), te::dt::TimeInstant::getTimeInstant(), te::map::AbstractLayer::getTitle(), te::st::TrajectoryDataSetLayer::getTrajectoryDataset(), te::gm::Point::getX(), te::gm::Point::getY(), initProperty(), te::mnt::Linear, te::gm::LineStringType, m_animationIdList, m_animationScene, m_currentTime, m_direction, m_display, m_duration, m_parallelAnimation, te::qt::widgets::Animation::m_spatialExtent, m_spd, te::qt::widgets::Animation::m_temporalExtent, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, te::st::TrajectoryDataSet::moveNext(), onAnimationComboBoxActivated(), onPlayToolButtonnClicked(), p, te::gm::PointType, setDirection(), and setDuration().
Referenced by dropAction(), and layerAdded().
|
protected |
Definition at line 2306 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationItem::m_automaticPan, te::qt::widgets::TrajectoryItem::m_backwardColor, te::qt::widgets::TrajectoryItem::m_doIconRotate, te::qt::widgets::TrajectoryItem::m_drawTrail, te::qt::widgets::TrajectoryItem::m_forwardColor, te::qt::widgets::AnimationItem::m_panFactor, m_panFactor, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
Referenced by onAnimationComboBoxActivated().
| void te::qt::widgets::TimeSliderWidget::calculateAllSpatialExtent | ( | ) |
It calculates the spatial extent.
Definition at line 778 of file TimeSliderWidget.cpp.
References te::map::MapDisplay::getExtent(), te::gm::Envelope::getHeight(), te::map::MapDisplay::getSRID(), te::gm::Envelope::getWidth(), te::gm::Envelope::isValid(), te::qt::widgets::AnimationItem::m_animation, m_animationScene, m_animationView, m_display, te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::qt::widgets::Animation::m_spatialExtent, m_spatialExtent, te::qt::widgets::AnimationItem::m_SRID, TE_UNKNOWN_SRS, te::gm::Envelope::transform(), and te::gm::Envelope::Union().
Referenced by addTemporalImages(), addTrajectory(), onApplyTimeIntervalPushButtonClicked(), onSridChanged(), and removeAnimation().
| void te::qt::widgets::TimeSliderWidget::calculateAllTemporalExtent | ( | ) |
It calculates the temporal extent.
Definition at line 809 of file TimeSliderWidget.cpp.
References te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimePeriod::getInitialTimeInstant(), te::qt::widgets::AnimationItem::m_animation, m_animationScene, te::qt::widgets::Animation::m_temporalAnimationExtent, m_temporalAnimationExtent, te::qt::widgets::Animation::m_temporalExtent, and m_temporalExtent.
Referenced by addTemporalImages(), addTrajectory(), and removeAnimation().
| void te::qt::widgets::TimeSliderWidget::changeDirection | ( | ) |
Change direction.
Definition at line 1512 of file TimeSliderWidget.cpp.
References m_parallelAnimation, and setDirection().
Referenced by onBackwardRadioButtonClicked(), onFinishAnimation(), onForwardRadioButtonClicked(), onGoAndBackCheckBoxClicked(), and onStopToolButtonnClicked().
|
protected |
Definition at line 615 of file TimeSliderWidget.cpp.
References m_animationScene, te::qt::widgets::ImageItem::m_dir, and te::qt::widgets::AnimationItem::m_title.
Referenced by dropAction().
|
protected |
Create animations.
Definition at line 850 of file TimeSliderWidget.cpp.
References te::qt::widgets::Animation::adjustDataToAnimationTemporalExtent(), te::qt::widgets::AnimationItem::m_animation, m_animationScene, m_parallelAnimation, te::qt::widgets::Animation::m_spatialExtent, te::qt::widgets::Animation::m_temporalAnimationExtent, m_temporalAnimationExtent, te::qt::widgets::Animation::m_temporalExtent, and times().
Referenced by addTemporalImages(), addTrajectory(), onApplyTimeIntervalPushButtonClicked(), onSridChanged(), and removeAnimation().
| void te::qt::widgets::TimeSliderWidget::createNewPixmap | ( | ) |
create new pixmap.
Definition at line 1041 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::createNewPixmap(), and m_animationScene.
Referenced by onApplyTimeIntervalPushButtonClicked(), and play().
| void te::qt::widgets::TimeSliderWidget::deleteMe | ( | ) |
It emits, indirectly, a sign for this widget is destroyed.
Definition at line 1603 of file TimeSliderWidget.cpp.
References deleteTimeSliderWidget().
|
signal |
This sign warns that this widget must be destroyed.
Referenced by deleteMe().
| void te::qt::widgets::TimeSliderWidget::draw | ( | ) |
Set transformation matrix and draw current animation.
Definition at line 1046 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::createNewPixmap(), te::qt::widgets::AnimationScene::draw(), m_animationScene, and m_currentTime.
Referenced by erase(), onDurationValueChanged(), onExtentChanged(), onSridChanged(), and removeAnimation().
|
protectedslot |
Definition at line 501 of file TimeSliderWidget.cpp.
References addTemporalImages(), addTrajectory(), coverageAlreadyExists(), te::map::AbstractLayer::getId(), te::qt::widgets::LayerItem::getLayer(), te::map::AbstractLayer::getTitle(), te::map::AbstractLayer::getType(), te::qt::widgets::AnimationItem::m_animation, m_animationIdList, m_animationScene, m_currentTime, m_display, m_dropBA, m_dropModifiers, m_dropUrls, m_parallelAnimation, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onPlayToolButtonnClicked(), onStopToolButtonnClicked(), p, te::qt::widgets::AnimationScene::removeItem(), and trajectoryAlreadyExists().
Referenced by onAnimationDropEvent().
|
protected |
It Erase trajectory piece.
Definition at line 1734 of file TimeSliderWidget.cpp.
References draw(), m_animationScene, m_currentTime, m_erasePerfectly, and m_parallelAnimation.
Referenced by onDateTimeEditChanged(), and onSliderMoved().
it filters the events of interest.
Definition at line 1111 of file TimeSliderWidget.cpp.
References d, fixDateTimeEdit(), 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(), m_animationIdList, m_animationScene, te::qt::widgets::TrajectoryItem::m_backwardColor, te::qt::widgets::ImageItem::m_dir, te::qt::widgets::TrajectoryItem::m_forwardColor, te::qt::widgets::TrajectoryItem::m_iconFile, te::qt::widgets::TrajectoryItem::m_iconSize, te::qt::widgets::TrajectoryItem::m_layerId, m_oldQDateTime, m_spd, m_temporalAnimationExtent, m_temporalExtent, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, and onFinishAnimation().
|
protected |
It corrects the edited date time.
/param dte DateTimeEdit to be fixed. /param t The edite date time.
Definition at line 1878 of file TimeSliderWidget.cpp.
Referenced by eventFilter().
|
protected |
It it gets the animation time on a time instant. /param tinstant The time instant.
Definition at line 886 of file TimeSliderWidget.cpp.
References te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimePeriod::getInitialTimeInstant(), te::dt::TimeInstant::getTimeInstant(), m_duration, and m_temporalAnimationExtent.
|
protected |
Definition at line 2298 of file TimeSliderWidget.cpp.
References te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), te::dt::TimeDuration::getHours(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), and te::dt::Date::getYear().
Referenced by onAnimationComboBoxActivated().
| te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getFinalTime | ( | ) |
It gets the final time.
Definition at line 2054 of file TimeSliderWidget.cpp.
References m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
Referenced by onApplyTimeIntervalPushButtonClicked().
| te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getInitialTime | ( | ) |
It gets the initial time.
Definition at line 2045 of file TimeSliderWidget.cpp.
References m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
Referenced by onApplyTimeIntervalPushButtonClicked().
| QString te::qt::widgets::TimeSliderWidget::getTemporalImageType | ( | const QString & | path | ) |
This method is used to find out the type of temporal image has the folder. NOTE: It should be edited to enter with new types of temporal images. NOTE: You must find a way to discover its kind.
| path | The folder that has temporal images and the control file. |
Definition at line 2413 of file TimeSliderWidget.cpp.
References d.
Referenced by loadImageData().
|
protected |
It it gets the animation time instant.
Definition at line 904 of file TimeSliderWidget.cpp.
References te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimePeriod::getInitialTimeInstant(), te::dt::TimeInstant::getTimeInstant(), m_duration, m_parallelAnimation, m_temporalAnimationExtent, and td.
Referenced by onApplyTimeIntervalPushButtonClicked(), onDisplayPaintEvent(), onSliderMoved(), and updateTimeTextEdit().
|
protected |
It initialize a property animation dialog.
Definition at line 2016 of file TimeSliderWidget.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(), m_direction, m_goAndBack, m_loop, m_spd, m_temporalAnimationExtent, te::qt::widgets::SliderPropertiesDialog::m_ui, and onAnimationComboBoxActivated().
Referenced by addTemporalImages(), addTrajectory(), and removeAnimation().
|
protected |
Is Setting Changed.
Definition at line 2102 of file TimeSliderWidget.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(), m_direction, m_goAndBack, m_loop, m_spd, m_temporalAnimationExtent, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
virtual |
This method is used to add a new layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 245 of file TimeSliderWidget.cpp.
References addTrajectory(), te::map::AbstractLayer::getId(), te::map::AbstractLayer::getTitle(), p, and trajectoryAlreadyExists().
Referenced by te::qt::plugins::st::TimeSliderWidgetAction::onApplicationTriggered().
|
virtual |
This method is used to remove a layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 262 of file TimeSliderWidget.cpp.
References m_animationIdList, and removeAnimation().
Referenced by te::qt::plugins::st::TimeSliderWidgetAction::onApplicationTriggered().
|
virtual |
This method is used to set current layer.
Implements te::qt::widgets::InterfaceController.
Definition at line 239 of file TimeSliderWidget.cpp.
|
protected |
| te::qt::widgets::ImageItem * te::qt::widgets::TimeSliderWidget::loadImageData | ( | const QString & | path | ) |
This method is used to load a temporal image data. NOTE: It should be edited to enter with new types of temporal images.
Param path The folder that has temporal images and the control file.
Definition at line 2384 of file TimeSliderWidget.cpp.
References d, getTemporalImageType(), te::qt::widgets::ImageItem::loadData(), and m_display.
Referenced by addTemporalImages().
|
protectedslot |
Opacity combo box activated.
| i | The index of combo box. |
Definition at line 2267 of file TimeSliderWidget.cpp.
References adjustPropertyDialog(), getDateString(), m_animationIdList, m_animationScene, te::qt::widgets::TrajectoryItem::m_layerId, te::qt::widgets::AnimationItem::m_opacity, m_spd, te::qt::widgets::AnimationItem::m_time, and te::qt::widgets::SliderPropertiesDialog::m_ui.
Referenced by addTemporalImages(), addTrajectory(), and initProperty().
|
protectedslot |
Drag enter event on display.
| e | The drag enter event. |
Definition at line 421 of file TimeSliderWidget.cpp.
References file(), te::core::CharEncoding::fromUTF8(), te::qt::widgets::LayerItem::getLayer(), te::map::AbstractLayer::getType(), m_animationView, and te::qt::widgets::AnimationView::m_dragDropAccepted.
Referenced by TimeSliderWidget().
|
protectedslot |
Definition at line 492 of file TimeSliderWidget.cpp.
References dropAction(), m_dropBA, m_dropModifiers, and m_dropUrls.
Referenced by TimeSliderWidget().
|
protectedslot |
Apply time interval push button clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 2173 of file TimeSliderWidget.cpp.
References calculateAllSpatialExtent(), createAnimations(), createNewPixmap(), d, dt, te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), getFinalTime(), te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimeDuration::getHours(), getInitialTime(), te::dt::TimePeriod::getInitialTimeInstant(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), te::dt::TimeInstant::getTimeInstant(), getTimeInstant(), te::dt::Date::getYear(), m_currentTime, m_direction, m_duration, m_parallelAnimation, m_spd, m_temporalAnimationExtent, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onDateTimeEditChanged(), onPlayToolButtonnClicked(), setDirection(), and setDuration().
|
protectedslot |
Definition at line 2362 of file TimeSliderWidget.cpp.
References b, m_animationIdList, m_animationScene, te::qt::widgets::AnimationItem::m_automaticPan, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
Definition at line 1700 of file TimeSliderWidget.cpp.
References m_animationIdList, m_animationScene, te::qt::widgets::ImageItem::m_dir, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, and putToBack().
|
protectedslot |
Backward radio button clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 2143 of file TimeSliderWidget.cpp.
References changeDirection(), m_comingBack, and m_direction.
Referenced by onPlayToolButtonnClicked().
|
protectedslot |
It takes the necessary steps after changing the current time of animation.
| t | The new current time. |
Definition at line 1825 of file TimeSliderWidget.cpp.
References erase(), te::dt::TimePeriod::getInitialTimeInstant(), te::dt::TimePeriod::getTimePeriod(), m_comingBack, m_currentTime, m_direction, m_display, m_goAndBack, m_parallelAnimation, m_temporalAnimationExtent, and m_ui.
Referenced by onApplyTimeIntervalPushButtonClicked(), and TimeSliderWidget().
|
protectedslot |
it draw on display.
| p | Pointer to QPainter. |
Definition at line 922 of file TimeSliderWidget.cpp.
References d, te::qt::widgets::ImageItem::drawCurrentImage(), te::qt::widgets::TrajectoryItem::drawIcon(), te::qt::widgets::ImageItem::getRect(), getTimeInstant(), te::qt::widgets::ImageItem::loadCurrentImage(), m_animationScene, te::qt::widgets::AnimationItem::m_animationTime, m_display, te::qt::widgets::AnimationScene::m_mutex, te::qt::widgets::AnimationScene::m_numberOfCoverages, te::qt::widgets::AnimationScene::m_numberOfTrajectories, m_parallelAnimation, m_ui, and updateSliderPos().
Referenced by TimeSliderWidget().
|
protectedslot |
Draw track check box clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 281 of file TimeSliderWidget.cpp.
References b, m_animationIdList, m_animationScene, te::qt::widgets::TrajectoryItem::m_drawTrail, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
It takes the necessary steps after changing the duration.
| v | Value of duration in miliseconds. |
Definition at line 1756 of file TimeSliderWidget.cpp.
References draw(), m_animationScene, m_currentTime, m_duration, te::qt::widgets::AnimationScene::m_mutex, m_parallelAnimation, te::qt::widgets::AnimationScene::m_trajectoryPixmap, m_ui, onPlayToolButtonnClicked(), and setDuration().
Referenced by TimeSliderWidget().
|
protectedslot |
It takes the necessary measures after the change of extent.
Definition at line 1404 of file TimeSliderWidget.cpp.
References draw(), and m_parallelAnimation.
Referenced by TimeSliderWidget().
|
protectedslot |
It takes the necessary measures after the end of the trajectory.
Definition at line 1522 of file TimeSliderWidget.cpp.
References changeDirection(), m_comingBack, m_currentTime, m_duration, m_finished, m_goAndBack, m_loop, m_parallelAnimation, m_paused, onStopToolButtonnClicked(), play(), and updateSliderPos().
Referenced by eventFilter(), onSliderMoved(), and TimeSliderWidget().
|
protectedslot |
Forward radio button clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 2132 of file TimeSliderWidget.cpp.
References changeDirection(), m_comingBack, and m_direction.
Referenced by onPlayToolButtonnClicked().
|
protectedslot |
Definition at line 1666 of file TimeSliderWidget.cpp.
References m_animationIdList, m_animationScene, te::qt::widgets::ImageItem::m_dir, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, and putToFront().
|
protectedslot |
Forward and then backward check box clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 2159 of file TimeSliderWidget.cpp.
References b, changeDirection(), m_comingBack, and m_goAndBack.
Referenced by onPlayToolButtonnClicked().
|
protectedslot |
Help button clicked.
Definition at line 2456 of file TimeSliderWidget.cpp.
|
protectedslot |
Definition at line 2339 of file TimeSliderWidget.cpp.
References b, m_animationIdList, m_animationScene, te::qt::widgets::TrajectoryItem::m_doIconRotate, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
Loop check box clicked.
| b | True if the button is checked, or false if the button is unchecked |
Definition at line 2154 of file TimeSliderWidget.cpp.
Referenced by onPlayToolButtonnClicked().
|
protectedslot |
It takes the necessary steps after changing the duration.
| v | Value of opacity (0 - 255). |
Definition at line 1926 of file TimeSliderWidget.cpp.
References m_animationIdList, m_animationScene, te::qt::widgets::ImageItem::m_dir, m_display, te::qt::widgets::TrajectoryItem::m_layerId, te::qt::widgets::AnimationItem::m_opacity, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
Definition at line 1052 of file TimeSliderWidget.cpp.
References m_animationScene, te::qt::widgets::AnimationItem::m_panFactor, m_panFactor, m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
Play or pause the animation.
Definition at line 1318 of file TimeSliderWidget.cpp.
References m_animationScene, m_comingBack, m_duration, m_maxSliderValue, m_parallelAnimation, m_paused, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onBackwardRadioButtonClicked(), onForwardRadioButtonClicked(), onGoAndBackCheckBoxClicked(), onLoopCheckBoxClicked(), and play().
Referenced by addTemporalImages(), addTrajectory(), dropAction(), onApplyTimeIntervalPushButtonClicked(), onDurationValueChanged(), putToBack(), putToFront(), removeAnimation(), showWidget(), and TimeSliderWidget().
|
protectedslot |
Remove all animations.
Definition at line 312 of file TimeSliderWidget.cpp.
References m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, and removeAnimation().
|
protectedslot |
Remove item animation.
Definition at line 305 of file TimeSliderWidget.cpp.
References m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, and removeAnimation().
|
protectedslot |
Reset final time button clicked.
Definition at line 2072 of file TimeSliderWidget.cpp.
References te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), te::dt::TimePeriod::getFinalTimeInstant(), te::dt::TimeDuration::getHours(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), te::dt::Date::getYear(), m_spd, m_temporalExtent, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
Reset initial time button clicked.
Definition at line 2063 of file TimeSliderWidget.cpp.
References te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), 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(), m_spd, m_temporalExtent, and te::qt::widgets::SliderPropertiesDialog::m_ui.
|
protectedslot |
it opens the configuration window animation.
Definition at line 1310 of file TimeSliderWidget.cpp.
References m_spd.
Referenced by TimeSliderWidget().
|
protectedslot |
It takes the necessary measures after slider move.
| e | The slider value. |
Definition at line 1456 of file TimeSliderWidget.cpp.
References erase(), te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), te::dt::TimeDuration::getHours(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), getTimeInstant(), te::dt::Date::getYear(), m_comingBack, m_currentTime, m_direction, m_display, m_goAndBack, m_maxSliderValue, m_parallelAnimation, m_ui, onFinishAnimation(), and onStopToolButtonnClicked().
Referenced by TimeSliderWidget().
|
protectedslot |
It takes the necessary measures after the change of extent.
Definition at line 1419 of file TimeSliderWidget.cpp.
References calculateAllSpatialExtent(), createAnimations(), draw(), m_display, and m_parallelAnimation.
Referenced by TimeSliderWidget().
|
protectedslot |
Stop animation.
Definition at line 1368 of file TimeSliderWidget.cpp.
References changeDirection(), m_animationScene, m_comingBack, m_display, m_finished, m_goAndBack, m_maxSliderValue, m_parallelAnimation, m_ui, and updateSliderPos().
Referenced by dropAction(), onFinishAnimation(), onSliderMoved(), removeAnimation(), showWidget(), and TimeSliderWidget().
|
protectedslot |
Definition at line 1958 of file TimeSliderWidget.cpp.
References b, file(), m_animationIdList, m_animationScene, m_display, te::qt::widgets::TrajectoryItem::m_iconFile, te::qt::widgets::TrajectoryItem::m_iconSize, te::qt::widgets::TrajectoryItem::m_layerId, m_spd, te::qt::widgets::SliderPropertiesDialog::m_ui, and p.
|
protected |
Play animation.
Definition at line 1439 of file TimeSliderWidget.cpp.
References createNewPixmap(), m_animationScene, and m_parallelAnimation.
Referenced by onFinishAnimation(), and onPlayToolButtonnClicked().
| void te::qt::widgets::TimeSliderWidget::putToBack | ( | AnimationItem * | item | ) |
It puts graphic item to back.
| item | The graphic item. |
Definition at line 1637 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::addItem(), m_animationScene, m_parallelAnimation, onPlayToolButtonnClicked(), and te::qt::widgets::AnimationScene::removeItem().
Referenced by onBackPushButtonClicked().
| void te::qt::widgets::TimeSliderWidget::putToFront | ( | AnimationItem * | item | ) |
It puts graphic item to front.
| item | The graphic item. |
Definition at line 1608 of file TimeSliderWidget.cpp.
References te::qt::widgets::AnimationScene::addItem(), m_animationScene, m_parallelAnimation, onPlayToolButtonnClicked(), and te::qt::widgets::AnimationScene::removeItem().
Referenced by onFrontPushButtonClicked().
|
protected |
Definition at line 321 of file TimeSliderWidget.cpp.
References calculateAllSpatialExtent(), calculateAllTemporalExtent(), createAnimations(), draw(), initProperty(), te::qt::widgets::AnimationItem::m_animation, m_animationIdList, m_animationScene, m_currentTime, te::qt::widgets::ImageItem::m_dir, m_direction, m_display, m_duration, te::qt::widgets::TrajectoryItem::m_layerId, te::qt::widgets::AnimationScene::m_mutex, te::qt::widgets::AnimationScene::m_numberOfTrajectories, m_parallelAnimation, m_spd, te::qt::widgets::AnimationScene::m_trajectoryPixmap, te::qt::widgets::SliderPropertiesDialog::m_ui, m_ui, onPlayToolButtonnClicked(), onStopToolButtonnClicked(), te::qt::widgets::AnimationScene::removeItem(), setDirection(), and setDuration().
Referenced by layerRemoved(), onRemoveAllPushButtonClicked(), and onRemovePushButtonClicked().
| void te::qt::widgets::TimeSliderWidget::setDirection | ( | const QAbstractAnimation::Direction & | direction | ) |
Sets the animation direction.
| direction | The animation direction. |
Definition at line 1021 of file TimeSliderWidget.cpp.
References m_direction, m_duration, m_parallelAnimation, te::qt::widgets::AnimationItem::setDirection(), and te::qt::widgets::AnimationItem::setDuration().
Referenced by addTemporalImages(), addTrajectory(), changeDirection(), onApplyTimeIntervalPushButtonClicked(), and removeAnimation().
| void te::qt::widgets::TimeSliderWidget::setDuration | ( | const unsigned int & | duration | ) |
Sets the animation duration.
| duration | The animation duration in miliseconds. |
Definition at line 1036 of file TimeSliderWidget.cpp.
References m_animationScene, and te::qt::widgets::AnimationScene::setDuration().
Referenced by addTemporalImages(), addTrajectory(), onApplyTimeIntervalPushButtonClicked(), onDurationValueChanged(), and removeAnimation().
|
protected |
True to erase trajectory piece perfectly. Note: Perfectly clear implies loss of performance.
| void te::qt::widgets::TimeSliderWidget::setGoAndBack | ( | bool | t | ) |
Sets the mode of animation.
| t | True if the animation goes back and forth |
Definition at line 1015 of file TimeSliderWidget.cpp.
References m_comingBack, and m_goAndBack.
Referenced by TimeSliderWidget().
|
protected |
Show Property.
| b | true = show, false = hide |
Definition at line 2081 of file TimeSliderWidget.cpp.
References m_spd, and te::qt::widgets::SliderPropertiesDialog::m_ui.
| void te::qt::widgets::TimeSliderWidget::showWidget | ( | const bool & | b | ) |
Definition at line 2442 of file TimeSliderWidget.cpp.
References onPlayToolButtonnClicked(), and onStopToolButtonnClicked().
Referenced by te::qt::plugins::st::TimeSliderWidgetAction::onActionActivated().
|
protected |
Definition at line 597 of file TimeSliderWidget.cpp.
References m_animationScene, te::qt::widgets::TrajectoryItem::m_layerId, and te::qt::widgets::AnimationItem::m_title.
Referenced by dropAction(), and layerAdded().
|
protected |
Updates the position of the slider with respect to time animation.
Definition at line 1581 of file TimeSliderWidget.cpp.
References m_currentTime, m_duration, m_maxSliderValue, m_parallelAnimation, m_ui, and updateTimeTextEdit().
Referenced by onDisplayPaintEvent(), onFinishAnimation(), and onStopToolButtonnClicked().
|
protected |
Update animation time.
Definition at line 1591 of file TimeSliderWidget.cpp.
References te::dt::TimeInstant::getDate(), te::dt::Date::getDay(), te::dt::TimeDuration::getHours(), te::dt::TimeDuration::getMinutes(), te::dt::Date::getMonth(), te::dt::TimeDuration::getSeconds(), te::dt::TimeInstant::getTime(), getTimeInstant(), te::dt::Date::getYear(), m_animationScene, and m_ui.
Referenced by updateSliderPos().
|
friend |
Definition at line 91 of file TimeSliderWidget.h.
Referenced by TimeSliderWidget().
|
private |
List containing the shadow of m_ui->m_animationComboBox.
Definition at line 534 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), dropAction(), eventFilter(), layerRemoved(), onAnimationComboBoxActivated(), onAutoPanCheckBoxClicked(), onBackPushButtonClicked(), onDrawTrailCheckBoxClicked(), onFrontPushButtonClicked(), onIconRotateCheckBoxClicked(), onOpacityValueChanged(), onTrajectoryPixmapSizeChanged(), and removeAnimation().
|
private |
The animation scene.
Definition at line 513 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), calculateAllSpatialExtent(), calculateAllTemporalExtent(), coverageAlreadyExists(), createAnimations(), createNewPixmap(), draw(), dropAction(), erase(), eventFilter(), onAnimationComboBoxActivated(), onAutoPanCheckBoxClicked(), onBackPushButtonClicked(), onDisplayPaintEvent(), onDrawTrailCheckBoxClicked(), onDurationValueChanged(), onFrontPushButtonClicked(), onIconRotateCheckBoxClicked(), onOpacityValueChanged(), onPanFactorValueChanged(), onPlayToolButtonnClicked(), onStopToolButtonnClicked(), onTrajectoryPixmapSizeChanged(), play(), putToBack(), putToFront(), removeAnimation(), setDuration(), TimeSliderWidget(), trajectoryAlreadyExists(), updateTimeTextEdit(), and ~TimeSliderWidget().
|
private |
The animation graphics view.
Definition at line 512 of file TimeSliderWidget.h.
Referenced by calculateAllSpatialExtent(), onAnimationDragEnterEvent(), TimeSliderWidget(), and ~TimeSliderWidget().
|
private |
Flag to indicate that the trend is coming back.
Definition at line 510 of file TimeSliderWidget.h.
Referenced by onBackwardRadioButtonClicked(), onDateTimeEditChanged(), onFinishAnimation(), onForwardRadioButtonClicked(), onGoAndBackCheckBoxClicked(), onPlayToolButtonnClicked(), onSliderMoved(), onStopToolButtonnClicked(), and setGoAndBack().
|
private |
List of all animation items (title, path).
Definition at line 529 of file TimeSliderWidget.h.
|
private |
Current animation time (relative to time duration).
Definition at line 518 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), draw(), dropAction(), erase(), onApplyTimeIntervalPushButtonClicked(), onDateTimeEditChanged(), onDurationValueChanged(), onFinishAnimation(), onSliderMoved(), removeAnimation(), and updateSliderPos().
|
private |
flag to signal change in animation time.
Definition at line 524 of file TimeSliderWidget.h.
|
private |
QAbstractAnimation::Forward or QAbstractAnimation::Backward.
Definition at line 508 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), initProperty(), isSettingChanged(), onApplyTimeIntervalPushButtonClicked(), onBackwardRadioButtonClicked(), onDateTimeEditChanged(), onForwardRadioButtonClicked(), onSliderMoved(), te::qt::widgets::SliderPropertiesDialog::populateUi(), removeAnimation(), setDirection(), and TimeSliderWidget().
|
private |
The map display.
Definition at line 511 of file TimeSliderWidget.h.
Referenced by addTrajectory(), calculateAllSpatialExtent(), dropAction(), loadImageData(), onDateTimeEditChanged(), onDisplayPaintEvent(), onOpacityValueChanged(), onSliderMoved(), onSridChanged(), onStopToolButtonnClicked(), onTrajectoryPixmapSizeChanged(), removeAnimation(), and TimeSliderWidget().
|
private |
Layer animation with drag and drop.
Definition at line 532 of file TimeSliderWidget.h.
Referenced by dropAction(), and onAnimationDropEvent().
|
private |
Control pressed to add animation with drag and drop.
Definition at line 530 of file TimeSliderWidget.h.
Referenced by dropAction(), and onAnimationDropEvent().
|
private |
Urls to animation with drag and drop.
Definition at line 531 of file TimeSliderWidget.h.
Referenced by dropAction(), and onAnimationDropEvent().
|
private |
The animation's duration time in miliseconds.
Definition at line 507 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), getAnimationTime(), getTimeInstant(), onApplyTimeIntervalPushButtonClicked(), onDurationValueChanged(), onFinishAnimation(), onPlayToolButtonnClicked(), removeAnimation(), setDirection(), TimeSliderWidget(), and updateSliderPos().
|
private |
flag to erase trajectory piece perfectly (default = false).
Definition at line 519 of file TimeSliderWidget.h.
Referenced by erase().
|
private |
flag to signal animation finish.
Definition at line 526 of file TimeSliderWidget.h.
Referenced by onFinishAnimation(), and onStopToolButtonnClicked().
|
private |
Forward and then backward direction.
Definition at line 509 of file TimeSliderWidget.h.
Referenced by initProperty(), isSettingChanged(), onDateTimeEditChanged(), onFinishAnimation(), onGoAndBackCheckBoxClicked(), onSliderMoved(), onStopToolButtonnClicked(), te::qt::widgets::SliderPropertiesDialog::populateUi(), and setGoAndBack().
|
private |
This property holds whether the slider's animation is on loop.
Definition at line 506 of file TimeSliderWidget.h.
Referenced by initProperty(), isSettingChanged(), onFinishAnimation(), onLoopCheckBoxClicked(), te::qt::widgets::SliderPropertiesDialog::populateUi(), and TimeSliderWidget().
|
private |
The max slider value.
Definition at line 525 of file TimeSliderWidget.h.
Referenced by onPlayToolButtonnClicked(), onSliderMoved(), onStopToolButtonnClicked(), TimeSliderWidget(), and updateSliderPos().
|
private |
The old final Qt date time.
Definition at line 523 of file TimeSliderWidget.h.
|
private |
The old initial Qt date time.
Definition at line 522 of file TimeSliderWidget.h.
|
private |
The old Qt date time.
Definition at line 521 of file TimeSliderWidget.h.
Referenced by eventFilter().
|
private |
the range is between 0.002 and 0.5
Definition at line 535 of file TimeSliderWidget.h.
Referenced by adjustPropertyDialog(), onPanFactorValueChanged(), and TimeSliderWidget().
|
private |
The parallel animation.
Definition at line 514 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), changeDirection(), createAnimations(), dropAction(), erase(), getTimeInstant(), onApplyTimeIntervalPushButtonClicked(), onDateTimeEditChanged(), onDisplayPaintEvent(), onDurationValueChanged(), onExtentChanged(), onFinishAnimation(), onPlayToolButtonnClicked(), onSliderMoved(), onSridChanged(), onStopToolButtonnClicked(), play(), putToBack(), putToFront(), removeAnimation(), setDirection(), TimeSliderWidget(), updateSliderPos(), and ~TimeSliderWidget().
|
private |
flag to signal animation pause.
Definition at line 527 of file TimeSliderWidget.h.
Referenced by onFinishAnimation(), and onPlayToolButtonnClicked().
|
private |
Spatial extent.
Definition at line 515 of file TimeSliderWidget.h.
Referenced by calculateAllSpatialExtent().
|
private |
Slider Properties Dialog.
Definition at line 533 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), adjustPropertyDialog(), dropAction(), eventFilter(), getFinalTime(), getInitialTime(), initProperty(), isSettingChanged(), onAnimationComboBoxActivated(), onApplyTimeIntervalPushButtonClicked(), onAutoPanCheckBoxClicked(), onBackPushButtonClicked(), onDrawTrailCheckBoxClicked(), onFrontPushButtonClicked(), onIconRotateCheckBoxClicked(), onOpacityValueChanged(), onPanFactorValueChanged(), onPlayToolButtonnClicked(), onRemoveAllPushButtonClicked(), onRemovePushButtonClicked(), onResetFinalTimePushButtonClicked(), onResetInitialTimePushButtonClicked(), onSettingsToolButtonnClicked(), onTrajectoryPixmapSizeChanged(), removeAnimation(), showPropertySection(), and TimeSliderWidget().
|
private |
Animation temporal extent. It is used for show animation.
Definition at line 517 of file TimeSliderWidget.h.
Referenced by calculateAllTemporalExtent(), createAnimations(), eventFilter(), getAnimationTime(), getTimeInstant(), initProperty(), isSettingChanged(), onApplyTimeIntervalPushButtonClicked(), onDateTimeEditChanged(), and te::qt::widgets::SliderPropertiesDialog::populateUi().
|
private |
Temporal extent.
Definition at line 516 of file TimeSliderWidget.h.
Referenced by calculateAllTemporalExtent(), eventFilter(), onResetFinalTimePushButtonClicked(), onResetInitialTimePushButtonClicked(), and te::qt::widgets::SliderPropertiesDialog::populateUi().
|
private |
List of all trajectory items (title, layer).
Definition at line 528 of file TimeSliderWidget.h.
|
private |
The widget form.
Definition at line 520 of file TimeSliderWidget.h.
Referenced by addTemporalImages(), addTrajectory(), dropAction(), eventFilter(), onApplyTimeIntervalPushButtonClicked(), onDateTimeEditChanged(), onDisplayPaintEvent(), onDurationValueChanged(), onPlayToolButtonnClicked(), onSliderMoved(), onStopToolButtonnClicked(), removeAnimation(), TimeSliderWidget(), updateSliderPos(), and updateTimeTextEdit().