-
Notifications
You must be signed in to change notification settings - Fork 0
/
coperations.h
53 lines (34 loc) · 1.01 KB
/
coperations.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 COPERATIONS_H
#define COPERATIONS_H
#include <QWidget>
#include <QSqlDatabase>
#include "csqlrelationaltablemodel.h"
namespace Ui {
class COperations;
}
class COperations : public QWidget
{
Q_OBJECT
public:
explicit COperations(QWidget *parent = 0);
~COperations();
void init(QSqlDatabase pdb);
private slots:
void on_deDal_dateChanged(const QDate &date);
void on_deAl_dateChanged(const QDate &date);
void on_pushButton_clicked();
void on_pushButton_2_clicked();
void on_pushButton_3_clicked();
void reload();
void showRegistrazione();
void on_tvMain_doubleClicked(const QModelIndex &index);
void on_lineEdit_textChanged(const QString &arg1);
// void showContextMenu(const QPoint &);
void on_tvMain_customContextMenuRequested(const QPoint &pos);
private:
Ui::COperations *ui;
QSqlDatabase db;
CSqlRelationalTableModel *mod;
void setFilter(QString fil="");
};
#endif // COPERATIONS_H