#ifndef MAINWINDOW_H #define MAINWINDOW_H #include //#include "mainwindow2.h" #include "evaluation.h" #include "hardwaresetup.h" #include "training.h" #include "windowrace.h" #include "windowrennliste.h" #include "windowrennliste2.h" #include "windowssettings.h" #include namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget * parent = nullptr); ~MainWindow(); public slots: void NewWindowSettings(); void WindowRennen(); void WindowTraining(); void WindowEvaluation(); private: std::unique_ptr interfaceTraining; void closeEvent(QCloseEvent * event); std::unique_ptr db; Ui::MainWindow * ui; std::unique_ptr interfaceRace; std::unique_ptr interfaceSettings; std::unique_ptr interfaceRennliste; std::unique_ptr interfaceEvaluation; std::shared_ptr startTraining; std::shared_ptr startRennen; }; #endif // MAINWINDOW_H