From c82fd7320a83daec780bb9f7c11239e269410c91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 25 Jan 2018 17:10:59 +0100 Subject: Add focus function to memory view --- qtmips_gui/memoryview.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qtmips_gui/memoryview.h') 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; -- cgit v1.2.3