-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaddsales.h
More file actions
50 lines (35 loc) · 979 Bytes
/
addsales.h
File metadata and controls
50 lines (35 loc) · 979 Bytes
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
#ifndef ADDSALES_H
#define ADDSALES_H
#include <QMainWindow>
#include <QTableView>
#include <QStandardItemModel>
#include <QStandardItem>
#include <registercustomer.h>
#include <checkdiscount.h>
namespace Ui {
class AddSales;
}
class AddSales : public QMainWindow
{
Q_OBJECT
public:
explicit AddSales(QWidget *parent = nullptr);
~AddSales();
private slots:
void on_Del_Row_btn_clicked();
void on_ADD_Row_btn_clicked();
void on_Add_sale_btn_clicked();
void on_Product_id_textChanged(const QString &arg1);
void on_quantity_spinBox_valueChanged(int arg1);
void on_actionDel_Row_triggered();
void on_customer_id_textChanged(const QString &arg1);
void on_register_customer_btn_clicked();
void on_check_discount_pushButton_clicked();
private:
Ui::AddSales *ui;
QTableView *tableView;
QStandardItemModel *model;
RegisterCustomer *Register_Customer;
CheckDiscount *checkdiscount;
};
#endif // ADDSALES_H