#ifndef WINDOWSSETTINGS_H #define WINDOWSSETTINGS_H #include "database.h" #include #include #include using std::string; namespace Ui { class WindowsSettings; } class WindowsSettings : public QMainWindow { Q_OBJECT public: explicit WindowsSettings(DataBase * db, QWidget * parent = 0); ~WindowsSettings(); private: Ui::WindowsSettings * ui; string currentDateTime(); DataBase * db; int rennId; vector> carIds; vector> driversList; QStringListModel * carModel; QStringListModel * driversModel; public slots: void SaveDauerSlot(); void AbbrechenSlot(); void StreckeSpeichernSlot(); void SaveDauerAndExitSlot(); void repaintMinLapTime(); void repaintMinCurLapTime(); void createRaceListAndClose(); void closeWindow(); }; #endif // WINDOWSSETTINGS_H