Debian Codegraph @

Source/Core/DolphinQt/Settings/InterfacePane.h

raw symbols SCIP
1 // Copyright 2017 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QWidget>
7
8 class ConfigBool;
9 class ConfigRadioInt;
10 class ConfigStringChoice;
11 class QLabel;
12 class QVBoxLayout;
13 class ToolTipCheckBox;
14 class ToolTipComboBox;
15
16 namespace Core
17 {
18 enum class State;
19 }
20
21 class InterfacePane final : public QWidget
22 {
23 Q_OBJECT
24 public:
25 explicit InterfacePane(QWidget* parent = nullptr);
26
27 private:
28 void CreateLayout();
29 void CreateUI();
30 void CreateInGame();
31 void AddDescriptions();
32 void ConnectLayout();
33 void UpdateShowDebuggingCheckbox();
34 void LoadUserStyle();
35 void OnUserStyleChanged();
36 void OnLanguageChanged();
37
38 void OnEmulationStateChanged(Core::State state);
39
40 QVBoxLayout* m_main_layout;
41 ConfigStringChoice* m_combobox_language;
42
43 ConfigStringChoice* m_combobox_theme;
44 ToolTipComboBox* m_combobox_userstyle;
45 QLabel* m_label_userstyle;
46 ConfigBool* m_checkbox_top_window;
47 ConfigBool* m_checkbox_use_builtin_title_database;
48 ToolTipCheckBox* m_checkbox_show_debugging_ui;
49 ConfigBool* m_checkbox_focused_hotkeys;
50 ConfigBool* m_checkbox_use_covers;
51 ConfigBool* m_checkbox_disable_screensaver;
52 ConfigBool* m_checkbox_time_tracking;
53
54 ConfigBool* m_checkbox_confirm_on_stop;
55 ConfigBool* m_checkbox_use_panic_handlers;
56 ConfigBool* m_checkbox_show_active_title;
57 ConfigBool* m_checkbox_pause_on_focus_lost;
58 ConfigRadioInt* m_radio_cursor_visible_movement;
59 ConfigRadioInt* m_radio_cursor_visible_never;
60 ConfigRadioInt* m_radio_cursor_visible_always;
61 ConfigBool* m_checkbox_lock_mouse;
62 };