summaryrefslogtreecommitdiff
path: root/gui/storageview.h
diff options
context:
space:
mode:
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;