23 #ifndef ATBPROGRESSREPORTERQT4_HH 24 #define ATBPROGRESSREPORTERQT4_HH 32 #include <QtGui/QApplication> 33 #include <QtGui/QProgressBar> 34 #include <QtGui/QLabel> 35 #include <QtGui/QAbstractButton> 49 QProgressBar *
progressBar = NULL, QLabel *headerLabel = NULL,
50 QLabel *messageLabel = NULL, QAbstractButton *cancelButton = NULL,
51 std::ostream *stream = NULL);
96 void error(QString
const &);
109 QProgressBar *p_progressBar;
110 QLabel *p_headerLabel, *p_messageLabel;
111 QAbstractButton *p_cancelButton;
114 std::ostream *p_stream;
void setProgress(int progress)
void abortWithError(std::string const &msg)
void setProgressMax(int progressMax)
ProgressReporterQt4(QProgressBar *progressBar=NULL, QLabel *headerLabel=NULL, QLabel *messageLabel=NULL, QAbstractButton *cancelButton=NULL, std::ostream *stream=NULL)
bool updateProgressMessage(std::string const &message)
QProgressBar * progressBar() const
void setVisible(bool visible)
void progressMessageChanged(QString)
void progressChanged(int)
void setProgressMessage(std::string const &message)
void setAborted(bool abort)
void setProgressMin(int progressMin)
bool updateProgress(int progress)
void error(QString const &)
void progressMinChanged(int)
std::string progressMessage() const
void setHeaderMessage(std::string const &message)
std::string headerMessage() const
void headerMessageChanged(QString)
void progressMaxChanged(int)