launchpage.h 754 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef LAUNCHPAGE_H
  2. #define LAUNCHPAGE_H
  3. #include <QMainWindow>
  4. #include <QFileDialog>
  5. #include <QString>
  6. #include <QMessageBox>
  7. #include <QDialogButtonBox>
  8. #include "projectmanager.h"
  9. namespace Ui {
  10. class LaunchPage;
  11. }
  12. class LaunchPage : public QMainWindow
  13. {
  14. Q_OBJECT
  15. public:
  16. explicit LaunchPage(QWidget *parent = 0);
  17. ~LaunchPage();
  18. private slots:
  19. void on_confirmButton_clicked();
  20. void on_openExample_toggled(bool checked);
  21. void on_browseButton_clicked();
  22. void on_createExample_toggled(bool checked);
  23. private:
  24. Ui::LaunchPage *ui;
  25. QFileDialog *mOpenDialog;
  26. QFileDialog *mViewDialog;
  27. QString mSetName;
  28. QString mChosePath;
  29. QString mFileName;
  30. QString mFilePath;
  31. };
  32. #endif // LAUNCHPAGE_H