-
Notifications
You must be signed in to change notification settings - Fork 0
/
hanalisi.h
67 lines (53 loc) · 1.49 KB
/
hanalisi.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef HANALISI_H
#define HANALISI_H
#include <QWidget>
#include <QSqlDatabase>
#include <QSqlTableModel>
#include <QDate>
namespace Ui {
class HAnalisi;
}
class HAnalisi : public QWidget
{
Q_OBJECT
public:
explicit HAnalisi(QSqlDatabase pdb, QWidget *parent = 0);
~HAnalisi();
public slots:
private:
Ui::HAnalisi *ui;
QSqlDatabase db;
QSqlTableModel *tmClienti;
QDate datedal;
QDate dateal;
private slots:
void getProductsForClient();
void getLotComponents();
void getLotComponents(int idlotto);
int getLotID(QString lot);
// void findLotComposition();
void findLotUse();
void setLotSearch(QString msg);
void setNarrowSearch();
void narrow();
void setCompSearch();
void on_rbAll_toggled(bool checked);
// void on_rbMateriePrime_toggled(bool checked);
void on_rbProdottifiniti_toggled(bool checked);
// void on_rbSemilavorati_toggled(bool checked);
void on_rbPackages_toggled(bool checked);
void on_pushButton_clicked();
void on_pushButton_3_clicked();
void on_pushButton_4_clicked();
void on_pushButton_5_clicked();
void getYearlyProduction();
void on_checkBox_toggled(bool checked);
void on_deFrom_dateChanged(const QDate &date);
void on_deTo_dateChanged(const QDate &date);
void printLot();
void printThis();
void on_pbPrint_clicked();
public slots:
void doMenu(QPoint pos);
};
#endif // HANALISI_H