summaryrefslogtreecommitdiff
path: root/gui/storageview.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-26 14:57:56 -0400
committerbd <bdunahu@operationnull.com>2025-04-26 14:57:56 -0400
commitae2aaecfc1b2402a55e99cf674eff7b6175b0b6d (patch)
tree651c14de4eb0467d898810bdb1e136f2e5089ded /gui/storageview.h
parentb32bc409c18ceb4cd8147f11021e2c4b2746184b (diff)
Basic hex formatting on row headers for storage tables
Diffstat (limited to 'gui/storageview.h')
-rw-r--r--gui/storageview.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/storageview.h b/gui/storageview.h
index 4956f23..0518d8f 100644
--- a/gui/storageview.h
+++ b/gui/storageview.h
@@ -72,12 +72,19 @@ class StorageView : public QAbstractTableModel
*/
void set_data(const QVector<QVector<int>> &data);
+ public slots:
+ void set_hex_display(bool hex);
+
private:
/**
* The number of rows in this table.
*/
int r;
/**
+ * Whether or not the headers should be displayed in hex.
+ */
+ bool is_hex = true;
+ /**
* The data this table displays.
*/
QVector<QVector<int>> d;