26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERTASKWIDGET_H 27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERTASKWIDGET_H 30 #include "../../../common/progress/AbstractProgressViewer.h" 31 #include "../../../common/progress/TaskProgress.h" 32 #include "../Config.h" 35 #include <QGridLayout> 37 #include <QProgressBar> 38 #include <QToolButton> 83 void removeTask(
int taskId);
90 void cancelTask(
int taskId);
97 void setTotalValues(
int taskId);
104 void updateValue(
int taskId);
111 void updateMessage(
int taskId);
115 void setMessage(
const std::string& message);
124 virtual void customEvent(QEvent* e);
129 virtual void cancel();
149 #endif //__TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERTASKWIDGET_H
This class can be used to inform the progress of a task.
A class that defines the interface of an abstract progress viewer.