GUI: Disassembly of the CPU sub-window is now a child from the Disassembly.h class.
This commit is contained in:
parent
fcdb072d73
commit
4169647ed9
|
@ -45,7 +45,8 @@ SOURCES += \
|
|||
Src/Disassembler/BeaHighlight.cpp \
|
||||
Src/BasicView/RegistersView.cpp \
|
||||
Src/Gui/StatusLabel.cpp \
|
||||
Src/BasicView/WordEditDialog.cpp
|
||||
Src/BasicView/WordEditDialog.cpp \
|
||||
Src/Gui/CPUDisassembly.cpp
|
||||
|
||||
|
||||
HEADERS += \
|
||||
|
@ -71,7 +72,8 @@ HEADERS += \
|
|||
Src/Disassembler/BeaHighlight.h \
|
||||
Src/BasicView/RegistersView.h \
|
||||
Src/Gui/StatusLabel.h \
|
||||
Src/BasicView/WordEditDialog.h
|
||||
Src/BasicView/WordEditDialog.h \
|
||||
Src/Gui/CPUDisassembly.h
|
||||
|
||||
INCLUDEPATH += \
|
||||
Src \
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
#include "CPUDisassembly.h"
|
||||
|
||||
CPUDisassembly::CPUDisassembly(QWidget *parent) : Disassembly(parent)
|
||||
{
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef CPUDISASSEMBLY_H
|
||||
#define CPUDISASSEMBLY_H
|
||||
|
||||
#include <QtGui>
|
||||
#include <QtDebug>
|
||||
#include "NewTypes.h"
|
||||
#include "Disassembly.h"
|
||||
|
||||
|
||||
class CPUDisassembly : public Disassembly
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CPUDisassembly(QWidget *parent = 0);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
};
|
||||
|
||||
#endif // CPUDISASSEMBLY_H
|
|
@ -6,7 +6,7 @@ CPUWidget::CPUWidget(QWidget *parent) :QWidget(parent), ui(new Ui::CPUWidget)
|
|||
ui->setupUi(this);
|
||||
setDefaultDisposition();
|
||||
|
||||
mDisas = new Disassembly(0);
|
||||
mDisas = new CPUDisassembly(0);
|
||||
ui->mTopLeftFrameLayout->addWidget(mDisas);
|
||||
|
||||
mRegs = new RegistersView(0);
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#include <QtGui>
|
||||
#include <QVBoxLayout>
|
||||
#include "Disassembly.h"
|
||||
#include "CPUDisassembly.h"
|
||||
#include "HexDump.h"
|
||||
#include "RegistersView.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue