All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::TimeSliderWidget Class Reference

A wdiget used to control the visualization of temporal data. More...

#include <TimeSliderWidget.h>

Inheritance diagram for te::qt::widgets::TimeSliderWidget:

Signals

void deleteTimeSliderWidget ()
 This sign warns that this widget must be destroyed. More...
 

Public Member Functions

void addTemporalImages (const QString &filePath)
 
void addTrajectory (const QString &title, const QString &pixmapFile, te::st::TrajectoryDataSet *dset)
 Add trajectory to animation scene. More...
 
void calculateSpatialExtent ()
 It calculates the spatial extent. More...
 
void calculateTemporalExtent ()
 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::qt::widgets::PixmapItemgetEtaCtlParameters (const QString &path)
 
te::qt::widgets::PixmapItemgetEtaMetadata (const QString &path)
 
te::dt::TimeInstant getEtaTime (const QString &file)
 
te::dt::TimeInstant getFinalTime ()
 It gets the final time. More...
 
te::qt::widgets::PixmapItemgetGoesMetadata (const QString &path)
 
te::dt::TimeInstant getGoesTime (const QString &file)
 
te::qt::widgets::PixmapItemgetHidroCtlParameters (const QString &path)
 
te::qt::widgets::PixmapItemgetHidroMetadata (const QString &path)
 
te::dt::TimeInstant getHidroTime (const QString &file)
 
te::dt::TimeInstant getInitialTime ()
 It gets the initial time. More...
 
te::qt::widgets::PixmapItemgetMetadata (const QString &path)
 
te::qt::widgets::PixmapItemgetTemporalImageCtlParameters (const QString &path)
 
te::qt::widgets::PixmapItemgetTemporalImageMetadata (const QString &path)
 
te::dt::TimeInstant getTemporalImageTime (const QString &file)
 
void putToBack (AnimationItem *item)
 It puts graphic item to back. More...
 
void putToFront (AnimationItem *item)
 It puts graphic item to front. More...
 
void setAutomaticPan (const QString &title)
 It configures automatic pan over a animation path. It toggles auto pan state. More...
 
void setDirection (const QAbstractAnimation::Direction &direction)
 Sets the animation direction. More...
 
void setDuration (const unsigned int &duration)
 Sets the animation duration. More...
 
void setEtaLUT (te::qt::widgets::PixmapItem *pi)
 
void setGoAndBack (bool t)
 Sets the mode of animation. More...
 
void setHidroLUT (te::qt::widgets::PixmapItem *pi)
 
 TimeSliderWidget (MapDisplay *d, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor. More...
 
 ~TimeSliderWidget ()
 Destructor. More...
 

Protected Slots

void dropAction ()
 
void onAddEtaPushButtonClicked (bool)
 
void onAddHidroPushButtonClicked (bool)
 
void onAddPushButtonClicked (bool b)
 
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 *)
 it draw on display. 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)
 Ok button clicked. More...
 
void onFrontPushButtonClicked (bool b)
 
void onGoAndBackCheckBoxClicked (bool b)
 Forward and then backward check box clicked. More...
 
void onLoopCheckBoxClicked (bool b)
 Loop check box clicked. More...
 
void onOpacityComboBoxActivated (int i)
 Opacity combo box activated. More...
 
void onOpacityValueChanged (int v)
 It takes the necessary steps after changing the duration. More...
 
void onPlayToolButtonnClicked ()
 Play or pause the animation. More...
 
void onRemovePushButtonClicked (bool b)
 
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 onTrajectoryColorComboBoxActivated (int i)
 Trajectory color combo box activated. More...
 

Protected Member Functions

bool alreadyExists (QPair< QString, QString > &item)
 
void createAnimations ()
 Create animations. More...
 
void dragEnterEvent (QDragEnterEvent *)
 
void drawPixmapItem (PixmapItem *pi, const QRectF &dwrect, QPainter *painter)
 Draw the pixmap item. More...
 
void drawTrajectoryIcon (const TrajectoryItem *t, const QPoint &pos, QPainter *painter)
 Draw the trajectory icon. More...
 
void dropEvent (QDropEvent *)
 
void erase (const unsigned int &curTime)
 It Erase trajectory piece. More...
 
bool eventFilter (QObject *, QEvent *)
 It converts simple time string to iso time string. 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...
 
QImage * getImage (te::qt::widgets::PixmapItem *pi)
 
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 openTrajectory (const QString file, const QString &leao)
 
void play ()
 Play animation. More...
 
void removeComboItem (te::qt::widgets::AnimationItem *ai)
 Remove animation item from the opacity combo box and trajectory color combo box. More...
 
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...
 
void updateSliderPos ()
 Updates the position of the slider with respect to time animation. More...
 
void updateTimeTextEdit ()
 Update animation time. More...
 

Private Attributes

AnimationScenem_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...
 
int m_currentTime
 Current animation time (relative to time duration). More...
 
bool m_dateTimeChanged
 
QAbstractAnimation::Direction m_direction
 QAbstractAnimation::Forward or QAbstractAnimation::Backward. More...
 
MapDisplaym_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
 
bool m_goAndBack
 Forward and then backward direction. More...
 
QRectF m_initialDisplayRect
 
QList< QPair< QString, QString > > m_itemList
 List of all animation items (URI, DataSetName). 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...
 
QParallelAnimationGroup * m_parallelAnimation
 The parallel animation. More...
 
te::gm::Envelope m_spatialExtent
 Spatial extent. More...
 
te::dt::TimePeriod m_temporalAnimationExtent
 Animation temporal extent. It is used for show animation. More...
 
te::dt::TimePeriod m_temporalExtent
 Temporal extent. More...
 
std::auto_ptr
< Ui::TimeSliderWidgetForm > 
m_ui
 The widget form. More...
 

Detailed Description

A wdiget used to control the visualization of temporal data.

Definition at line 81 of file TimeSliderWidget.h.

Constructor & Destructor Documentation

te::qt::widgets::TimeSliderWidget::TimeSliderWidget ( MapDisplay d,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
te::qt::widgets::TimeSliderWidget::~TimeSliderWidget ( )

Destructor.

It destructs a Time Slider Widget

Definition at line 220 of file TimeSliderWidget.cpp.

Member Function Documentation

void te::qt::widgets::TimeSliderWidget::addTemporalImages ( const QString &  filePath)

Definition at line 560 of file TimeSliderWidget.cpp.

bool te::qt::widgets::TimeSliderWidget::alreadyExists ( QPair< QString, QString > &  item)
protected

Definition at line 419 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::calculateSpatialExtent ( )
void te::qt::widgets::TimeSliderWidget::changeDirection ( )

Change direction.

Definition at line 1267 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::createNewPixmap ( )

create new pixmap.

Definition at line 903 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::deleteMe ( )

It emits, indirectly, a sign for this widget is destroyed.

Definition at line 1334 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::deleteTimeSliderWidget ( )
signal

This sign warns that this widget must be destroyed.

void te::qt::widgets::TimeSliderWidget::dragEnterEvent ( QDragEnterEvent *  e)
protected
void te::qt::widgets::TimeSliderWidget::draw ( )

Set transformation matrix and draw current animation.

Definition at line 908 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::drawPixmapItem ( PixmapItem pi,
const QRectF &  dwrect,
QPainter *  painter 
)
protected

Draw the pixmap item.

/param pi The pixmap item. /param dwrect The rect of map display in world coordinates. /param painter The painter.

Definition at line 1951 of file TimeSliderWidget.cpp.

References getImage(), te::qt::widgets::PixmapItem::m_currentImageFile, te::qt::widgets::PixmapItem::m_imaRect, te::qt::widgets::AnimationItem::m_matrix, and te::qt::widgets::AnimationItem::m_opacity.

void te::qt::widgets::TimeSliderWidget::drawTrajectoryIcon ( const TrajectoryItem t,
const QPoint &  pos,
QPainter *  painter 
)
protected

Draw the trajectory icon.

/param t The trajectory item. /param pos The top left position in device coordinates. /param painter The painter.

Definition at line 2007 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_opacity.

void te::qt::widgets::TimeSliderWidget::dropEvent ( QDropEvent *  e)
protected

Definition at line 321 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::erase ( const unsigned int &  curTime)
protected

It Erase trajectory piece.

Definition at line 1725 of file TimeSliderWidget.cpp.

bool te::qt::widgets::TimeSliderWidget::eventFilter ( QObject *  obj,
QEvent *  e 
)
protected

It converts simple time string to iso time string.

Returns
The converted time string.

it filters the events of interest.

Definition at line 920 of file TimeSliderWidget.cpp.

References te::qt::widgets::TrajectoryItem::m_backwardColor, te::qt::widgets::TrajectoryItem::m_forwardColor, and te::qt::widgets::AnimationItem::m_title.

QDateTime te::qt::widgets::TimeSliderWidget::fixDateTimeEdit ( QDateTimeEdit *  dte,
const QDateTime &  t 
)
protected

It corrects the edited date time.

/param dte DateTimeEdit to be fixed. /param t The edite date time.

Definition at line 1903 of file TimeSliderWidget.cpp.

int te::qt::widgets::TimeSliderWidget::getAnimationTime ( const te::dt::TimeInstant tinstant)
protected

It it gets the animation time on a time instant. /param tinstant The time instant.

Returns
The animation time in miliseconds.

Definition at line 769 of file TimeSliderWidget.cpp.

References te::dt::TimeInstant::getTimeInstant().

te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getEtaTime ( const QString &  file)

Definition at line 3173 of file TimeSliderWidget.cpp.

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

It gets the final time.

Returns
The final time.

Definition at line 2202 of file TimeSliderWidget.cpp.

te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getGoesTime ( const QString &  file)

Definition at line 2539 of file TimeSliderWidget.cpp.

te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getHidroTime ( const QString &  file)

Definition at line 3157 of file TimeSliderWidget.cpp.

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

It gets the initial time.

Returns
The initial time.

Definition at line 2186 of file TimeSliderWidget.cpp.

te::qt::widgets::PixmapItem * te::qt::widgets::TimeSliderWidget::getMetadata ( const QString &  path)

Definition at line 3000 of file TimeSliderWidget.cpp.

te::qt::widgets::PixmapItem * te::qt::widgets::TimeSliderWidget::getTemporalImageCtlParameters ( const QString &  path)
te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getTemporalImageTime ( const QString &  file)

Definition at line 3323 of file TimeSliderWidget.cpp.

te::dt::TimeInstant te::qt::widgets::TimeSliderWidget::getTimeInstant ( )
protected

It it gets the animation time instant.

Returns
The animation time instant.

Definition at line 788 of file TimeSliderWidget.cpp.

References te::dt::TimeInstant::getTimeInstant().

void te::qt::widgets::TimeSliderWidget::initProperty ( )
protected
bool te::qt::widgets::TimeSliderWidget::isSettingChanged ( )
protected
void te::qt::widgets::TimeSliderWidget::onAddEtaPushButtonClicked ( bool  )
protectedslot

Definition at line 2562 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onAddHidroPushButtonClicked ( bool  )
protectedslot

Definition at line 2602 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onAddPushButtonClicked ( bool  b)
protectedslot

Definition at line 1339 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onApplyTimeIntervalPushButtonClicked ( bool  b)
protectedslot

Apply time interval push button clicked.

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

Definition at line 2414 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 TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onAutoPanCheckBoxClicked ( bool  )
protectedslot

Definition at line 2643 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onBackPushButtonClicked ( bool  b)
protectedslot

Definition at line 1707 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_title.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onBackwardRadioButtonClicked ( bool  b)
protectedslot

Backward radio button clicked.

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

Definition at line 2343 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onDateTimeEditChanged ( const QDateTime &  t)
protectedslot

It takes the necessary steps after changing the current time of animation.

Parameters
tThe new current time.

Definition at line 1848 of file TimeSliderWidget.cpp.

References te::dt::TimePeriod::getTimePeriod().

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onDisplayPaintEvent ( QPainter *  painter)
protectedslot
void te::qt::widgets::TimeSliderWidget::onDurationValueChanged ( int  v)
protectedslot

It takes the necessary steps after changing the duration.

Parameters
vValue of duration in miliseconds.

Definition at line 1747 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onExtentChanged ( )
protectedslot

It takes the necessary measures after the change of extent.

Definition at line 1158 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onFinishAnimation ( )
protectedslot

It takes the necessary measures after the end of the trajectory.

Definition at line 1277 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onForwardRadioButtonClicked ( bool  b)
protectedslot

Ok button clicked.

Cancel button clicked.

Help button clicked.

Forward radio button clicked.

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

Definition at line 2332 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onFrontPushButtonClicked ( bool  b)
protectedslot

Definition at line 1689 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_title.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onGoAndBackCheckBoxClicked ( bool  b)
protectedslot

Forward and then backward check box clicked.

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

Definition at line 2400 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onLoopCheckBoxClicked ( bool  b)
protectedslot

Loop check box clicked.

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

Definition at line 2354 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onOpacityComboBoxActivated ( int  i)
protectedslot

Opacity combo box activated.

Parameters
iThe index of combo box.

Definition at line 2505 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_opacity, and te::qt::widgets::AnimationItem::m_title.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onOpacityValueChanged ( int  v)
protectedslot

It takes the necessary steps after changing the duration.

Parameters
vValue of opacity (0 - 255).

Definition at line 2057 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_opacity, and te::qt::widgets::AnimationItem::m_title.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onPlayToolButtonnClicked ( )
protectedslot

Play or pause the animation.

Definition at line 1091 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onRemovePushButtonClicked ( bool  b)
protectedslot
void te::qt::widgets::TimeSliderWidget::onResetFinalTimePushButtonClicked ( )
protectedslot
void te::qt::widgets::TimeSliderWidget::onResetInitialTimePushButtonClicked ( )
protectedslot
void te::qt::widgets::TimeSliderWidget::onSettingsToolButtonnClicked ( )
protectedslot

it opens the configuration window animation.

Definition at line 1080 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onSliderMoved ( int  value)
protectedslot
void te::qt::widgets::TimeSliderWidget::onSridChanged ( )
protectedslot

It takes the necessary measures after the change of extent.

Definition at line 1177 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onStopToolButtonnClicked ( )
protectedslot

Stop animation.

Definition at line 1124 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::onTrajectoryColorComboBoxActivated ( int  i)
protectedslot
void te::qt::widgets::TimeSliderWidget::play ( )
protected

Play animation.

Definition at line 1199 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::putToBack ( AnimationItem item)

It puts graphic item to back.

Parameters
itemThe graphic item.

Definition at line 1662 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::putToFront ( AnimationItem item)

It puts graphic item to front.

Parameters
itemThe graphic item.

Definition at line 1635 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::removeComboItem ( te::qt::widgets::AnimationItem ai)
protected

Remove animation item from the opacity combo box and trajectory color combo box.

Parameters
aiThe item to be removed.

Definition at line 2525 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::m_title.

void te::qt::widgets::TimeSliderWidget::setAutomaticPan ( const QString &  title)

It configures automatic pan over a animation path. It toggles auto pan state.

Parameters
titleThe animation title.

Definition at line 915 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::setDirection ( const QAbstractAnimation::Direction &  direction)

Sets the animation direction.

Parameters
directionThe animation direction.

Definition at line 883 of file TimeSliderWidget.cpp.

References te::qt::widgets::AnimationItem::setDirection(), and te::qt::widgets::AnimationItem::setDuration().

void te::qt::widgets::TimeSliderWidget::setDuration ( const unsigned int &  duration)

Sets the animation duration.

Parameters
durationThe animation duration in miliseconds.

Definition at line 898 of file TimeSliderWidget.cpp.

void te::qt::widgets::TimeSliderWidget::setErasePerfectly ( bool  b)
protected

True to erase trajectory piece perfectly. Note: Perfectly clear implies loss of performance.

void te::qt::widgets::TimeSliderWidget::setEtaLUT ( te::qt::widgets::PixmapItem pi)

Definition at line 2831 of file TimeSliderWidget.cpp.

References te::qt::widgets::PixmapItem::setLUT().

void te::qt::widgets::TimeSliderWidget::setGoAndBack ( bool  t)

Sets the mode of animation.

Parameters
tTrue if the animation goes back and forth

Definition at line 877 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::setHidroLUT ( te::qt::widgets::PixmapItem pi)

Definition at line 2727 of file TimeSliderWidget.cpp.

References te::qt::widgets::PixmapItem::setLUT().

void te::qt::widgets::TimeSliderWidget::showPropertySection ( bool  b)
protected

Show Property.

Parameters
btrue = show, false = hide

Definition at line 2281 of file TimeSliderWidget.cpp.

Referenced by TimeSliderWidget().

void te::qt::widgets::TimeSliderWidget::updateSliderPos ( )
protected

Updates the position of the slider with respect to time animation.

Definition at line 1312 of file TimeSliderWidget.cpp.

Member Data Documentation

AnimationScene* te::qt::widgets::TimeSliderWidget::m_animationScene
private

The animation scene.

Definition at line 505 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

QGraphicsView* te::qt::widgets::TimeSliderWidget::m_animationView
private

The animation graphics view.

Definition at line 504 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

bool te::qt::widgets::TimeSliderWidget::m_comingBack
private

Flag to indicate that the trend is coming back.

Definition at line 502 of file TimeSliderWidget.h.

int te::qt::widgets::TimeSliderWidget::m_currentTime
private

Current animation time (relative to time duration).

Definition at line 510 of file TimeSliderWidget.h.

bool te::qt::widgets::TimeSliderWidget::m_dateTimeChanged
private

Definition at line 516 of file TimeSliderWidget.h.

QAbstractAnimation::Direction te::qt::widgets::TimeSliderWidget::m_direction
private

QAbstractAnimation::Forward or QAbstractAnimation::Backward.

Definition at line 500 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

MapDisplay* te::qt::widgets::TimeSliderWidget::m_display
private

The map display.

Definition at line 503 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

QByteArray te::qt::widgets::TimeSliderWidget::m_dropBA
private

Layer animation with drag and drop.

Definition at line 522 of file TimeSliderWidget.h.

Qt::KeyboardModifiers te::qt::widgets::TimeSliderWidget::m_dropModifiers
private

Control pressed to add animation with drag and drop.

Definition at line 520 of file TimeSliderWidget.h.

QList<QUrl> te::qt::widgets::TimeSliderWidget::m_dropUrls
private

Urls to animation with drag and drop.

Definition at line 521 of file TimeSliderWidget.h.

int te::qt::widgets::TimeSliderWidget::m_duration
private

The animation's duration time in miliseconds.

Definition at line 499 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

bool te::qt::widgets::TimeSliderWidget::m_erasePerfectly
private

flag to erase trajectory piece perfectly (default = false).

Definition at line 511 of file TimeSliderWidget.h.

bool te::qt::widgets::TimeSliderWidget::m_finished
private

Definition at line 518 of file TimeSliderWidget.h.

bool te::qt::widgets::TimeSliderWidget::m_goAndBack
private

Forward and then backward direction.

Definition at line 501 of file TimeSliderWidget.h.

QRectF te::qt::widgets::TimeSliderWidget::m_initialDisplayRect
private

Definition at line 524 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

QList<QPair<QString, QString> > te::qt::widgets::TimeSliderWidget::m_itemList
private

List of all animation items (URI, DataSetName).

Definition at line 519 of file TimeSliderWidget.h.

bool te::qt::widgets::TimeSliderWidget::m_loop
private

This property holds whether the slider's animation is on loop.

Definition at line 498 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

int te::qt::widgets::TimeSliderWidget::m_maxSliderValue
private

The max slider value.

Definition at line 517 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

QDateTime te::qt::widgets::TimeSliderWidget::m_oldFQDateTime
private

The old final Qt date time.

Definition at line 515 of file TimeSliderWidget.h.

QDateTime te::qt::widgets::TimeSliderWidget::m_oldIQDateTime
private

The old initial Qt date time.

Definition at line 514 of file TimeSliderWidget.h.

QDateTime te::qt::widgets::TimeSliderWidget::m_oldQDateTime
private

The old Qt date time.

Definition at line 513 of file TimeSliderWidget.h.

QParallelAnimationGroup* te::qt::widgets::TimeSliderWidget::m_parallelAnimation
private

The parallel animation.

Definition at line 506 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().

te::gm::Envelope te::qt::widgets::TimeSliderWidget::m_spatialExtent
private

Spatial extent.

Definition at line 507 of file TimeSliderWidget.h.

te::dt::TimePeriod te::qt::widgets::TimeSliderWidget::m_temporalAnimationExtent
private

Animation temporal extent. It is used for show animation.

Definition at line 509 of file TimeSliderWidget.h.

te::dt::TimePeriod te::qt::widgets::TimeSliderWidget::m_temporalExtent
private

Temporal extent.

Definition at line 508 of file TimeSliderWidget.h.

std::auto_ptr<Ui::TimeSliderWidgetForm> te::qt::widgets::TimeSliderWidget::m_ui
private

The widget form.

Definition at line 512 of file TimeSliderWidget.h.

Referenced by TimeSliderWidget().


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