mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 19:48:02 -05:00
qt: Add Profile Manager UI to system settings
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user