-
Notifications
You must be signed in to change notification settings - Fork 0
/
customer.h
53 lines (39 loc) · 1 KB
/
customer.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
#ifndef CUSTOMER_H
#define CUSTOMER_H
#include <QDialog>
#include <QVector>
#include <cloths.h>
#include <sporting_goods.h>
#include <add_kala.h>
namespace Ui {
class customer;
}
class customer : public QDialog
{
Q_OBJECT
public:
explicit customer(int i,QWidget *parent = nullptr);
~customer();
static QVector<cloths> vec_cloths[50];
static QVector<Sporting_goods> vec_sporting[50];
static QVector <int> id[50];
int getSize_of_widget() const;
void setSize_of_widget(int newSize_of_widget);
void show_item();
void refresh();
int getIndex_vector() const;
void setIndex_vector(int newIndex_vector);
private slots:
void on_pushButton_add_clicked();
void on_pushButton_4_clicked();
void on_pushButton_logout_clicked();
void on_pushButton_3_clicked();
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void check(int l);
private:
Ui::customer *ui;
static int size_of_widget;
int index_vector;
};
#endif // CUSTOMER_H