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