2022-12-04 11:03:45 +00:00
|
|
|
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
|
|
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
|
|
|
|
2020-03-22 03:16:32 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QtWidgets/QWidget>
|
|
|
|
|
|
|
|
#include "ui_generalsettingswidget.h"
|
|
|
|
|
2023-11-06 13:01:38 +00:00
|
|
|
class SettingsWindow;
|
2020-03-22 03:16:32 +00:00
|
|
|
|
|
|
|
class GeneralSettingsWidget : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2023-11-06 13:01:38 +00:00
|
|
|
explicit GeneralSettingsWidget(SettingsWindow* dialog, QWidget* parent);
|
2020-03-22 03:16:32 +00:00
|
|
|
~GeneralSettingsWidget();
|
|
|
|
|
2022-07-11 13:03:29 +00:00
|
|
|
private Q_SLOTS:
|
|
|
|
void onRenderToSeparateWindowChanged();
|
|
|
|
|
2020-03-22 03:16:32 +00:00
|
|
|
private:
|
|
|
|
Ui::GeneralSettingsWidget m_ui;
|
|
|
|
|
2023-11-06 13:01:38 +00:00
|
|
|
SettingsWindow* m_dialog;
|
2023-09-02 07:27:34 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
static const char* THEME_NAMES[];
|
|
|
|
static const char* THEME_VALUES[];
|
|
|
|
static const char* DEFAULT_THEME_NAME;
|
2020-03-22 03:16:32 +00:00
|
|
|
};
|