summaryrefslogtreecommitdiff
path: root/gui/gui.ui
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gui.ui')
-rw-r--r--gui/gui.ui128
1 files changed, 26 insertions, 102 deletions
diff --git a/gui/gui.ui b/gui/gui.ui
index 67cca60..5a5a037 100644
--- a/gui/gui.ui
+++ b/gui/gui.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>1499</width>
+ <width>1686</width>
<height>621</height>
</rect>
</property>
@@ -18,14 +18,17 @@
<item>
<layout class="QGridLayout" name="gridLayout_2" rowstretch="0" columnstretch="0">
<item row="0" column="0">
- <layout class="QHBoxLayout" name="control_separator">
+ <layout class="QHBoxLayout" name="control_separator" stretch="6,1">
+ <property name="spacing">
+ <number>6</number>
+ </property>
<item>
<layout class="QVBoxLayout" name="storage_pipe_separator">
<item>
<widget class="QTabWidget" name="storage">
<property name="minimumSize">
<size>
- <width>700</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -35,7 +38,7 @@
</widget>
</item>
<item>
- <layout class="QHBoxLayout" name="pipe_view">
+ <layout class="QHBoxLayout" name="pipe_view" stretch="1,2,2,2,2,2">
<item>
<widget class="QGroupBox" name="groupBox">
<property name="maximumSize">
@@ -45,7 +48,7 @@
</size>
</property>
<property name="title">
- <string> </string>
+ <string/>
</property>
<property name="alignment">
<set>Qt::AlignmentFlag::AlignLeading|Qt::AlignmentFlag::AlignLeft|Qt::AlignmentFlag::AlignTop</set>
@@ -93,7 +96,7 @@
<widget class="QGroupBox" name="Fetch">
<property name="minimumSize">
<size>
- <width>200</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -146,7 +149,7 @@
<widget class="QGroupBox" name="Decode">
<property name="minimumSize">
<size>
- <width>200</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -199,7 +202,7 @@
<widget class="QGroupBox" name="Execute">
<property name="minimumSize">
<size>
- <width>200</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -255,7 +258,7 @@
<widget class="QGroupBox" name="Memory">
<property name="minimumSize">
<size>
- <width>200</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -308,7 +311,7 @@
<widget class="QGroupBox" name="WriteBack">
<property name="minimumSize">
<size>
- <width>200</width>
+ <width>0</width>
<height>0</height>
</size>
</property>
@@ -376,93 +379,14 @@
</widget>
</item>
<item>
- <layout class="QHBoxLayout" name="cache_controls">
- <property name="sizeConstraint">
- <enum>QLayout::SizeConstraint::SetMinimumSize</enum>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Ways Selector (powers of 2)</string>
</property>
- <item>
- <widget class="Line" name="line_8">
- <property name="orientation">
- <enum>Qt::Orientation::Vertical</enum>
- </property>
- </widget>
- </item>
- <item>
- <layout class="QVBoxLayout" name="cache_way_text">
- <property name="sizeConstraint">
- <enum>QLayout::SizeConstraint::SetMinimumSize</enum>
- </property>
- <item>
- <widget class="QLabel" name="label">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>C1 2^</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_2">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>C2 2^</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_3">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>C3 2^</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_4">
- <property name="maximumSize">
- <size>
- <width>16777215</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>C4 2^</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="DynamicWaysEntry" name="cache_way_selector" native="true">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- </widget>
- </item>
- </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="CacheWaysSelector" name="cache_ways_selector" native="true"/>
</item>
<item>
<widget class="QCheckBox" name="enable_pipeline_checkbox">
@@ -675,16 +599,16 @@
</widget>
<customwidgets>
<customwidget>
- <class>DynamicWaysEntry</class>
- <extends>QWidget</extends>
- <header>dynamicwaysentry.h</header>
- <container>1</container>
- </customwidget>
- <customwidget>
<class>DigitLabel</class>
<extends>QLabel</extends>
<header location="global">digitlabel.h</header>
</customwidget>
+ <customwidget>
+ <class>CacheWaysSelector</class>
+ <extends>QWidget</extends>
+ <header>cachewaysselector.h</header>
+ <container>1</container>
+ </customwidget>
</customwidgets>
<resources/>
<connections/>