-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.h
More file actions
38 lines (32 loc) · 895 Bytes
/
window.h
File metadata and controls
38 lines (32 loc) · 895 Bytes
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
//
// Created by User on 7/12/2023.
//
#ifndef TESTING_WINDOW_H
#define TESTING_WINDOW_H
#include <QWidget>
#include "observer.h"
#include "session.h"
#include "department.h"
#include <QLabel>
#include <QVBoxLayout>
#include <QListWidget>
#include <QLineEdit>
#include <QPushButton>
using namespace std;
class Window : public Observer, public QWidget {
private:
Session &session;
Department department;
QLabel *description;
QListWidget *volunteersList, *unassignedVolunteers;
QPushButton *addVolunteer, *assignVolunteer;
QLineEdit *volunteerName, *volunteerEmail, *volunteerInterests;
QLabel *volunteerNameLabel, *volunteerEmailLabel, *volunteerInterestsLabel;
public:
Window(Session &session, Department department, QWidget *parent = nullptr);
void update() override;
public slots:
void addVol();
void assignVol();
};
#endif //TESTING_WINDOW_H