26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_TIMESLIDERWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_INTERNAL_TIMESLIDERWIDGET_H
30 #include "../Config.h"
33 #include <QtGui/QWidget>
39 namespace Ui {
class TimeSliderWidgetForm; }
64 TimeSliderWidget(QWidget* parent = 0, Qt::WindowFlags f = 0,
int minimum = 0,
int maximum = 10);
73 void enterEvent(QEvent*);
75 void leaveEvent(QEvent*);
79 void onExitToolButtonnClicked();
80 void onSettingsToolButtonnClicked();
81 void onPlayToolButtonnClicked();
82 void onSkipBackwardToolButtonnClicked();
83 void onSkipForwardToolButtonnClicked();
84 void onSliderValueChanged(
int value);
92 void valueCHanged(
int value);
100 std::auto_ptr<Ui::TimeSliderWidgetForm>
m_ui;
106 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_TIMESLIDERWIDGET_H
A wdiget used to control the visualization of temporal data.
std::auto_ptr< QTimer > m_timer
The timer that will control the animation proccesses.
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
bool m_state
This property holds whether the slider's animation is running.
int m_speed
The slider's animation speed in miliseconds.
std::auto_ptr< Ui::TimeSliderWidgetForm > m_ui
The widget form.
bool m_loop
This property holds whether the slider's animation is on loop.