mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #12780 from TryTwo/BreakpointWidget_Direct_Edit
BreakpointWidget: Add ability to directly edit breakpoints
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -3,20 +3,29 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <optional>
|
||||
|
||||
#include <QDockWidget>
|
||||
#include <QString>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
|
||||
class QAction;
|
||||
class QCloseEvent;
|
||||
class QPoint;
|
||||
class QShowEvent;
|
||||
class QTableWidget;
|
||||
class QTableWidgetItem;
|
||||
class QToolBar;
|
||||
class QWidget;
|
||||
|
||||
namespace Core
|
||||
{
|
||||
class System;
|
||||
}
|
||||
|
||||
class CustomDelegate;
|
||||
|
||||
class BreakpointWidget : public QDockWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -45,14 +54,17 @@ protected:
|
||||
private:
|
||||
void CreateWidgets();
|
||||
|
||||
void OnDelete();
|
||||
void EditBreakpoint(u32 address, int edit, std::optional<QString> = std::nullopt);
|
||||
void EditMBP(u32 address, int edit, std::optional<QString> = std::nullopt);
|
||||
|
||||
void OnClear();
|
||||
void OnClicked(QTableWidgetItem* item);
|
||||
void OnNewBreakpoint();
|
||||
void OnEditBreakpoint(u32 address, bool is_instruction_bp);
|
||||
void OnLoad();
|
||||
void OnSave();
|
||||
void OnContextMenu();
|
||||
|
||||
void OnContextMenu(const QPoint& pos);
|
||||
void OnItemChanged(QTableWidgetItem* item);
|
||||
void UpdateIcons();
|
||||
|
||||
Core::System& m_system;
|
||||
@@ -60,7 +72,6 @@ private:
|
||||
QToolBar* m_toolbar;
|
||||
QTableWidget* m_table;
|
||||
QAction* m_new;
|
||||
QAction* m_delete;
|
||||
QAction* m_clear;
|
||||
QAction* m_load;
|
||||
QAction* m_save;
|
||||
|
||||
Reference in New Issue
Block a user