49 lines
1.2 KiB
C++
49 lines
1.2 KiB
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <QWidget>
|
|
|
|
class QCheckBox;
|
|
class QComboBox;
|
|
class QLabel;
|
|
class QVBoxLayout;
|
|
|
|
class InterfacePane final : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit InterfacePane(QWidget* parent = nullptr);
|
|
|
|
private:
|
|
void CreateLayout();
|
|
void CreateUI();
|
|
void CreateInGame();
|
|
void ConnectLayout();
|
|
void LoadConfig();
|
|
void OnSaveConfig();
|
|
|
|
QVBoxLayout* m_main_layout;
|
|
QComboBox* m_combobox_language;
|
|
|
|
QComboBox* m_combobox_theme;
|
|
QComboBox* m_combobox_userstyle;
|
|
QLabel* m_label_userstyle;
|
|
QCheckBox* m_checkbox_top_window;
|
|
QCheckBox* m_checkbox_use_builtin_title_database;
|
|
QCheckBox* m_checkbox_use_userstyle;
|
|
QCheckBox* m_checkbox_show_debugging_ui;
|
|
QCheckBox* m_checkbox_focused_hotkeys;
|
|
QCheckBox* m_checkbox_use_covers;
|
|
QCheckBox* m_checkbox_disable_screensaver;
|
|
|
|
QCheckBox* m_checkbox_confirm_on_stop;
|
|
QCheckBox* m_checkbox_use_panic_handlers;
|
|
QCheckBox* m_checkbox_enable_osd;
|
|
QCheckBox* m_checkbox_show_active_title;
|
|
QCheckBox* m_checkbox_pause_on_focus_lost;
|
|
QCheckBox* m_checkbox_hide_mouse;
|
|
QCheckBox* m_checkbox_lock_mouse;
|
|
};
|