Debian Codegraph @

Source/Core/DolphinQt/Debugger/AssembleInstructionDialog.h

raw symbols SCIP
1 // Copyright 2023 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <QDialog>
7
8 #include "Common/CommonTypes.h"
9
10 class QDialogButtonBox;
11 class QLabel;
12 class QLineEdit;
13
14 class AssembleInstructionDialog : public QDialog
15 {
16 Q_OBJECT
17 public:
18 explicit AssembleInstructionDialog(QWidget* parent, u32 address, u32 value);
19
20 u32 GetCode() const;
21
22 private:
23 void CreateWidgets();
24 void ConnectWidgets();
25
26 void OnEditChanged();
27
28 u32 m_code;
29 u32 m_address;
30
31 QLineEdit* m_input_edit;
32 QLabel* m_error_loc_label;
33 QLabel* m_error_line_label;
34 QLabel* m_msg_label;
35 QDialogButtonBox* m_button_box;
36 };