-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatientdialog.h
49 lines (38 loc) · 1.03 KB
/
patientdialog.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 PATIENTDIALOG_H
#define PATIENTDIALOG_H
#include <QDialog>
#include <QLabel>
#include <QLineEdit>
#include <QDateEdit>
#include <QVBoxLayout>
#include <QDialogButtonBox>
class PatientDialog : public QDialog
{
Q_OBJECT
public:
explicit PatientDialog(QWidget* parent = nullptr);
QString getFirstName();
QString getLastName();
QString getDiagnosis();
QString getDateOfBirth();
void setFirstName(QString value);
void setLastName(QString value);
void setDiagnosis(QString value);
void setDateOfBirth(QString value);
private:
QLabel* firstNameLabel;
QLabel* lastNameLabel;
QLabel* diagnosisLabel;
QLabel* dateOfBirthLabel;
QVBoxLayout* dialogLayout;
QLineEdit* firstNameField;
QLineEdit* lastNameField;
QLineEdit* diagnosisField;
QDateEdit* dateOfBirthField;
QDialogButtonBox* buttonBox;
QString firstName;
QString lastName;
QString diagnosis;
QString dateOfBirth;
};
#endif // PATIENTDIALOG_H