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

#include <QWidget>
#include <QDebug>
#include "parse_file.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();
};

#endif // USER_MANAGEMENT_H