aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/mainwindow.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-04 18:44:28 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-04 18:44:28 +0100
commitc06242f07721a7d86dc2d9795622d6646ae6c88f (patch)
tree55a264c093ce4e7719e87c9ac187635f9f97df63 /qtmips_gui/mainwindow.h
parent5eccfdab52973f9be9e38c65c17a33e8d2428692 (diff)
downloadqtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.tar.gz
qtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.tar.bz2
qtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.zip
Implement some machine execution speed control for gui
Diffstat (limited to 'qtmips_gui/mainwindow.h')
-rw-r--r--qtmips_gui/mainwindow.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/qtmips_gui/mainwindow.h b/qtmips_gui/mainwindow.h
index 6f588ac..d2ab9bb 100644
--- a/qtmips_gui/mainwindow.h
+++ b/qtmips_gui/mainwindow.h
@@ -31,6 +31,8 @@ public slots:
void show_cache_content();
void show_cache_statictics();
void show_registers();
+ // Actions - execution speed
+ void set_speed();
// Machine signals
void machine_status(enum machine::QtMipsMachine::Status st);
void machine_exit();
@@ -51,6 +53,8 @@ private:
CacheStatisticsDock *cache_statictics;
RegistersDock *registers;
+ QActionGroup *speed_group;
+
QSettings *settings;
machine::QtMipsMachine *machine; // Current simulated machine