fix of last commit
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
// filecontrol
|
||||
#include <fcntl.h>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define HARDWARESETUP_H
|
||||
|
||||
#include <QtCore>
|
||||
#include <memory>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include "windowrennliste.h"
|
||||
#include <QMainWindow>
|
||||
#include <QMessageBox>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
#ifndef WINDOWRENNLISTE_H
|
||||
#define WINDOWRENNLISTE_H
|
||||
|
||||
#include <QMainWindow>
|
||||
#include "database.h"
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <QCloseEvent>
|
||||
#include <QMainWindow>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class WindowRace;
|
||||
using std::vector;
|
||||
@@ -14,30 +15,30 @@ namespace Ui {
|
||||
class WindowRennliste;
|
||||
}
|
||||
|
||||
class WindowRennliste : public QMainWindow
|
||||
{
|
||||
class WindowRennliste : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
public:
|
||||
void schliessen();
|
||||
explicit WindowRennliste(DataBase *db, QWidget *parent = 0);
|
||||
explicit WindowRennliste(DataBase * db, QWidget * parent = 0);
|
||||
~WindowRennliste();
|
||||
void setWindowRace(WindowRace *instance);
|
||||
void setWindowRace(WindowRace * instance);
|
||||
vector<QString> getDriverAndCarSettings();
|
||||
vector<QString> getDriverAndCarId();
|
||||
void sendIds();
|
||||
void setBesttime(int shell, int dea);
|
||||
private:
|
||||
bool windowClose;
|
||||
void closeEvent(QCloseEvent *event);
|
||||
void setSelection(int row);
|
||||
WindowRace *instanceWindowRace;
|
||||
unsigned int selectedRow;
|
||||
vector< vector<QString> > tableData;
|
||||
DataBase *db;
|
||||
Ui::WindowRennliste *ui;
|
||||
|
||||
public slots:
|
||||
private:
|
||||
bool windowClose;
|
||||
void closeEvent(QCloseEvent * event);
|
||||
void setSelection(int row);
|
||||
WindowRace * instanceWindowRace;
|
||||
unsigned int selectedRow;
|
||||
vector<vector<QString>> tableData;
|
||||
DataBase * db;
|
||||
Ui::WindowRennliste * ui;
|
||||
|
||||
public slots:
|
||||
void listClick(const QModelIndex & index);
|
||||
void changeSelection();
|
||||
};
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "database.h"
|
||||
#include <QMainWindow>
|
||||
#include <memory>
|
||||
#include <qcolordialog.h>
|
||||
#include <qstringlistmodel.h>
|
||||
#include <string>
|
||||
|
||||
Reference in New Issue
Block a user