-
Notifications
You must be signed in to change notification settings - Fork 0
/
fikstur.h
40 lines (32 loc) · 823 Bytes
/
fikstur.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef FIKSTUR_H
#define FIKSTUR_H
#include <string>
#include <QDialog>
#include <QListWidget>
#include <vector>
#include "takim.h"
#include <sstream>
#include "mac.h"
#include "QTableWidgetItem"
namespace Ui {
class Fikstur;
}
class Fikstur : public QDialog
{
Q_OBJECT
public:
explicit Fikstur(QWidget *parent = nullptr);
void setAllTeams(vector<Takim>&);
void setAllMatchs(vector<vector<Mac>>&);
int extractIntegerWords(string);
~Fikstur();
private slots:
void on_listWidget_itemClicked(QListWidgetItem *item);
void on_listWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void on_tableWidget_itemClicked(QTableWidgetItem *item);
private:
Ui::Fikstur *ui;
vector<Takim> allTeams;
vector<vector<Mac>> allMatchs;
};
#endif // FIKSTUR_H