Debian Codegraph @

Source/Core/DolphinQt/CheatSearchFactoryWidget.h

raw symbols SCIP
1 // Copyright 2021 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QWidget>
7
8 #include "Core/CheatSearch.h"
9
10 class QCheckBox;
11 class QComboBox;
12 class QLineEdit;
13 class QPushButton;
14 class QRadioButton;
15
16 class CheatSearchFactoryWidget : public QWidget
17 {
18 Q_OBJECT
19 public:
20 explicit CheatSearchFactoryWidget();
21 ~CheatSearchFactoryWidget() override;
22
23 signals:
24 void NewSessionCreated(const Cheats::CheatSearchSessionBase& session);
25
26 private:
27 void CreateWidgets();
28 void ConnectWidgets();
29
30 void RefreshGui();
31
32 void OnAddressSpaceRadioChanged();
33 void OnNewSearchClicked();
34
35 QRadioButton* m_standard_address_space;
36 QRadioButton* m_custom_address_space;
37
38 QRadioButton* m_custom_virtual_address_space;
39 QRadioButton* m_custom_physical_address_space;
40 QRadioButton* m_custom_effective_address_space;
41
42 QLineEdit* m_custom_address_start;
43 QLineEdit* m_custom_address_end;
44
45 QComboBox* m_data_type_dropdown;
46 QCheckBox* m_data_type_aligned;
47
48 QPushButton* m_new_search;
49 };