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 <QtGui/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
int m_propStep
Attribute used to define the proportional step (0-100).
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::string m_message
Attribute used to define dialog message.
A class that defines the interface of an abstract progress viewer.
QProgressDialog * m_dlgProgress
GUI Objects used as progress bar dialog.
int m_currentStep
Attribute used to define the current steps of all task.
This class can be used to inform the progress of a task.
std::map< int, te::common::TaskProgress * > m_tasks
Task container.
int m_totalSteps
Attribute used to define the total steps of all tasks.