-
Notifications
You must be signed in to change notification settings - Fork 0
/
parking.h
158 lines (107 loc) · 3.16 KB
/
parking.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#ifndef PARKING_H
#define PARKING_H
#include <QMainWindow>
#include "parking/smtp.h"
#include "parking/vehicule.h"
#include "parking/placeparking.h"
#include "parking/vehiculeproprietaire.h"
#include "parking/historique.h"
#include "parking/alerte.h"
#include "securite.h"
#include "arduino.h"
#include "parking/cartem.h"
namespace Ui {
class Parking;
}
class Parking : public QWidget
{
Q_OBJECT
public:
explicit Parking(QWidget *parent = nullptr);
void setId(int id);
~Parking();
private slots:
void verifier();
void sendMail();
void mailSent(QString);
void updateComboBox();
void on_pushButton_ajouter_clicked();
void on_pushButton_supprimer_clicked();
void on_pushButton_vide_clicked();
void on_pushButton_modifier_clicked();
void on_ajouter_clicked();
void on_supprimer_clicked();
void on_modifier_clicked();
void on_ajouter_places_clicked();
void updateAffichage();
void on_affecter_invite_clicked();
void on_pushButton_liberer_vis_clicked();
void on_lineEdit_3_textEdited(const QString &arg1);
void on_tableView_activated(const QModelIndex &index);
void on_pushButton_historique_clicked();
void on_pushButton_ouvrir_clicked();
void on_calendarWidget_activated(const QDate &date);
void on_supprimer_Hist_clicked();
void on_supprimer_all_hist_clicked();
void updateAffichageHistorique();
void on_supprimer_all_guest_clicked();
void on_lineEdit_7_textEdited(const QString &arg1);
void on_modifEtat_clicked();
void on_Button_efface_clicked();
void on_pushButton_15_clicked();
void on_pushButton_18_clicked();
void on_pushButton_11_clicked();
void on_pushButton_19_clicked();
void on_pushButton_17_clicked();
void on_pushButton_jardin_clicked();
void on_pushButton_frigo_clicked();
void on_pushButton_chambre_clicked();
void scannerCarte();
void on_scanner_clicked();
void on_arreter_scanne_clicked();
void on_pushButton_clicked();
void on_suppimer_carte_clicked();
void on_pushButton_carte_clicked();
void on_tableView_5_doubleClicked(const QModelIndex &index);
void cacherLesBoutonOption();
void on_setting_clicked();
void on_radioButton_clicked();
void on_radioButton_2_clicked();
void on_checkBox_stateChanged(int arg1);
void on_radioButton_3_clicked();
void on_radioButton_4_clicked();
signals:
void clicAccueil();
void clicSecurite();
void clicLoginParking();
void clicCloseParking();
void clicChembreParking();
void clicParkingParking();
void clicFrigoParking();
void clicJardinParking();
void espaceResident();
void themeSombre();
void themeClaire();
void sonMuet();
void sonNonMuet();
void langueFrancaise();
void langueAnglaise();
void jouer();
void jouerExcla();
void jouerEr();
signals:
void lecture();
private:
Ui::Parking *ui;
PlaceParking p;
Historique h;
Membre m;
Alerte a;
CarteM c;
QByteArray data; // variable contenant les données reçues
QString d;
int mail;
QString IdCarte;
Arduino A; // objet temporaire
};
#endif // PARKING_H