26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERDIALOG_H
27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERDIALOG_H
30 #include "../../../common/progress/AbstractProgressViewer.h"
31 #include "../../../common/progress/TaskProgress.h"
32 #include "../Config.h"
35 #include <QProgressDialog>
96 void removeTask(
int taskId);
103 void cancelTask(
int taskId);
110 void setTotalValues(
int taskId);
117 void updateValue(
int taskId);
124 void updateMessage(
int taskId);
133 virtual void customEvent(QEvent* e);
138 virtual void cancel();
146 std::map<int, te::common::TaskProgress*>
m_tasks;
153 #endif //__TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERDIALOG_H
This class can be used to inform the progress of a task.
A class that defines the interface of an abstract progress viewer.