diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 14:18:45 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-07-01 14:18:45 +0200 |
commit | 215b6b79c3ecc9ca0954710c0dd2a218d4c015fb (patch) | |
tree | 9a03ab1a89413d69dd3c81002afa7639a2689912 /qtmips_gui/MainWindow.ui | |
parent | 5c89e53ffa28a57970b960732ccb5a7d7f1e33dd (diff) | |
download | qtmips-215b6b79c3ecc9ca0954710c0dd2a218d4c015fb.tar.gz qtmips-215b6b79c3ecc9ca0954710c0dd2a218d4c015fb.tar.bz2 qtmips-215b6b79c3ecc9ca0954710c0dd2a218d4c015fb.zip |
Include simple text editor in QtMips emulator.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/MainWindow.ui')
-rw-r--r-- | qtmips_gui/MainWindow.ui | 104 |
1 files changed, 93 insertions, 11 deletions
diff --git a/qtmips_gui/MainWindow.ui b/qtmips_gui/MainWindow.ui index 9e00c9a..3202726 100644 --- a/qtmips_gui/MainWindow.ui +++ b/qtmips_gui/MainWindow.ui @@ -58,9 +58,14 @@ <property name="title"> <string>File</string> </property> - <addaction name="actionNew"/> + <addaction name="actionNewMachine"/> <addaction name="actionReload"/> <addaction name="actionPrint"/> + <addaction name="actionNew"/> + <addaction name="actionOpen"/> + <addaction name="actionSave"/> + <addaction name="actionSaveAs"/> + <addaction name="actionClose"/> <addaction name="separator"/> <addaction name="actionExit"/> </widget> @@ -126,7 +131,7 @@ <attribute name="toolBarBreak"> <bool>false</bool> </attribute> - <addaction name="actionNew"/> + <addaction name="actionNewMachine"/> <addaction name="actionReload"/> <addaction name="separator"/> <addaction name="actionRun"/> @@ -140,7 +145,7 @@ <addaction name="ipsUnlimited"/> <addaction name="ipsMax"/> </widget> - <action name="actionNew"> + <action name="actionNewMachine"> <property name="icon"> <iconset resource="icons.qrc"> <normaloff>:/icons/document-import.png</normaloff>:/icons/document-import.png</iconset> @@ -149,9 +154,91 @@ <string>New simulation...</string> </property> <property name="shortcut"> + <string>Ctrl+N</string> + </property> + </action> + <action name="actionRestart"> + <property name="text"> + <string>Restart</string> + </property> + </action> + <action name="actionNew"> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/new.png</normaloff>:/icons/new.png</iconset> + </property> + <property name="text"> + <string>New source</string> + </property> + <property name="toolTip"> + <string>New source</string> + </property> + <property name="shortcut"> + <string>Ctrl+N</string> + </property> + </action> + <action name="actionOpen"> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/open.png</normaloff>:/icons/open.png</iconset> + </property> + <property name="text"> + <string>Open source</string> + </property> + <property name="toolTip"> + <string>Open source</string> + </property> + <property name="shortcut"> <string>Ctrl+O</string> </property> </action> + <action name="actionSave"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/save.png</normaloff>:/icons/save.png</iconset> + </property> + <property name="text"> + <string>Save source</string> + </property> + <property name="toolTip"> + <string>Save source</string> + </property> + <property name="shortcut"> + <string>Ctrl+S</string> + </property> + </action> + <action name="actionSaveAs"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="text"> + <string>Save source as</string> + </property> + <property name="toolTip"> + <string>Save source as</string> + </property> + </action> + <action name="actionClose"> + <property name="enabled"> + <bool>false</bool> + </property> + <property name="icon"> + <iconset resource="icons.qrc"> + <normaloff>:/icons/closetab.png</normaloff>:/icons/closetab.png</iconset> + </property> + <property name="text"> + <string>Close source</string> + </property> + <property name="toolTip"> + <string>Close source</string> + </property> + <property name="shortcut"> + <string>Ctrl+C</string> + </property> + </action> <action name="actionExit"> <property name="icon"> <iconset resource="icons.qrc"> @@ -167,11 +254,6 @@ <string>Ctrl+Q</string> </property> </action> - <action name="actionRestart"> - <property name="text"> - <string>Restart</string> - </property> - </action> <action name="actionRun"> <property name="icon"> <iconset resource="icons.qrc"> @@ -193,7 +275,7 @@ <string>Step</string> </property> <property name="shortcut"> - <string>Ctrl+S</string> + <string>Ctrl+T</string> </property> </action> <action name="actionPause"> @@ -366,7 +448,7 @@ </action> <action name="actionAbout"> <property name="text"> - <string>&About Qt Mips</string> + <string>About Qt Mips</string> </property> </action> <action name="ipsMax"> @@ -374,7 +456,7 @@ <bool>true</bool> </property> <property name="text"> - <string>&Max</string> + <string>Max</string> </property> <property name="toolTip"> <string>Run at maximal speed, skip visualization for 100 msec</string> |