consolegenerator.h 718 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef CONSOLEGENERATOR_H
  2. #define CONSOLEGENERATOR_H
  3. #include <QObject>
  4. #include <QMainWindow>
  5. #include "iqtprojectgenerator.h"
  6. #include "argumentparser.h"
  7. #include "progressdialog.h"
  8. #include "istatusupdater.h"
  9. class ConsoleGenerator : public QObject
  10. {
  11. Q_OBJECT
  12. public:
  13. ConsoleGenerator(const ArgumentParser& parser);
  14. ~ConsoleGenerator();
  15. private slots:
  16. void startGenerator();
  17. void progressFinished(bool success);
  18. void progressUpdated();
  19. void openSisClicked();
  20. private:
  21. IQtProjectGenerator *m_generator;
  22. GeneratorOutputView *m_logger;
  23. const ArgumentParser &m_parser;
  24. ProgressDialog *m_dialog;
  25. IStatusUpdater *m_updater;
  26. };
  27. #endif // CONSOLEGENERATOR_H