26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERWIDGET_H
27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERWIDGET_H
30 #include "../../../common/progress/AbstractProgressViewer.h"
31 #include "../../../common/progress/TaskProgress.h"
32 #include "../Config.h"
35 #include <QtGui/QDialog>
36 #include <QtGui/QGridLayout>
37 #include <QtGui/QScrollArea>
50 class ProgressWidgetItem;
94 virtual void removeTask(
int taskId);
101 virtual void cancelTask(
int taskId);
108 virtual void setTotalValues(
int taskId);
115 virtual void updateValue(
int taskId);
122 virtual void updateMessage(
int taskId);
131 void customEvent(QEvent* e);
144 std::map<int, te::common::TaskProgress*>
m_tasks;
155 #endif //__TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERWIDGET_H
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
QWidget * m_widget
GUI Objects used to build the custom widget.
A class that defines the interface of an abstract progress viewer.
QGridLayout * m_MainLayout
GUI Objects used to build the custom widget.
QScrollArea * m_scroll
GUI Objects used to build the custom widget.
std::map< int, ProgressWidgetItem * > m_items
Custom widget progress item container.
This class can be used to inform the progress of a task.
std::map< int, te::common::TaskProgress * > m_tasks
Task container.
QGridLayout * m_widgetLayout
GUI Objects used to build the custom widget.
A class that defines the interface of a qt widget to group a set of ProgressWidgetItem.