aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memoryview.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-27 16:58:27 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-27 16:58:27 +0100
commit5445510e318f9258071e0ae5ad4cd4a8255cb8cc (patch)
tree9e8d3a91bc520205151d992f7276138ac45f21bb /qtmips_gui/memoryview.h
parent120f390c7c732c9867efcaf352c29a9d2ddcf0ca (diff)
downloadqtmips-fix-memory-view.tar.gz
qtmips-fix-memory-view.tar.bz2
qtmips-fix-memory-view.zip
WIP: try to fix paint of MemoryViewfix-memory-view
Diffstat (limited to 'qtmips_gui/memoryview.h')
-rw-r--r--qtmips_gui/memoryview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h
index ec909f0..176f666 100644
--- a/qtmips_gui/memoryview.h
+++ b/qtmips_gui/memoryview.h
@@ -47,7 +47,7 @@ private:
class Frame : public QAbstractScrollArea {
public:
- Frame(MemoryView *parent);
+ Frame(MemoryView *mv, QWidget *parent);
StaticTable *widg;
void focus(unsigned i); // Focus on given item in widget
@@ -63,6 +63,7 @@ private:
void wheelEvent(QWheelEvent *event);
};
Frame *memf;
+ QFrame *frame;
QWidget *ctl_widg;
QHBoxLayout *ctl_layout;