DigitalCircuit/ui/Window.ui
2020-12-01 16:11:45 +01:00

122 lines
3.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Window</class>
<widget class="QMainWindow" name="Window">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>924</width>
<height>700</height>
</rect>
</property>
<property name="windowTitle">
<string>Digital Circuit</string>
</property>
<property name="dockOptions">
<set>QMainWindow::AnimatedDocks</set>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="Component" name="frame">
<property name="geometry">
<rect>
<x>360</x>
<y>180</y>
<width>120</width>
<height>80</height>
</rect>
</property>
<property name="frameShape">
<enum>QFrame::StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>QFrame::Raised</enum>
</property>
</widget>
</widget>
<widget class="QStatusBar" name="statusbar"/>
<widget class="QToolBar" name="toolBar">
<property name="windowTitle">
<string>toolBar</string>
</property>
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionStart"/>
<addaction name="separator"/>
<addaction name="actionAddAND"/>
<addaction name="actionAddOR"/>
</widget>
<action name="actionStart">
<property name="icon">
<iconset resource="assets/resources.qrc">
<normaloff>:/toolbar/start.png</normaloff>:/toolbar/start.png</iconset>
</property>
<property name="text">
<string>StartStop</string>
</property>
<property name="toolTip">
<string>Starts the simulation</string>
</property>
<property name="shortcut">
<string>F5</string>
</property>
</action>
<action name="actionAddAND">
<property name="checkable">
<bool>true</bool>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="assets/resources.qrc">
<normaloff>:/components/and.png</normaloff>:/components/and.png</iconset>
</property>
<property name="text">
<string>AddAND</string>
</property>
<property name="toolTip">
<string>Create an AND gate</string>
</property>
<property name="shortcut">
<string>1</string>
</property>
</action>
<action name="actionAddOR">
<property name="checkable">
<bool>true</bool>
</property>
<property name="icon">
<iconset resource="assets/resources.qrc">
<normaloff>:/components/or.png</normaloff>
<selectedoff>:/components/and.png</selectedoff>:/components/or.png</iconset>
</property>
<property name="text">
<string>AddOR</string>
</property>
<property name="toolTip">
<string>Create an OR gate</string>
</property>
<property name="shortcut">
<string>2</string>
</property>
</action>
</widget>
<customwidgets>
<customwidget>
<class>Component</class>
<extends>QFrame</extends>
<header>Component.hpp</header>
<container>1</container>
</customwidget>
</customwidgets>
<resources>
<include location="assets/resources.qrc"/>
</resources>
<connections/>
</ui>