From 53605cd996338dafc507d4126a2a49b865b04db1 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Sun, 10 Feb 2019 20:41:14 +0100 Subject: Memory QTableView working for part of the memory range. Unfortunately, QModelIndex supports only integers for rows and columns. Even if only size to maxint is used then Qt engine crashes. Workaround for Qt limitations is material for followup patches. Signed-off-by: Pavel Pisa --- qtmips_gui/memorytableview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qtmips_gui/memorytableview.h') diff --git a/qtmips_gui/memorytableview.h b/qtmips_gui/memorytableview.h index 2017b78..73b1ea9 100644 --- a/qtmips_gui/memorytableview.h +++ b/qtmips_gui/memorytableview.h @@ -51,7 +51,11 @@ public: void resizeEvent(QResizeEvent *event) override; +public slots: + void adap_to_cell_size(); + private: + void adjustColumnCount(); }; -- cgit v1.2.3