-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.h
82 lines (53 loc) · 1.57 KB
/
mainwindow.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
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "person.h"
#include "vacancy.h"
#include "applicant.h"
#include "addvacancy.h"
#include <QString>
#include <QMap>
#include <QListWidgetItem>
#include "addapplicant.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
inline void rewrite_data();
signals:
void sendVacList(QMap<QString, Vacancy> m);
private slots:
void on_action_triggered();
void on_pushButton_2_clicked();
void on_addApp_clicked();
void on_AddVac_clicked();
void addVac(Vacancy v);
void addApp(Applicant a);
void on_listWidget_2_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void on_DelVac_clicked();
void on_listWidget_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void on_NotByVac_clicked();
void on_delApp_clicked();
void on_notifyApp_clicked();
void on_AcApp_clicked();
void on_DecApp_clicked();
void on_listWidget_3_currentItemChanged(QListWidgetItem *current, QListWidgetItem *previous);
void on_DelArch_clicked();
void on_DelAllArch_clicked();
void on_DelAc_clicked();
void on_DelDec_clicked();
private:
Ui::MainWindow *ui;
AddVacancy addvacancy;
AddApplicant addapplicant;
QMap<QString , Applicant> applicants;
QMap<QString , Vacancy> vacancies;
QMap<QString , Applicant> archive;
QString format_string(QString s);
};//19
#endif // MAINWINDOW_H