-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgesproduit.h
41 lines (39 loc) · 1.08 KB
/
gesproduit.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
#ifndef GESPRODUIT_H
#define GESPRODUIT_H
#include "qtmaterialraisedbutton.h"
#include "qtmaterialtextfield.h"
#include "qtmaterialsnackbar.h"
#include <QWidget>
#include <QTableWidget>
#include <QSqlQueryModel>
#include <QGraphicsEffect>
#include <QTableView>
#include <QPropertyAnimation>
#include <QHeaderView>
#include "database.h"
class Gesproduit : public QWidget
{
Q_OBJECT
public:
explicit Gesproduit(QWidget *parent = nullptr);
private:
Database tempdb;
private slots:
void onprintclicked();
void onaddclicked();
void ondeleteclicked();
void onmodifyclicked();
void addproduct();
void productmodified();
void deleted();
void closeadd();
public:
QPropertyAnimation *A_customdrawer,*A_transbg;
QtMaterialSnackbar *selectwarning;
QtMaterialRaisedButton *addbtn,*addbtn2,*addbtn3,*cancelbtn,*deletebtn,*deletebtn2,*modifybtn, *printpdf;
QTableWidget *producttable;
QtMaterialTextField *txttype,*txtid,*txtname,*txtquantity,*txtvalid;
QWidget* gproduit,*tablewidget,*transparentbg,*customdrawer;
signals:
};
#endif // GESPRODUIT_H