1
0
Fork 0
x64dbg/x64_dbg_gui/Project/Src/Gui/BreakpointsView.h

70 lines
1.8 KiB
C++

#ifndef BREAKPOINTSVIEW_H
#define BREAKPOINTSVIEW_H
#include <QWidget>
#include <QVBoxLayout>
#include <QSplitter>
#include "StdTable.h"
class BreakpointsView : public QWidget
{
Q_OBJECT
public:
explicit BreakpointsView(QWidget* parent = 0);
void setupHardBPRightClickContextMenu();
void setupSoftBPRightClickContextMenu();
void setupMemBPRightClickContextMenu();
signals:
void showCpu();
public slots:
void refreshShortcutsSlot();
void reloadData();
// Hardware
void hardwareBPContextMenuSlot(const QPoint & pos);
void removeHardBPActionSlot();
void removeAllHardBPActionSlot();
void enableDisableHardBPActionSlot();
void doubleClickHardwareSlot();
// Software
void softwareBPContextMenuSlot(const QPoint & pos);
void removeSoftBPActionSlot();
void removeAllSoftBPActionSlot();
void enableDisableSoftBPActionSlot();
void doubleClickSoftwareSlot();
// Memory
void memoryBPContextMenuSlot(const QPoint & pos);
void removeMemBPActionSlot();
void removeAllMemBPActionSlot();
void enableDisableMemBPActionSlot();
void doubleClickMemorySlot();
private:
QVBoxLayout* mVertLayout;
QSplitter* mSplitter ;
StdTable* mHardBPTable;
StdTable* mSoftBPTable;
StdTable* mMemBPTable;
// Hardware BP Context Menu
QAction* mHardBPRemoveAction;
QAction* mHardBPRemoveAllAction;
QAction* mHardBPEnableDisableAction;
// Software BP Context Menu
QAction* mSoftBPRemoveAction;
QAction* mSoftBPRemoveAllAction;
QAction* mSoftBPEnableDisableAction;
// Memory BP Context Menu
QAction* mMemBPRemoveAction;
QAction* mMemBPRemoveAllAction;
QAction* mMemBPEnableDisableAction;
};
#endif // BREAKPOINTSVIEW_H