AdvancedPane.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. // Copyright 2017 Dolphin Emulator Project
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #include <vector>
  5. #include <QWidget>
  6. class ConfigBool;
  7. class QCheckBox;
  8. class QComboBox;
  9. class QLabel;
  10. class QRadioButton;
  11. class QSlider;
  12. class QDateTimeEdit;
  13. namespace Core
  14. {
  15. enum class State;
  16. }
  17. class AdvancedPane final : public QWidget
  18. {
  19. Q_OBJECT
  20. public:
  21. explicit AdvancedPane(QWidget* parent = nullptr);
  22. private:
  23. void CreateLayout();
  24. void ConnectLayout();
  25. void Update();
  26. QComboBox* m_cpu_emulation_engine_combobox;
  27. ConfigBool* m_enable_mmu_checkbox;
  28. ConfigBool* m_pause_on_panic_checkbox;
  29. ConfigBool* m_accurate_cpu_cache_checkbox;
  30. QCheckBox* m_cpu_clock_override_checkbox;
  31. QSlider* m_cpu_clock_override_slider;
  32. QLabel* m_cpu_clock_override_slider_label;
  33. QLabel* m_cpu_clock_override_description;
  34. QCheckBox* m_custom_rtc_checkbox;
  35. QDateTimeEdit* m_custom_rtc_datetime;
  36. QCheckBox* m_ram_override_checkbox;
  37. QSlider* m_mem1_override_slider;
  38. QLabel* m_mem1_override_slider_label;
  39. QSlider* m_mem2_override_slider;
  40. QLabel* m_mem2_override_slider_label;
  41. QLabel* m_ram_override_description;
  42. };