forked from 3rd-year-CSE-20/SIS_GUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstaffdashboard.h
92 lines (83 loc) · 2.17 KB
/
staffdashboard.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
#ifndef STAFFDASHBOARD_H
#define STAFFDASHBOARD_H
#include <QFormLayout>
#include <QWidget>
#include <QLabel>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QPixmap>
#include <QSize>
#include <QString>
#include <QListWidget>
#include <QPalette>
#include <QTabWidget>
#include <QLineEdit>
#include <QAbstractItemView>
#include <QTableWidget>
#include "student.h"
#include "staffmember.h"
class StaffDashboard : public QWidget{
Q_OBJECT
public:
StaffDashboard(StaffMember *s,QWidget *parent = nullptr, bool fromAdmin = false);
~StaffDashboard();
QFormLayout *formlayout1;
QFormLayout *formlayout2;
QVBoxLayout* mainLayout;
QHBoxLayout* _mainLayout;
QHBoxLayout *t1;
QHBoxLayout *t2;
QVBoxLayout * personalLayout;
QVBoxLayout * academicLayout;
QWidget *personalWidget;
QWidget *academicWidget;
QWidget *container;
QTabWidget *tabWidget;
QLabel *firstLabel;
QLabel *lastLabel;
QLabel *gendreLabel;
QLabel *birthLabel;
QLabel *idLabel;
QLabel *degreelbl;
QSize *size1;
QString picPath;
QPalette *pal;
QFont *font1;
QLabel* degreeLabel;
QLabel* graduationyearLabel;
QLabel* departmentLabel;
QLabel *fnameDBlbl;
QLabel *lnameDBlbl;
QLabel *departDBlbl;
QLabel *degreeDBlbl;
QLabel *gendreDBlbl;
QLabel *birthDBlbl;
QLabel *idDBlbl;
QLabel *piclbl1;
QLabel *piclbl2;
QLabel* graduationyearLabelfromDatabase;
QLabel* teachingcoursesLabelfromDatabase;
QPushButton *signout;
StaffMember s;
QPushButton *backBtn;
QPushButton *deleteBtn;
QLineEdit *editFirstNametxt;
QLineEdit *editLastNametxt;
QLineEdit *editBirthdatetxt;
QPushButton *saveBtn;
QWidget *coursesAssignWidget;
QListWidget *coursesList;
QVBoxLayout *coursesAssignWidgetLay;
QPushButton *saveCourse;
void onSignoutClicked();
void onBackClicked();
void onDeleteClicked();
void onSaveClicked();
void onSaveCoursesClicked();
signals:
void Signout();
void Back();
void Delete();
};
#endif // STAFFDASHBOARD_H