Files
Rennbahn/mainwindow.h

45 lines
1000 B
C++

#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
//#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 <memory>
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::shared_ptr<Training> interfaceTraining;
void closeEvent(QCloseEvent * event);
std::shared_ptr<DataBase> db;
Ui::MainWindow * ui;
std::shared_ptr<WindowRace> interfaceRace;
std::shared_ptr<WindowsSettings> interfaceSettings;
std::shared_ptr<WindowRennliste> interfaceRennliste;
std::shared_ptr<Evaluation> interfaceEvaluation;
};
#endif // MAINWINDOW_H