-
Notifications
You must be signed in to change notification settings - Fork 0
/
processplayercards.h
55 lines (41 loc) · 1.02 KB
/
processplayercards.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
45
46
47
48
49
50
51
52
53
54
55
#ifndef PROCESSPLAYERCARDS_H
#define PROCESSPLAYERCARDS_H
#include <QWidget>
#include <QVector>
#include "moneybirdapi.h"
#include "contacts.h"
#include "salesinvoice.h"
#include "playercard.h"
namespace Ui {
class ProcessPlayerCards;
}
class ProcessPlayerCards : public QWidget
{
Q_OBJECT
public:
explicit ProcessPlayerCards();
~ProcessPlayerCards();
private slots:
void on_createInvoice_pressed();
void on_previous_pressed();
void on_next_pressed();
void on_find_pressed();
void contactsReady();
void contactSelected(int index);
void on_dutchButton_toggled(bool checked);
void invoicePosted();
void invoiceSent();
private:
void populateWindow(int page);
void disableButtons();
QVector<PlayerCard*> unprocessedPlayerCards;
int currentPage;
int selectedContactIndex = -1;
Ui::ProcessPlayerCards *ui;
GetQueryContacts *getContacts;
SalesInvoice *invoice;
ShowNameList *contactList;
PostInvoice *post;
SendInvoice *send;
};
#endif // PROCESSPLAYERCARDS_H