-
Notifications
You must be signed in to change notification settings - Fork 4
/
cashierwindow.h
88 lines (57 loc) · 1.69 KB
/
cashierwindow.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#ifndef CASHIERWINDOW_H
#define CASHIERWINDOW_H
#include <QMainWindow>
#include<QMessageBox>
#include <QFile>
#include<QDate>
#include <QDebug>
#include<dbase_cashier.h>
namespace Ui {
class CashierWindow;
}
class CashierWindow : public QMainWindow
{
Q_OBJECT
public:
explicit CashierWindow(QWidget *parent = 0);
~CashierWindow();
void showCashier_LoginDetails();
void showCompanyDetails();
void showbillTable(const QString &id,const QString &particulars,const double &rate,const int &quantity,const double &amount);
void showAmount();
void setProductTable();
void setTransactionTable();
public slots:
void on_logoutButton_clicked();
void on_productButton_clicked();
private slots:
void on_saleButton_clicked();
void on_allButton_clicked();
void on_homeButton_clicked();
void on_groceryButton_clicked();
void on_fashionButton_clicked();
void on_homeappButton_clicked();
void on_kidButton_clicked();
void on_liquorButton_clicked();
void on_giftsButton_clicked();
void on_otherButton_clicked();
void on_editCashierButton_clicked();
void on_saveChangeButton_clicked();
void on_checkProduct_clicked();
void on_addProduct_clicked();
void on_printBillButton_clicked();
void on_removeProduct_clicked();
void on_additionMode_clicked();
void on_deductionMode_clicked();
void on_todayHistory_clicked();
void on_gotodateHistory_clicked();
void on_okButton_clicked();
void on_invoiceButton_clicked();
void on_profileButton_clicked();
private:
Ui::CashierWindow *ui;
enum Column{
ID,Particulars,Rate,Quantity,Amount
};
};
#endif // CASHIERWINDOW_H