2023-12-22 11:57:49 +00:00
|
|
|
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
|
|
|
|
// SPDX-License-Identifier: LGPL-3.0+
|
2021-12-13 12:12:54 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_InterfaceSettingsWidget.h"
|
|
|
|
|
2023-10-14 08:45:09 +00:00
|
|
|
class SettingsWindow;
|
2021-12-13 12:12:54 +00:00
|
|
|
|
|
|
|
class InterfaceSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-10-14 08:45:09 +00:00
|
|
|
InterfaceSettingsWidget(SettingsWindow* dialog, QWidget* parent);
|
2021-12-13 12:12:54 +00:00
|
|
|
~InterfaceSettingsWidget();
|
|
|
|
|
|
|
|
Q_SIGNALS:
|
|
|
|
void themeChanged();
|
2023-06-19 12:03:10 +00:00
|
|
|
void languageChanged();
|
2021-12-13 12:12:54 +00:00
|
|
|
|
2022-06-28 11:37:30 +00:00
|
|
|
private Q_SLOTS:
|
|
|
|
void onRenderToSeparateWindowChanged();
|
|
|
|
|
2021-12-13 12:12:54 +00:00
|
|
|
private:
|
2023-06-19 12:03:10 +00:00
|
|
|
void populateLanguages();
|
|
|
|
|
2021-12-13 12:12:54 +00:00
|
|
|
Ui::InterfaceSettingsWidget m_ui;
|
2023-06-23 13:18:10 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
static const char* THEME_NAMES[];
|
|
|
|
static const char* THEME_VALUES[];
|
2021-12-13 12:12:54 +00:00
|
|
|
};
|