-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwidget.h
49 lines (45 loc) · 1.01 KB
/
widget.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
#ifndef WIDGET_H
#define WIDGET_H
#include <QWidget>
#include <QFormLayout>
#include <QLineEdit>
#include <QCheckBox>
#include <QPushButton>
#include <QIODevice>
#include <QFile>
#include <QString>
#include <QTextStream>
#include <QTableWidget>
#include <QVBoxLayout>
#include <QHBoxLayout>
class Widget : public QWidget
{
Q_OBJECT
public:
Widget(QWidget *parent = 0);
bool estDedans(QString nom, QString prenom, QString numEtu);
~Widget();
public slots:
void setMail(QString s);
void flush();
void addMember();
//void deleteMember(); //!TODO
void listMember();
void updatelistMember();
//void verifyMemberInServices(); //!TODO
//void deleteMemberInServices(); //!TODO
private:
QFormLayout m_layout;
QLineEdit m_nom;
QLineEdit m_prenom;
QLineEdit m_pseudo;
QLineEdit m_mail;
QLineEdit m_num;
QLineEdit m_numCarte;
QCheckBox m_estPaye;
QPushButton m_ok;
QPushButton m_list;
QPushButton m_verify;
QTableWidget m_table;
};
#endif // WIDGET_H