56 lines
1.4 KiB
C++
56 lines
1.4 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 QRadioButton;
|
|
class QVBoxLayout;
|
|
class ToolTipCheckBox;
|
|
|
|
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();
|
|
void OnCursorVisibleMovement();
|
|
void OnCursorVisibleNever();
|
|
void OnCursorVisibleAlways();
|
|
|
|
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;
|
|
ToolTipCheckBox* 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;
|
|
QRadioButton* m_radio_cursor_visible_movement;
|
|
QRadioButton* m_radio_cursor_visible_never;
|
|
QRadioButton* m_radio_cursor_visible_always;
|
|
QCheckBox* m_checkbox_lock_mouse;
|
|
};
|