Splitting the debug window of the component to allow quick change of a component

This commit is contained in:
Anonymus Raccoon
2020-03-20 16:41:45 +01:00
parent acf2807dc6
commit ea19186269
18 changed files with 407 additions and 248 deletions

View File

@@ -0,0 +1,19 @@
//
// Created by anonymus-raccoon on 3/20/20.
//
#include "MemoryBusDebug.hpp"
namespace ComSquare::Debugger
{
MemoryBusDebug::MemoryBusDebug(const ComSquare::Memory::MemoryBus &bus)
: MemoryBus(bus), QMainWindow(), _ui()
{
this->setContextMenuPolicy(Qt::NoContextMenu);
this->setAttribute(Qt::WA_QuitOnClose, false);
this->_ui.setupUi(this);
// QMainWindow::connect(this->_ui.actionPause, &QAction::triggered, this, &CPUDebug::pause);
this->show();
}
}