Projet e-stock  1.0
BTS SN-IR 2019
IhmAuthentification.h
Aller à la documentation de ce fichier.
1 #ifndef IHMAUTHENTIFICATION_H
2 #define IHMAUTHENTIFICATION_H
3 
16 #include <QtWidgets>
17 
18 namespace Ui
19 {
20  class IhmAuthentification;
21 }
22 
25 class IhmGestionArmoire;
26 class BaseDeDonnees;
27 class Utilisateur;
28 
40 class IhmAuthentification : public QWidget
41 {
42  Q_OBJECT
43 
44 public:
45  explicit IhmAuthentification(QWidget *parent = nullptr);
47 
48 private:
49  Ui::IhmAuthentification *ui;
56 
57  void initialiserFenetre();
58  void afficherAuthentificationNonValide();
59  void reinitialiserSaisieBadge();
60 
61 public slots:
62  void validerAcces();
63  void authentifierSansBadge();
64  void autoriserSansBadge(QString identifiant, QString motDePasse);
65  void effacerMessage();
66  void passerSansBadge(); // mode développeur seulement
67 };
68 
69 #endif // IHMAUTHENTIFICATION_H
La fenêtre principale de l&#39;application.
Definition: IhmAuthentification.h:40
Definition: IhmAuthentification.h:18
Definition: ihm-estock/baseDeDonnees.h:25
BaseDeDonnees * bdd
agrégation de l&#39;objet BaseDeDonnees
Definition: IhmAuthentification.h:55
Definition: AuthentificationBadge.h:9
IhmAuthentificationSansBadge * ihmAuthentificationSansBadge
Definition: IhmAuthentification.h:51
IhmGestionArmoire * ihmGestionArmoire
Definition: IhmAuthentification.h:52
Definition: IhmGestionArmoire.h:21
Definition: IhmAuthentificationSansBadge.h:12
Definition: utilisateur.h:10
Utilisateur * utilisateur
Definition: IhmAuthentification.h:53
AuthentificationBadge * authentificationBadge
Definition: IhmAuthentification.h:50
Utilisateur * administateur
Definition: IhmAuthentification.h:54
Ui::IhmAuthentification * ui
agrégation de la définition de la fenêtre UI
Definition: IhmAuthentification.h:49