Debian Codegraph @

Source/Core/DolphinQt/Config/GameConfigWidget.h

raw symbols SCIP
1 // Copyright 2018 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <string>
7
8 #include <QString>
9 #include <QWidget>
10 namespace UICommon
11 {
12 class GameFile;
13 }
14
15 namespace Config
16 {
17 class Layer;
18 } // namespace Config
19
20 class ConfigBool;
21 class ConfigInteger;
22 class ConfigFloatSlider;
23 class ConfigStringChoice;
24 class QPushButton;
25 class QTabWidget;
26
27 class GameConfigWidget : public QWidget
28 {
29 Q_OBJECT
30 public:
31 explicit GameConfigWidget(const UICommon::GameFile& game);
32 ~GameConfigWidget() override;
33
34 private:
35 void CreateWidgets();
36 void LoadSettings();
37 void SetItalics();
38
39 QString m_gameini_local_path;
40
41 QTabWidget* m_default_tab;
42 QTabWidget* m_local_tab;
43
44 ConfigBool* m_enable_dual_core;
45 ConfigBool* m_enable_mmu;
46 ConfigBool* m_enable_fprf;
47 ConfigBool* m_sync_gpu;
48 ConfigBool* m_emulate_disc_speed;
49 ConfigBool* m_use_dsp_hle;
50 ConfigBool* m_use_monoscopic_shadows;
51
52 ConfigStringChoice* m_deterministic_dual_core;
53 ConfigFloatSlider* m_depth_slider;
54 ConfigFloatSlider* m_convergence_slider;
55
56 const UICommon::GameFile& m_game;
57 std::string m_game_id;
58 std::unique_ptr<Config::Layer> m_layer;
59 std::unique_ptr<Config::Layer> m_global_layer;
60 int m_prev_tab_index = 0;
61 };