diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-03 10:45:32 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-03 10:45:32 +0200 |
commit | f33f424ccf7ca57aae95566663c8f31956fbdf8f (patch) | |
tree | d37c9ab8e5e306f79432cf8e9b3ad52db3163f10 /qtmips_gui/programmodel.h | |
parent | 9cef3efa2251833883e0f1fcf47138776e2a45aa (diff) | |
download | qtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.tar.gz qtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.tar.bz2 qtmips-f33f424ccf7ca57aae95566663c8f31956fbdf8f.zip |
Allow to switch between numeric and mnemonics registers names.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programmodel.h')
-rw-r--r-- | qtmips_gui/programmodel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_gui/programmodel.h b/qtmips_gui/programmodel.h index 95d0e3f..5e4d43d 100644 --- a/qtmips_gui/programmodel.h +++ b/qtmips_gui/programmodel.h @@ -54,7 +54,6 @@ public: Qt::ItemFlags flags(const QModelIndex &index) const override; bool setData(const QModelIndex & index, const QVariant & value, int role) override; bool adjustRowAndOffset(int &row, std::uint32_t address); - void update_all(); inline const QFont *getFont() const { return &data_font; @@ -100,6 +99,7 @@ public slots: void check_for_updates(); void toggle_hw_break(const QModelIndex & index); void update_stage_addr(uint stage, std::uint32_t addr); + void update_all(); private: const machine::MemoryAccess *mem_access() const; |