pcsx2/pcsx2-qt/Settings/InterfaceSettingsWidget.h

36 lines
636 B
C
Raw Normal View History

// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: GPL-3.0+
2021-12-13 12:12:54 +00:00
#pragma once
#include <QtWidgets/QWidget>
#include "ui_InterfaceSettingsWidget.h"
class SettingsWindow;
2021-12-13 12:12:54 +00:00
class InterfaceSettingsWidget : public QWidget
{
Q_OBJECT
public:
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
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
};