Files
Rennbahn/windowssettings.h

35 lines
673 B
C++

#ifndef WINDOWSSETTINGS_H
#define WINDOWSSETTINGS_H
#include "database.h"
#include <QMainWindow>
#include <string>
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;
public slots:
void SaveDauerSlot();
void AbbrechenSlot();
void StreckeSpeichernSlot();
void SaveDauerAndExitSlot();
void repaintMinLapTime();
void repaintMinCurLapTime();
};
#endif // WINDOWSSETTINGS_H