diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-04 18:44:28 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-04 18:44:28 +0100 |
commit | c06242f07721a7d86dc2d9795622d6646ae6c88f (patch) | |
tree | 55a264c093ce4e7719e87c9ac187635f9f97df63 /qtmips_gui/MainWindow.ui | |
parent | 5eccfdab52973f9be9e38c65c17a33e8d2428692 (diff) | |
download | qtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.tar.gz qtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.tar.bz2 qtmips-c06242f07721a7d86dc2d9795622d6646ae6c88f.zip |
Implement some machine execution speed control for gui
Diffstat (limited to 'qtmips_gui/MainWindow.ui')
-rw-r--r-- | qtmips_gui/MainWindow.ui | 69 |
1 files changed, 33 insertions, 36 deletions
diff --git a/qtmips_gui/MainWindow.ui b/qtmips_gui/MainWindow.ui index 56f5319..0ab35d1 100644 --- a/qtmips_gui/MainWindow.ui +++ b/qtmips_gui/MainWindow.ui @@ -73,22 +73,14 @@ <property name="title"> <string>Machine</string> </property> - <widget class="QMenu" name="menuSimulation_speed"> - <property name="title"> - <string>Simulation speed</string> - </property> - <addaction name="action1_ips"/> - <addaction name="action2_ips"/> - <addaction name="action5_ips"/> - <addaction name="action10_ips"/> - <addaction name="actionOther_ips"/> - <addaction name="separator"/> - <addaction name="actionUnlimited"/> - </widget> <addaction name="actionRun"/> <addaction name="actionPause"/> <addaction name="actionStep"/> - <addaction name="menuSimulation_speed"/> + <addaction name="separator"/> + <addaction name="ips1"/> + <addaction name="ips5"/> + <addaction name="ips10"/> + <addaction name="ipsUnlimited"/> <addaction name="separator"/> <addaction name="actionRestart"/> </widget> @@ -119,6 +111,10 @@ <addaction name="actionRun"/> <addaction name="actionPause"/> <addaction name="actionStep"/> + <addaction name="separator"/> + <addaction name="ips1"/> + <addaction name="ips10"/> + <addaction name="ipsUnlimited"/> </widget> <action name="actionNew"> <property name="icon"> @@ -188,42 +184,48 @@ <string>Ctrl+P</string> </property> </action> - <action name="action1_ips"> + <action name="ips1"> + <property name="checkable"> + <bool>true</bool> + </property> <property name="text"> <string>1 instruction per second</string> </property> - </action> - <action name="action2_ips"> - <property name="text"> - <string>2 instructions per second</string> + <property name="toolTip"> + <string>Run CPU in speed of single instruction per second</string> </property> </action> - <action name="action5_ips"> + <action name="ips5"> + <property name="checkable"> + <bool>true</bool> + </property> <property name="text"> <string>5 instructions per second</string> </property> + <property name="toolTip"> + <string>Run CPU in speed of 5 instructions per second</string> + </property> </action> - <action name="action10_ips"> + <action name="ips10"> + <property name="checkable"> + <bool>true</bool> + </property> <property name="text"> <string>10 instructions per second</string> </property> - </action> - <action name="actionUnlimited"> - <property name="text"> - <string>Unlimited</string> + <property name="toolTip"> + <string>Run CPU in speed of 10 instructions per second</string> </property> </action> - <action name="actionOther_ips"> + <action name="ipsUnlimited"> <property name="checkable"> - <bool>false</bool> + <bool>true</bool> </property> <property name="text"> - <string>Custom...</string> + <string>Unlimited</string> </property> - </action> - <action name="actionMachine_control"> - <property name="text"> - <string>Machine control</string> + <property name="toolTip"> + <string>Run CPU without any clock constrains</string> </property> </action> <action name="actionMemory"> @@ -251,11 +253,6 @@ <string>Registers</string> </property> </action> - <action name="actionAssembler"> - <property name="text"> - <string>Assembler</string> - </property> - </action> <action name="actionReload"> <property name="icon"> <iconset resource="icons.qrc"> |