From ae2aaecfc1b2402a55e99cf674eff7b6175b0b6d Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 26 Apr 2025 14:57:56 -0400 Subject: Basic hex formatting on row headers for storage tables --- gui/storageview.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gui/storageview.h') diff --git a/gui/storageview.h b/gui/storageview.h index 4956f23..0518d8f 100644 --- a/gui/storageview.h +++ b/gui/storageview.h @@ -72,11 +72,18 @@ class StorageView : public QAbstractTableModel */ void set_data(const QVector> &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. */ -- cgit v1.2.3