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"
36 #include <QGridLayout>
37 #include <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
This class can be used to inform the progress of a task.
A class that defines the interface of an abstract progress viewer.