mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-19 13:45:11 +00:00
Splitting the debug window of the component to allow quick change of a component
This commit is contained in:
19
sources/Debugger/MemoryBusDebug.cpp
Normal file
19
sources/Debugger/MemoryBusDebug.cpp
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user