aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-08-30 22:53:11 +0200
committerKarel Kočí <cynerd@email.cz>2017-08-30 22:53:11 +0200
commit83e8593d9e36725d2bfb9d450da451e47a93f349 (patch)
tree57e500fae444e0a55817dd23dcedc6a31693fc01
parent9cf92379d5fcf0076c25dae0935daab446c992cd (diff)
downloadqtmips-83e8593d9e36725d2bfb9d450da451e47a93f349.tar.gz
qtmips-83e8593d9e36725d2bfb9d450da451e47a93f349.tar.bz2
qtmips-83e8593d9e36725d2bfb9d450da451e47a93f349.zip
Create gui menu
-rw-r--r--qtmips_gui/mainwindow.ui185
1 files changed, 176 insertions, 9 deletions
diff --git a/qtmips_gui/mainwindow.ui b/qtmips_gui/mainwindow.ui
index 6050363..0f69613 100644
--- a/qtmips_gui/mainwindow.ui
+++ b/qtmips_gui/mainwindow.ui
@@ -1,7 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow" >
- <property name="geometry" >
+ <widget class="QMainWindow" name="MainWindow">
+ <property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@@ -9,16 +10,182 @@
<height>300</height>
</rect>
</property>
- <property name="windowTitle" >
+ <property name="windowTitle">
<string>MainWindow</string>
</property>
- <widget class="QMenuBar" name="menuBar" />
- <widget class="QToolBar" name="mainToolBar" />
- <widget class="QWidget" name="centralWidget" />
- <widget class="QStatusBar" name="statusBar" />
+ <widget class="QWidget" name="centralWidget"/>
+ <widget class="QMenuBar" name="menuBar">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>400</width>
+ <height>20</height>
+ </rect>
+ </property>
+ <widget class="QMenu" name="menuFile">
+ <property name="title">
+ <string>File</string>
+ </property>
+ <addaction name="actionLoad_binary"/>
+ <addaction name="separator"/>
+ <addaction name="actionExit"/>
+ </widget>
+ <widget class="QMenu" name="menuWindows">
+ <property name="title">
+ <string>Windows</string>
+ </property>
+ <addaction name="actionMemory"/>
+ <addaction name="actionProgram_memory"/>
+ <addaction name="actionCache"/>
+ <addaction name="actionCache_statistics"/>
+ <addaction name="actionRegisters"/>
+ </widget>
+ <widget class="QMenu" name="menuMachine">
+ <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="actionRestart"/>
+ </widget>
+ <addaction name="menuFile"/>
+ <addaction name="menuMachine"/>
+ <addaction name="menuWindows"/>
+ </widget>
+ <widget class="QStatusBar" name="statusBar"/>
+ <widget class="QToolBar" name="toolBar">
+ <property name="windowTitle">
+ <string>toolBar</string>
+ </property>
+ <property name="movable">
+ <bool>false</bool>
+ </property>
+ <property name="allowedAreas">
+ <set>Qt::TopToolBarArea</set>
+ </property>
+ <attribute name="toolBarArea">
+ <enum>TopToolBarArea</enum>
+ </attribute>
+ <attribute name="toolBarBreak">
+ <bool>false</bool>
+ </attribute>
+ </widget>
+ <action name="actionLoad_binary">
+ <property name="text">
+ <string>Load binary...</string>
+ </property>
+ </action>
+ <action name="actionExit">
+ <property name="text">
+ <string>Exit</string>
+ </property>
+ </action>
+ <action name="actionRestart">
+ <property name="text">
+ <string>Restart</string>
+ </property>
+ </action>
+ <action name="actionRun">
+ <property name="text">
+ <string>Run</string>
+ </property>
+ </action>
+ <action name="actionStep">
+ <property name="text">
+ <string>Step</string>
+ </property>
+ </action>
+ <action name="actionPause">
+ <property name="text">
+ <string>Pause</string>
+ </property>
+ </action>
+ <action name="action1_ips">
+ <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>
+ </action>
+ <action name="action5_ips">
+ <property name="text">
+ <string>5 instructions per second</string>
+ </property>
+ </action>
+ <action name="action10_ips">
+ <property name="text">
+ <string>10 instructions per second</string>
+ </property>
+ </action>
+ <action name="actionUnlimited">
+ <property name="text">
+ <string>Unlimited</string>
+ </property>
+ </action>
+ <action name="actionOther_ips">
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>Custom...</string>
+ </property>
+ </action>
+ <action name="actionMachine_control">
+ <property name="text">
+ <string>Machine control</string>
+ </property>
+ </action>
+ <action name="actionMemory">
+ <property name="text">
+ <string>Data Memory</string>
+ </property>
+ </action>
+ <action name="actionProgram_memory">
+ <property name="text">
+ <string>Program memory</string>
+ </property>
+ </action>
+ <action name="actionCache">
+ <property name="text">
+ <string>Cache content</string>
+ </property>
+ </action>
+ <action name="actionCache_statistics">
+ <property name="text">
+ <string>Cache statistics</string>
+ </property>
+ </action>
+ <action name="actionRegisters">
+ <property name="text">
+ <string>Registers</string>
+ </property>
+ </action>
+ <action name="actionAssembler">
+ <property name="text">
+ <string>Assembler</string>
+ </property>
+ </action>
</widget>
- <layoutDefault spacing="6" margin="11" />
- <pixmapfunction></pixmapfunction>
+ <layoutdefault spacing="6" margin="11"/>
<resources/>
<connections/>
</ui>