aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/yuzu/configuration/configure_system.h
diff options
context:
space:
mode:
authorZach Hilman <[email protected]>2018-10-09 21:53:04 -0400
committerZach Hilman <[email protected]>2018-10-23 19:31:28 -0400
commitb2a8209c5be07f045ad6823eb6a0246a9a537a34 (patch)
tree0a4561d080d9eddb9d03cedaf91b7f20d626e4e4 /src/yuzu/configuration/configure_system.h
parentd3fbf45705e03b992f0ada890cabeac88b86ba3c (diff)
downloadyuzu-android-b2a8209c5be07f045ad6823eb6a0246a9a537a34.tar.gz
yuzu-android-b2a8209c5be07f045ad6823eb6a0246a9a537a34.zip
qt: Add Profile Manager UI to system settings
Diffstat (limited to 'src/yuzu/configuration/configure_system.h')
-rw-r--r--src/yuzu/configuration/configure_system.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h
index f13de17d4..aa20a3c30 100644
--- a/src/yuzu/configuration/configure_system.h
+++ b/src/yuzu/configuration/configure_system.h
@@ -5,6 +5,11 @@
#pragma once
#include <memory>
+#include <QGraphicsScene>
+#include <QList>
+#include <QStandardItemModel>
+#include <QTreeView>
+#include <QVBoxLayout>
#include <QWidget>
namespace Ui {
@@ -21,13 +26,27 @@ public:
void applyConfiguration();
void setConfiguration();
+ void UpdateCurrentUser();
+
public slots:
void updateBirthdayComboBox(int birthmonth_index);
void refreshConsoleID();
+ void SelectUser(const QModelIndex& index);
+ void AddUser();
+ void RenameUser();
+ void DeleteUser();
+
private:
void ReadSystemSettings();
+ QVBoxLayout* layout;
+ QTreeView* tree_view;
+ QStandardItemModel* item_model;
+ QGraphicsScene* scene;
+
+ std::vector<QList<QStandardItem*>> list_items;
+
std::unique_ptr<Ui::ConfigureSystem> ui;
bool enabled;