diff options
author | bd <bdunahu@operationnull.com> | 2025-04-26 14:57:56 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-26 14:57:56 -0400 |
commit | ae2aaecfc1b2402a55e99cf674eff7b6175b0b6d (patch) | |
tree | 651c14de4eb0467d898810bdb1e136f2e5089ded /gui/storageview.h | |
parent | b32bc409c18ceb4cd8147f11021e2c4b2746184b (diff) |
Basic hex formatting on row headers for storage tables
Diffstat (limited to 'gui/storageview.h')
-rw-r--r-- | gui/storageview.h | 7 |
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; |