36 lines
631 B
C++
36 lines
631 B
C++
#ifndef WINDOWSSETTINGS_H
|
|
#define WINDOWSSETTINGS_H
|
|
|
|
#include <QMainWindow>
|
|
#include <string>
|
|
#include "database.h"
|
|
|
|
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();
|
|
|
|
};
|
|
|
|
#endif // WINDOWSSETTINGS_H
|