2017-05-04 07:47:59 +00:00
|
|
|
// Copyright 2017 Dolphin Emulator Project
|
2021-07-05 01:22:19 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
2017-05-04 07:47:59 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QCheckBox;
|
|
|
|
class QComboBox;
|
2018-05-06 16:25:37 +00:00
|
|
|
class QLabel;
|
2021-09-23 03:57:52 +00:00
|
|
|
class QRadioButton;
|
2017-05-04 07:47:59 +00:00
|
|
|
class QVBoxLayout;
|
2023-06-08 01:54:49 +00:00
|
|
|
class ToolTipCheckBox;
|
2017-05-04 07:47:59 +00:00
|
|
|
|
|
|
|
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();
|
2021-09-23 03:57:52 +00:00
|
|
|
void OnCursorVisibleMovement();
|
|
|
|
void OnCursorVisibleNever();
|
|
|
|
void OnCursorVisibleAlways();
|
2017-05-04 07:47:59 +00:00
|
|
|
|
|
|
|
QVBoxLayout* m_main_layout;
|
2017-05-05 10:38:59 +00:00
|
|
|
QComboBox* m_combobox_language;
|
|
|
|
|
2017-05-04 07:47:59 +00:00
|
|
|
QComboBox* m_combobox_theme;
|
2018-05-06 16:25:37 +00:00
|
|
|
QComboBox* m_combobox_userstyle;
|
|
|
|
QLabel* m_label_userstyle;
|
2017-05-04 07:47:59 +00:00
|
|
|
QCheckBox* m_checkbox_top_window;
|
2017-07-23 13:28:34 +00:00
|
|
|
QCheckBox* m_checkbox_use_builtin_title_database;
|
2023-06-08 01:54:49 +00:00
|
|
|
QCheckBox* m_checkbox_use_userstyle;
|
|
|
|
ToolTipCheckBox* m_checkbox_show_debugging_ui;
|
2020-02-07 23:56:13 +00:00
|
|
|
QCheckBox* m_checkbox_focused_hotkeys;
|
2018-07-30 01:16:37 +00:00
|
|
|
QCheckBox* m_checkbox_use_covers;
|
2020-02-08 19:04:25 +00:00
|
|
|
QCheckBox* m_checkbox_disable_screensaver;
|
2017-05-04 07:47:59 +00:00
|
|
|
|
|
|
|
QCheckBox* m_checkbox_confirm_on_stop;
|
|
|
|
QCheckBox* m_checkbox_use_panic_handlers;
|
|
|
|
QCheckBox* m_checkbox_enable_osd;
|
2017-05-15 14:49:52 +00:00
|
|
|
QCheckBox* m_checkbox_show_active_title;
|
2017-05-04 07:47:59 +00:00
|
|
|
QCheckBox* m_checkbox_pause_on_focus_lost;
|
2021-09-23 03:57:52 +00:00
|
|
|
QRadioButton* m_radio_cursor_visible_movement;
|
|
|
|
QRadioButton* m_radio_cursor_visible_never;
|
|
|
|
QRadioButton* m_radio_cursor_visible_always;
|
2021-05-09 10:28:04 +00:00
|
|
|
QCheckBox* m_checkbox_lock_mouse;
|
2017-05-04 07:47:59 +00:00
|
|
|
};
|