summaryrefslogtreecommitdiff
path: root/gui/gui.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-26 03:06:14 -0400
committerbd <bdunahu@operationnull.com>2025-04-26 03:06:14 -0400
commitc98a0c26c4ccb5c4ae0e9f5810be910a7b299037 (patch)
tree25ee156ab0922694fa795ba6085749bcfcc157e7 /gui/gui.h
parent858a682d11cef5b7695050967b1c6b184eda3c6a (diff)
Add proper tables display for storage devices
Diffstat (limited to 'gui/gui.h')
-rw-r--r--gui/gui.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/gui.h b/gui/gui.h
index 26e9b03..f723729 100644
--- a/gui/gui.h
+++ b/gui/gui.h
@@ -18,6 +18,7 @@
#ifndef GUI_H
#define GUI_H
+#include "storageview.h"
#include "worker.h"
#include <QFile>
#include <QFileDialog>
@@ -67,8 +68,7 @@ class GUI : public QMainWindow
void onWorkerWriteBackInfo(const InstrDTO *);
- void onWorkerShowStorage(
- const std::vector<std::array<signed int, LINE_SIZE>> data, int i);
+ void onWorkerShowStorage(const QVector<QVector<int>> &data, int i);
void onWorkerShowRegisters(const std::array<int, GPR_NUM> &data);
@@ -104,7 +104,7 @@ class GUI : public QMainWindow
/**
* The list of storage displays.
*/
- std::vector<QTextEdit *> tab_text_boxes;
+ std::vector<StorageView *> tab_boxes;
/**
* Whether or not numerical values are currently displaying in hex.