-
Notifications
You must be signed in to change notification settings - Fork 0
/
livre.h
37 lines (34 loc) · 849 Bytes
/
livre.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
#ifndef EMPRUNT_H
#define EMPRUNT_H
#include <QObject>
#include <QtWidgets>
#include <QWidget>
#include <QSqlRelationalTableModel>
/*
*
*/
class livre : public QDialog
{
Q_OBJECT
public:
livre(QWidget *parent=nullptr);
void livre_db();
signals:
public slots:
void textFilterChanged();
void add_livre();
void modifier_livre();
void supprimer_livre();
void ajouter_exemplaire();
private:
QLineEdit *m_titre, *m_auteur, *m_identifiant, *m_reservation, *m_Btexemplaire;
QTableView *m_vue;
QComboBox *m_recherche;
QLineEdit *m_searchBar;
QDateEdit *m_dateInscription;
QPushButton *m_supprimer, *m_ajouter, *m_modifier, *m_exemplaire, *m_retour, *m_afficher;
QSqlRelationalTableModel *m_model;
QDataWidgetMapper *m_mapper;
QSortFilterProxyModel *m_proxyModel;
};
#endif // EMPRUNT_H