26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERBAR_H 
   27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERBAR_H 
   30 #include "../../../common/progress/AbstractProgressViewer.h" 
   31 #include "../../../common/progress/TaskProgress.h" 
   32 #include "../Config.h" 
   35 #include <QGridLayout> 
   36 #include <QProgressBar> 
   37 #include <QPushButton> 
  101           void removeTask(
int taskId);
 
  108           void cancelTask(
int taskId);
 
  115           void setTotalValues(
int taskId);
 
  122           void updateValue(
int taskId);
 
  129           void updateMessage(
int taskId);
 
  131           void setButtonText(
const std::string& value);
 
  140           virtual void customEvent(QEvent* e);
 
  145           virtual void onReleased();
 
  157           std::map<int, te::common::TaskProgress*> 
m_tasks;   
 
  166 #endif //__TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSVIEWERBAR_H 
This class can be used to inform the progress of a task. 
 
A class that defines the interface of an abstract progress viewer.