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> 97 void removeTask(
int taskId);
104 void cancelTask(
int taskId);
111 void setTotalValues(
int taskId);
118 void setTitle(QString title);
125 void updateValue(
int taskId);
132 void updateMessage(
int taskId);
141 virtual void customEvent(QEvent* e);
146 virtual void cancel();
154 std::map<int, te::common::TaskProgress*>
m_tasks;
161 #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.