-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproducts.h
More file actions
47 lines (35 loc) · 813 Bytes
/
Copy pathproducts.h
File metadata and controls
47 lines (35 loc) · 813 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
#ifndef PRODUCTS_H
#define PRODUCTS_H
#include <QDialog>
#include <QSqlTableModel>
#include <QSqlQuery>
#include <QSqlError>
#include <QVariant>
#include <QInputDialog>
#include <QMessageBox>
#include "categories.h"
namespace Ui {
class Products;
}
class Products : public QDialog
{
Q_OBJECT
public:
explicit Products(QWidget *parent = 0);
~Products();
int tag;
bool chosen;
int goods_id;
private slots:
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void on_tableView_doubleClicked(const QModelIndex &index);
void on_pushButton_4_clicked();
void on_tableView_clicked(const QModelIndex &index);
private:
Ui::Products *ui;
QSqlTableModel *model;
QSqlTableModel *model_p;
};
#endif // PRODUCTS_H