mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 22:45:45 +00:00
qt: Add Profile Manager UI to system settings
This commit is contained in:
parent
d3fbf45705
commit
b2a8209c5b
3 changed files with 354 additions and 80 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue