aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-04-07 22:29:15 +0200
committerKarel Kočí <cynerd@email.cz>2018-04-07 22:29:15 +0200
commitd80338e5cfff59f0e9f2be4cd86e312000b2d8c0 (patch)
treefb5dde551af1e4d17f04b3c0c83d15f3d5501bd2
parentd6600a85f4823b751c1dcca137a65d6a04e7c4ca (diff)
downloadqtmips-d80338e5cfff59f0e9f2be4cd86e312000b2d8c0.tar.gz
qtmips-d80338e5cfff59f0e9f2be4cd86e312000b2d8c0.tar.bz2
qtmips-d80338e5cfff59f0e9f2be4cd86e312000b2d8c0.zip
Tweak shortcuts for primary window
-rw-r--r--qtmips_gui/MainWindow.ui41
1 files changed, 37 insertions, 4 deletions
diff --git a/qtmips_gui/MainWindow.ui b/qtmips_gui/MainWindow.ui
index 0f7ca36..a3f5fcc 100644
--- a/qtmips_gui/MainWindow.ui
+++ b/qtmips_gui/MainWindow.ui
@@ -47,7 +47,7 @@
<x>0</x>
<y>0</y>
<width>900</width>
- <height>23</height>
+ <height>22</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
@@ -113,8 +113,8 @@
<addaction name="actionStep"/>
<addaction name="separator"/>
<addaction name="ips1"/>
+ <addaction name="ips5"/>
<addaction name="ips10"/>
- <addaction name="ipsUnlimited"/>
</widget>
<action name="actionNew">
<property name="icon">
@@ -125,7 +125,7 @@
<string>New simulation...</string>
</property>
<property name="shortcut">
- <string>Ctrl+O, Ctrl+N</string>
+ <string>Ctrl+O</string>
</property>
</action>
<action name="actionExit">
@@ -191,9 +191,15 @@
<property name="text">
<string>1 instruction per second</string>
</property>
+ <property name="iconText">
+ <string>1x</string>
+ </property>
<property name="toolTip">
<string>Run CPU in speed of single instruction per second</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+1</string>
+ </property>
</action>
<action name="ips5">
<property name="checkable">
@@ -202,9 +208,15 @@
<property name="text">
<string>5 instructions per second</string>
</property>
+ <property name="iconText">
+ <string>5x</string>
+ </property>
<property name="toolTip">
<string>Run CPU in speed of 5 instructions per second</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+5</string>
+ </property>
</action>
<action name="ips10">
<property name="checkable">
@@ -213,9 +225,15 @@
<property name="text">
<string>10 instructions per second</string>
</property>
+ <property name="iconText">
+ <string>10x</string>
+ </property>
<property name="toolTip">
<string>Run CPU in speed of 10 instructions per second</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+0</string>
+ </property>
</action>
<action name="ipsUnlimited">
<property name="checkable">
@@ -227,6 +245,9 @@
<property name="toolTip">
<string>Run CPU without any clock constrains</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+U</string>
+ </property>
</action>
<action name="actionMemory">
<property name="text">
@@ -235,6 +256,9 @@
<property name="toolTip">
<string>Data memory view</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+M</string>
+ </property>
</action>
<action name="actionProgram_memory">
<property name="text">
@@ -243,6 +267,9 @@
<property name="toolTip">
<string>Program memory view</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+P</string>
+ </property>
</action>
<action name="actionCache">
<property name="text">
@@ -258,6 +285,9 @@
<property name="text">
<string>Registers</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+D</string>
+ </property>
</action>
<action name="actionReload">
<property name="icon">
@@ -265,7 +295,10 @@
<normaloff>:/icons/reload.png</normaloff>:/icons/reload.png</iconset>
</property>
<property name="text">
- <string>Reload existing</string>
+ <string>Reload simulation</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Shift+R</string>
</property>
</action>
</widget>