-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgamehistory.h
44 lines (35 loc) · 837 Bytes
/
gamehistory.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
41
42
43
44
#ifndef GAMEHISTORY_H
#define GAMEHISTORY_H
#include <QWidget>
#include <QCalendarWidget>
#include <QDateEdit>
#include <QLineEdit>
#include <QButtonGroup>
#include <QCheckBox>
#include <QTableView>
#include <QPushButton>
#include "gamehistorytablemodel.h"
#include "language.h"
namespace Ui {
class gameHistory;
}
class gameHistory : public QWidget
{
Q_OBJECT
public:
explicit gameHistory(QWidget *parent = nullptr);
~gameHistory();
private:
Ui::gameHistory *ui;
QLineEdit getNickName;
QDateEdit FirstDate, SecondDate;
QButtonGroup checks;
QCheckBox CheckWin, CheckLost, CheckAll;
QPushButton SearchButton;
QTableView HistoryTable;
gameHistoryTableModel model;
void SearchButtonCallback();
void textEditedCallback();
void dateEditedCallback();
};
#endif // GAMEHISTORY_H