launchpage.h 726 B

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