ui/EditProduct.ui

changeset 395
7212b980a527
parent 360
b70cfa20ac46
child 397
877420a13815
--- a/ui/EditProduct.ui	Thu Aug 11 10:50:18 2022 +0200
+++ b/ui/EditProduct.ui	Wed Aug 17 14:30:33 2022 +0200
@@ -407,9 +407,9 @@
         <property name="geometry">
          <rect>
           <x>10</x>
-          <y>340</y>
+          <y>310</y>
           <width>1101</width>
-          <height>121</height>
+          <height>151</height>
          </rect>
         </property>
         <property name="title">
@@ -880,6 +880,132 @@
           <double>0.100000000000000</double>
          </property>
         </widget>
+        <widget class="QLabel" name="est_buguLabel">
+         <property name="geometry">
+          <rect>
+           <x>10</x>
+           <y>110</y>
+           <width>111</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>BU:GU ratio:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="est_bufguLabel">
+         <property name="geometry">
+          <rect>
+           <x>380</x>
+           <y>110</y>
+           <width>111</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>BU:RE ratio:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="est_buguEdit">
+         <property name="geometry">
+          <rect>
+           <x>130</x>
+           <y>110</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="toolTip">
+          <string>The obsolete Bitterness Unit to Gravity Unit ratio</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="readOnly">
+          <bool>true</bool>
+         </property>
+         <property name="buttonSymbols">
+          <enum>QAbstractSpinBox::NoButtons</enum>
+         </property>
+         <property name="accelerated">
+          <bool>false</bool>
+         </property>
+         <property name="decimals">
+          <number>2</number>
+         </property>
+         <property name="minimum">
+          <double>0.000000000000000</double>
+         </property>
+         <property name="maximum">
+          <double>400.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="est_bufguEdit">
+         <property name="geometry">
+          <rect>
+           <x>500</x>
+           <y>110</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="toolTip">
+          <string>Bitterness Unit to Real Extract ratio</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="readOnly">
+          <bool>true</bool>
+         </property>
+         <property name="buttonSymbols">
+          <enum>QAbstractSpinBox::NoButtons</enum>
+         </property>
+         <property name="accelerated">
+          <bool>false</bool>
+         </property>
+         <property name="decimals">
+          <number>2</number>
+         </property>
+         <property name="minimum">
+          <double>0.000000000000000</double>
+         </property>
+         <property name="maximum">
+          <double>400.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="RangedSlider" name="est_buguShow">
+         <property name="geometry">
+          <rect>
+           <x>210</x>
+           <y>110</y>
+           <width>148</width>
+           <height>24</height>
+          </rect>
+         </property>
+        </widget>
+        <widget class="RangedSlider" name="est_bufguShow">
+         <property name="geometry">
+          <rect>
+           <x>580</x>
+           <y>110</y>
+           <width>148</width>
+           <height>24</height>
+          </rect>
+         </property>
+        </widget>
        </widget>
        <widget class="QGroupBox" name="styleBox">
         <property name="geometry">
@@ -887,7 +1013,7 @@
           <x>10</x>
           <y>210</y>
           <width>1101</width>
-          <height>121</height>
+          <height>91</height>
          </rect>
         </property>
         <property name="title">
@@ -896,9 +1022,9 @@
         <widget class="QComboBox" name="beerstyleEdit">
          <property name="geometry">
           <rect>
-           <x>130</x>
+           <x>720</x>
            <y>20</y>
-           <width>211</width>
+           <width>16</width>
            <height>23</height>
           </rect>
          </property>
@@ -907,7 +1033,7 @@
          <property name="geometry">
           <rect>
            <x>870</x>
-           <y>50</y>
+           <y>20</y>
            <width>101</width>
            <height>23</height>
           </rect>
@@ -923,7 +1049,7 @@
          <property name="geometry">
           <rect>
            <x>130</x>
-           <y>50</y>
+           <y>20</y>
            <width>211</width>
            <height>23</height>
           </rect>
@@ -939,7 +1065,7 @@
          <property name="geometry">
           <rect>
            <x>10</x>
-           <y>50</y>
+           <y>20</y>
            <width>111</width>
            <height>20</height>
           </rect>
@@ -954,9 +1080,9 @@
         <widget class="QLabel" name="st_groupLabel">
          <property name="geometry">
           <rect>
-           <x>720</x>
-           <y>50</y>
-           <width>141</width>
+           <x>740</x>
+           <y>20</y>
+           <width>121</width>
            <height>20</height>
           </rect>
          </property>
@@ -967,27 +1093,11 @@
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
-        <widget class="QLabel" name="beerstyleLabel">
-         <property name="geometry">
-          <rect>
-           <x>10</x>
-           <y>20</y>
-           <width>111</width>
-           <height>20</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Select style:</string>
-         </property>
-         <property name="alignment">
-          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-         </property>
-        </widget>
         <widget class="QLabel" name="st_typeLabel">
          <property name="geometry">
           <rect>
            <x>10</x>
-           <y>80</y>
+           <y>50</y>
            <width>111</width>
            <height>20</height>
           </rect>
@@ -1003,7 +1113,7 @@
          <property name="geometry">
           <rect>
            <x>130</x>
-           <y>80</y>
+           <y>50</y>
            <width>211</width>
            <height>23</height>
           </rect>
@@ -1019,7 +1129,7 @@
          <property name="geometry">
           <rect>
            <x>360</x>
-           <y>80</y>
+           <y>50</y>
            <width>131</width>
            <height>20</height>
           </rect>
@@ -1035,7 +1145,7 @@
          <property name="geometry">
           <rect>
            <x>870</x>
-           <y>80</y>
+           <y>50</y>
            <width>71</width>
            <height>23</height>
           </rect>
@@ -1051,7 +1161,7 @@
          <property name="geometry">
           <rect>
            <x>720</x>
-           <y>80</y>
+           <y>50</y>
            <width>141</width>
            <height>20</height>
           </rect>
@@ -1067,7 +1177,7 @@
          <property name="geometry">
           <rect>
            <x>500</x>
-           <y>80</y>
+           <y>50</y>
            <width>211</width>
            <height>23</height>
           </rect>
@@ -1083,7 +1193,7 @@
          <property name="geometry">
           <rect>
            <x>500</x>
-           <y>50</y>
+           <y>20</y>
            <width>211</width>
            <height>23</height>
           </rect>
@@ -1099,7 +1209,7 @@
          <property name="geometry">
           <rect>
            <x>380</x>
-           <y>50</y>
+           <y>20</y>
            <width>111</width>
            <height>20</height>
           </rect>

mercurial