-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaddproduct.h
More file actions
42 lines (31 loc) · 758 Bytes
/
addproduct.h
File metadata and controls
42 lines (31 loc) · 758 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
#ifndef ADDPRODUCT_H
#define ADDPRODUCT_H
#include <QMainWindow>
#include <QTableView>
#include <QStandardItemModel>
#include <QStandardItem>
#include <add_supplier.h>
namespace Ui {
class AddProduct;
}
class AddProduct : public QMainWindow
{
Q_OBJECT
public:
explicit AddProduct(QWidget *parent = nullptr);
~AddProduct();
private slots:
void on_Add_Products_btn_clicked();
void on_ADD_Row_btn_clicked();
void on_Del_Row_btn_clicked();
void on_actionDel_Row_triggered();
void on_register_supplier_btn_clicked();
private:
Ui::AddProduct *ui;
void loadCategories();
void loadSupplier_id();
QTableView *tableView;
QStandardItemModel *model;
Add_Supplier *AddSupplier;
};
#endif // ADDPRODUCT_H