-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguiUser.h
38 lines (32 loc) · 823 Bytes
/
guiUser.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
//
// Created by Misan on 5/17/2021.
//
#ifndef A89_915_MISAN_TEODORA_GUIUSER_H
#define A89_915_MISAN_TEODORA_GUIUSER_H
#include <QMainWindow>
#include <service.h>
#include <QPushButton>
#include <qlineedit.h>
#include <qpushbutton.h>
#include <qlistwidget.h>
#include <QColorDialog>
class GUIADM : public QWidget{
private:
Service& _serv;
public:
GUIADM(Service&);
private:
QListWidget* dogsListWidget;
QListWidget* adoptionListWidget;
QLineEdit* breedLineEdit, *nameLineEdit, *ageLineEdit, *photographLineEdit;
QWidget* centralWidget;
QPushButton* adoptButton;
QDialog* color;
void setUpGUI();
void populateDogList();
void populateAdoptList();
void connectSignalAndSlots();
int getSelectedIndex();
void adoptDog();
};
#endif //A89_915_MISAN_TEODORA_GUIUSER_H