aboutsummaryrefslogtreecommitdiff
path: root/BoxerDockWidget.ui
diff options
context:
space:
mode:
Diffstat (limited to 'BoxerDockWidget.ui')
-rw-r--r--BoxerDockWidget.ui306
1 files changed, 124 insertions, 182 deletions
diff --git a/BoxerDockWidget.ui b/BoxerDockWidget.ui
index 8eb5ad0..1e34f44 100644
--- a/BoxerDockWidget.ui
+++ b/BoxerDockWidget.ui
@@ -7,8 +7,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>499</width>
- <height>561</height>
+ <width>357</width>
+ <height>473</height>
</rect>
</property>
<property name="windowTitle">
@@ -27,52 +27,6 @@
</property>
<item>
<layout class="QGridLayout" name="dimLayout">
- <item row="3" column="0">
- <widget class="QLabel" name="notchSizeLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Notch size</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="widthLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Width</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QLabel" name="heightLabel">
- <property name="text">
- <string>Height</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="innerLabel">
- <property name="text">
- <string>Inner</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
<item row="1" column="0">
<widget class="QLabel" name="outerLabel">
<property name="text">
@@ -83,29 +37,13 @@
</property>
</widget>
</item>
- <item row="2" column="2">
- <widget class="QLineEdit" name="innerHeight">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item row="2" column="3">
- <widget class="QLineEdit" name="innerDepth">
- <property name="enabled">
- <bool>false</bool>
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="outerWidth">
+ <property name="minimum">
+ <number>1</number>
</property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <property name="maximum">
+ <number>99999</number>
</property>
</widget>
</item>
@@ -116,26 +54,6 @@
</property>
</widget>
</item>
- <item row="3" column="2">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Thickness</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="outerWidth">
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>99999</number>
- </property>
- </widget>
- </item>
<item row="1" column="2">
<widget class="QSpinBox" name="outerHeight">
<property name="minimum">
@@ -156,7 +74,7 @@
</property>
</widget>
</item>
- <item row="3" column="1">
+ <item row="2" column="1">
<widget class="QSpinBox" name="notchSize">
<property name="minimum">
<number>1</number>
@@ -166,39 +84,45 @@
</property>
</widget>
</item>
- <item row="3" column="3">
- <widget class="QSpinBox" name="thickness">
- <property name="minimum">
- <number>1</number>
+ <item row="2" column="0">
+ <widget class="QLabel" name="notchSizeLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="maximum">
- <number>99999</number>
+ <property name="text">
+ <string>Notch size</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLineEdit" name="innerWidth">
- <property name="enabled">
- <bool>false</bool>
- </property>
+ <item row="0" column="1">
+ <widget class="QLabel" name="widthLabel">
<property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
+ <property name="text">
+ <string>Width</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="2">
+ <widget class="QLabel" name="heightLabel">
+ <property name="text">
+ <string>Height</string>
+ </property>
</widget>
</item>
</layout>
</item>
<item>
- <widget class="Line" name="line_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
<widget class="QGroupBox" name="groupBox">
<property name="enabled">
<bool>true</bool>
@@ -237,6 +161,13 @@
<item row="6" column="2">
<widget class="QSpinBox" name="bottomThickness"/>
</item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="bottomLabel">
+ <property name="text">
+ <string>Bottom</string>
+ </property>
+ </widget>
+ </item>
<item row="3" column="2">
<widget class="QSpinBox" name="leftThickness"/>
</item>
@@ -246,6 +177,26 @@
<item row="5" column="2">
<widget class="QSpinBox" name="topThickness"/>
</item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="frontLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Front</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QLabel" name="generateLabel">
+ <property name="text">
+ <string>Generate</string>
+ </property>
+ </widget>
+ </item>
<item row="0" column="2">
<widget class="QLabel" name="thicknessLabel">
<property name="text">
@@ -280,19 +231,6 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="frontLabel">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Front</string>
- </property>
- </widget>
- </item>
<item row="2" column="0">
<widget class="QLabel" name="backLabel">
<property name="text">
@@ -321,17 +259,10 @@
</property>
</widget>
</item>
- <item row="6" column="0">
- <widget class="QLabel" name="bottomLabel">
- <property name="text">
- <string>Bottom</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QLabel" name="generateLabel">
+ <item row="1" column="3">
+ <widget class="QPushButton" name="copyToOthersButton">
<property name="text">
- <string>Generate</string>
+ <string>Copy to all sides</string>
</property>
</widget>
</item>
@@ -339,40 +270,37 @@
</widget>
</item>
<item>
- <widget class="QPushButton" name="generateButton">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximumSize">
- <size>
- <width>484</width>
- <height>16777215</height>
- </size>
- </property>
- <property name="text">
- <string>Generate</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="Line" name="line">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="fitViewButton">
- <property name="text">
- <string>Fit all</string>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <item>
+ <widget class="QPushButton" name="generateButton">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>484</width>
+ <height>16777215</height>
+ </size>
+ </property>
+ <property name="text">
+ <string>Generate</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="viewBoxButton">
+ <property name="text">
+ <string>View box</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
<item>
<spacer name="verticalSpacer">
@@ -394,11 +322,7 @@
<tabstop>outerWidth</tabstop>
<tabstop>outerHeight</tabstop>
<tabstop>outerDepth</tabstop>
- <tabstop>innerWidth</tabstop>
- <tabstop>innerHeight</tabstop>
- <tabstop>innerDepth</tabstop>
<tabstop>notchSize</tabstop>
- <tabstop>thickness</tabstop>
<tabstop>frontCheckBox</tabstop>
<tabstop>frontThickness</tabstop>
<tabstop>backCheckBox</tabstop>
@@ -412,7 +336,8 @@
<tabstop>bottomCheckBox</tabstop>
<tabstop>bottomThickness</tabstop>
<tabstop>generateButton</tabstop>
- <tabstop>fitViewButton</tabstop>
+ <tabstop>viewBoxButton</tabstop>
+ <tabstop>copyToOthersButton</tabstop>
</tabstops>
<resources/>
<connections>
@@ -423,34 +348,51 @@
<slot>generateClicked()</slot>
<hints>
<hint type="sourcelabel">
- <x>233</x>
- <y>502</y>
+ <x>234</x>
+ <y>494</y>
</hint>
<hint type="destinationlabel">
<x>151</x>
- <y>520</y>
+ <y>510</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>viewBoxButton</sender>
+ <signal>clicked()</signal>
+ <receiver>BoxerDockWidget</receiver>
+ <slot>viewBoxClicked()</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>488</x>
+ <y>494</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>367</x>
+ <y>421</y>
</hint>
</hints>
</connection>
<connection>
- <sender>fitViewButton</sender>
+ <sender>copyToOthersButton</sender>
<signal>clicked()</signal>
<receiver>BoxerDockWidget</receiver>
- <slot>fitAllClicked()</slot>
+ <slot>copyToOthersClicked()</slot>
<hints>
<hint type="sourcelabel">
- <x>269</x>
- <y>544</y>
+ <x>307</x>
+ <y>247</y>
</hint>
<hint type="destinationlabel">
- <x>219</x>
- <y>568</y>
+ <x>397</x>
+ <y>275</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>generateClicked()</slot>
- <slot>fitAllClicked()</slot>
+ <slot>viewBoxClicked()</slot>
+ <slot>copyToOthersClicked()</slot>
</slots>
</ui>