mainwindow.h 611 B

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef MAINWINDOW_H
  2. #define MAINWINDOW_H
  3. #include <QMainWindow>
  4. #include "configinfo.h"
  5. #include "handle/database.h"
  6. QT_BEGIN_NAMESPACE
  7. namespace Ui { class MainWindow; }
  8. QT_END_NAMESPACE
  9. class MainWindow : public QMainWindow
  10. {
  11. Q_OBJECT
  12. public:
  13. MainWindow(QWidget *parent = nullptr);
  14. ~MainWindow();
  15. private slots:
  16. void on_pushAuto_clicked();
  17. void on_pushList_clicked();
  18. private:
  19. void backMenu();
  20. void pageStatusChange(const ProjectInfo & info, int status);
  21. void changedjmb(QImage image);
  22. Database database;
  23. private:
  24. Ui::MainWindow *ui;
  25. };
  26. #endif // MAINWINDOW_H