summaryrefslogtreecommitdiff
path: root/user_management.h
diff options
context:
space:
mode:
Diffstat (limited to 'user_management.h')
-rw-r--r--user_management.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/user_management.h b/user_management.h
new file mode 100644
index 0000000..88e2bd0
--- /dev/null
+++ b/user_management.h
@@ -0,0 +1,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