summaryrefslogtreecommitdiff
path: root/user_management.h
blob: a1209b5c19b4c3cb9be1612957c0a049de9b074d (plain)
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
#ifndef USER_MANAGEMENT_H
#define USER_MANAGEMENT_H

#include <QWidget>
#include <QDebug>
#include "parse_file.h"
#include "message_box.h"

namespace Ui {
class user_management;
}

class user_management : public QWidget
{
    Q_OBJECT

public:
    explicit user_management(QWidget *parent = 0);
    ~user_management();

private slots:
    void on_refresh_users_button_clicked();

    void on_delete_user_button_clicked();

    void on_add_user_button_clicked();

private:
    Ui::user_management *ui;
    parse_file parse;
    QStringList usernames;
    QStringList userids;
    void load_players();
    message_box msgbox;
};

#endif // USER_MANAGEMENT_H