aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memoryview.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-03-06 22:08:53 +0100
committerKarel Kočí <cynerd@email.cz>2018-03-06 22:08:53 +0100
commite6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1 (patch)
tree643443e929f6e9e66b444cb1b4f6634fefdbec46 /qtmips_gui/memoryview.h
parente869534670e1e1cb3b68c1e60205c36dff2dcb16 (diff)
downloadqtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.tar.gz
qtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.tar.bz2
qtmips-e6c3d5bdc7a4763bd6816d52b0d1b42a7e4b08f1.zip
WIP: simplify memory viewsimple-memory-view
This removes problematic buffer zone of memory view. Instead we will use no buffer zone and load needed elements as soon as possible.
Diffstat (limited to 'qtmips_gui/memoryview.h')
-rw-r--r--qtmips_gui/memoryview.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h
index ec909f0..0428a84 100644
--- a/qtmips_gui/memoryview.h
+++ b/qtmips_gui/memoryview.h
@@ -35,6 +35,7 @@ protected:
void reload_content(); // reload displayed data
void update_content(int count, int shift); // update content to match given count and shift
+ void resize_content(int row_count);
private slots:
void go_edit_finish();
@@ -50,13 +51,9 @@ private:
Frame(MemoryView *parent);
StaticTable *widg;
- void focus(unsigned i); // Focus on given item in widget
- unsigned focussed(); // What item is in focus
- void check_update(); // Update widget size and content if needed
protected:
MemoryView *mv;
- int content_y;
bool viewportEvent(QEvent*);
void resizeEvent(QResizeEvent*);