aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/memoryview.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-25 17:10:59 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-25 17:10:59 +0100
commitc82fd7320a83daec780bb9f7c11239e269410c91 (patch)
treea5939471652ded3943606699480a6a105696807f /qtmips_gui/memoryview.h
parentdb722b7163fffc868cdea338bd6a4c6eddffd2b1 (diff)
downloadqtmips-c82fd7320a83daec780bb9f7c11239e269410c91.tar.gz
qtmips-c82fd7320a83daec780bb9f7c11239e269410c91.tar.bz2
qtmips-c82fd7320a83daec780bb9f7c11239e269410c91.zip
Add focus function to memory view
Diffstat (limited to 'qtmips_gui/memoryview.h')
-rw-r--r--qtmips_gui/memoryview.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_gui/memoryview.h b/qtmips_gui/memoryview.h
index be2c8a2..ec909f0 100644
--- a/qtmips_gui/memoryview.h
+++ b/qtmips_gui/memoryview.h
@@ -24,6 +24,8 @@ public:
void set_focus(std::uint32_t address);
std::uint32_t focus();
+ void edit_load_focus(); // Set current focus to edit field
+
protected:
const machine::Memory *memory;
@@ -36,6 +38,8 @@ protected:
private slots:
void go_edit_finish();
+ void next_section();
+ void prev_section();
private:
unsigned count;