progressdialog.h 685 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #ifndef PROGRESSDIALOG_H
  2. #define PROGRESSDIALOG_H
  3. #include <QDialog>
  4. #include "defines.h"
  5. namespace Ui {
  6. class ProgressDialog;
  7. }
  8. class ProgressDialog : public QDialog {
  9. Q_OBJECT
  10. public:
  11. ProgressDialog(QWidget *parent = 0);
  12. ~ProgressDialog();
  13. void setMaximumProgress(int maximum);
  14. signals:
  15. void start();
  16. void openSIS();
  17. public slots:
  18. void updateProgress(int current);
  19. void updateStatusText(QString text);
  20. void setFinishedView(GeneratorTarget target, bool success);
  21. protected:
  22. void changeEvent(QEvent *e);
  23. private slots:
  24. void openLog();
  25. private:
  26. Ui::ProgressDialog *ui;
  27. };
  28. #endif // PROGRESSDIALOG_H