aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/MainWindow.ui
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-11-19 21:23:04 +0100
committerKarel Kočí <cynerd@email.cz>2017-11-19 21:23:04 +0100
commitf0ad502e4651243d6a96194b3393bd460c0f7fc9 (patch)
tree4f912c24b5943bd93b5a3378df75f9611de6779b /qtmips_gui/MainWindow.ui
parent2c6562fa78e884d66b8c2a306f020101e8803f2e (diff)
downloadqtmips-f0ad502e4651243d6a96194b3393bd460c0f7fc9.tar.gz
qtmips-f0ad502e4651243d6a96194b3393bd460c0f7fc9.tar.bz2
qtmips-f0ad502e4651243d6a96194b3393bd460c0f7fc9.zip
Another huge pile of work for about two months
Well I should commit every change instead of this madness. I am not documenting changes as all this is just improvements and implementation progression.
Diffstat (limited to 'qtmips_gui/MainWindow.ui')
-rw-r--r--qtmips_gui/MainWindow.ui99
1 files changed, 91 insertions, 8 deletions
diff --git a/qtmips_gui/MainWindow.ui b/qtmips_gui/MainWindow.ui
index 0f69613..56f5319 100644
--- a/qtmips_gui/MainWindow.ui
+++ b/qtmips_gui/MainWindow.ui
@@ -6,20 +6,47 @@
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
- <height>300</height>
+ <width>957</width>
+ <height>651</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
- <widget class="QWidget" name="centralWidget"/>
+ <property name="dockNestingEnabled">
+ <bool>false</bool>
+ </property>
+ <property name="unifiedTitleAndToolBarOnMac">
+ <bool>true</bool>
+ </property>
+ <widget class="QWidget" name="centralWidget">
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>0</number>
+ </property>
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QWidget" name="widget" native="true"/>
+ </item>
+ </layout>
+ </widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>400</width>
+ <width>957</width>
<height>20</height>
</rect>
</property>
@@ -27,7 +54,8 @@
<property name="title">
<string>File</string>
</property>
- <addaction name="actionLoad_binary"/>
+ <addaction name="actionNew"/>
+ <addaction name="actionReload"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
@@ -85,16 +113,39 @@
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
+ <addaction name="actionNew"/>
+ <addaction name="actionReload"/>
+ <addaction name="separator"/>
+ <addaction name="actionRun"/>
+ <addaction name="actionPause"/>
+ <addaction name="actionStep"/>
</widget>
- <action name="actionLoad_binary">
+ <action name="actionNew">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/document-import.png</normaloff>:/icons/document-import.png</iconset>
+ </property>
<property name="text">
- <string>Load binary...</string>
+ <string>New simulation...</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+O, Ctrl+N</string>
</property>
</action>
<action name="actionExit">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/application-exit.png</normaloff>:/icons/application-exit.png</iconset>
+ </property>
<property name="text">
<string>Exit</string>
</property>
+ <property name="toolTip">
+ <string>Exit program</string>
+ </property>
+ <property name="shortcut">
+ <string>Ctrl+Q</string>
+ </property>
</action>
<action name="actionRestart">
<property name="text">
@@ -102,19 +153,40 @@
</property>
</action>
<action name="actionRun">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/play.png</normaloff>:/icons/play.png</iconset>
+ </property>
<property name="text">
<string>Run</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+R</string>
+ </property>
</action>
<action name="actionStep">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/next.png</normaloff>:/icons/next.png</iconset>
+ </property>
<property name="text">
<string>Step</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+S</string>
+ </property>
</action>
<action name="actionPause">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/pause.png</normaloff>:/icons/pause.png</iconset>
+ </property>
<property name="text">
<string>Pause</string>
</property>
+ <property name="shortcut">
+ <string>Ctrl+P</string>
+ </property>
</action>
<action name="action1_ips">
<property name="text">
@@ -184,8 +256,19 @@
<string>Assembler</string>
</property>
</action>
+ <action name="actionReload">
+ <property name="icon">
+ <iconset resource="icons.qrc">
+ <normaloff>:/icons/reload.png</normaloff>:/icons/reload.png</iconset>
+ </property>
+ <property name="text">
+ <string>Reload existing</string>
+ </property>
+ </action>
</widget>
<layoutdefault spacing="6" margin="11"/>
- <resources/>
+ <resources>
+ <include location="icons.qrc"/>
+ </resources>
<connections/>
</ui>