26 #ifndef __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSWIDGETITEM_H 27 #define __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSWIDGETITEM_H 31 #include "../../widgets/Config.h" 35 #include <QGridLayout> 37 #include <QProgressBar> 38 #include <QToolButton> 74 virtual void setValue(
int step);
79 void setTotalValues(
int values);
86 virtual void setLabel(
const std::string& message);
94 virtual void cancel();
98 virtual void onSetProgressMessage(
const std::string& message);
100 virtual void onSetProgressRange(
int min,
int max);
102 virtual void onSetProgressValue(
int value);
104 virtual void onResetProgress();
113 void taskCanceled(
int id);
115 void setProgressMessage(
const std::string& message);
117 void setProgressRange(
int min,
int max);
119 void setProgressValue(
int value);
121 void resetProgress();
141 #endif // __TERRALIB_QT_WIDGETS_PROGRESS_INTERNAL_PROGRESSWIDGETITEM_H
A class that defines the interface of an abstract qt progress viewer.