diff options
author | Zach Hilman <[email protected]> | 2018-10-09 21:53:04 -0400 |
---|---|---|
committer | Zach Hilman <[email protected]> | 2018-10-23 19:31:28 -0400 |
commit | b2a8209c5be07f045ad6823eb6a0246a9a537a34 (patch) | |
tree | 0a4561d080d9eddb9d03cedaf91b7f20d626e4e4 /src/yuzu/configuration/configure_system.h | |
parent | d3fbf45705e03b992f0ada890cabeac88b86ba3c (diff) | |
download | yuzu-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.h | 19 |
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; |