mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-12 13:43:15 +00:00
gui: Implement settings dialog
This commit is contained in:
parent
ea4ae56f4d
commit
96fb00d411
7 changed files with 900 additions and 2 deletions
28
src/qt_gui/settings_dialog.h
Normal file
28
src/qt_gui/settings_dialog.h
Normal file
|
@ -0,0 +1,28 @@
|
|||
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
#include <QPushButton>
|
||||
|
||||
#include "common/config.h"
|
||||
#include "common/path_util.h"
|
||||
|
||||
namespace Ui {
|
||||
class SettingsDialog;
|
||||
}
|
||||
|
||||
class SettingsDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit SettingsDialog(QWidget* parent = nullptr);
|
||||
~SettingsDialog();
|
||||
|
||||
int exec() override;
|
||||
|
||||
private:
|
||||
void LoadValuesFromConfig();
|
||||
|
||||
std::unique_ptr<Ui::SettingsDialog> ui;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue