diff options
| author | bd <bdunahu@operationnull.com> | 2025-04-26 03:06:14 -0400 |
|---|---|---|
| committer | bd <bdunahu@operationnull.com> | 2025-04-26 03:06:14 -0400 |
| commit | c98a0c26c4ccb5c4ae0e9f5810be910a7b299037 (patch) | |
| tree | 25ee156ab0922694fa795ba6085749bcfcc157e7 /gui/gui.h | |
| parent | 858a682d11cef5b7695050967b1c6b184eda3c6a (diff) | |
Add proper tables display for storage devices
Diffstat (limited to 'gui/gui.h')
| -rw-r--r-- | gui/gui.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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. |
