InterfacePane.h 1.4 KB

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