Adjusted the width of the fermentables table. Made room for a stacked widget on the yeasts tab.

Sat, 09 Apr 2022 13:34:45 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 09 Apr 2022 13:34:45 +0200
changeset 124
ba26b19572ab
parent 123
41563800aa92
child 125
2e79e0975e58

Adjusted the width of the fermentables table. Made room for a stacked widget on the yeasts tab.

src/EditRecipe.cpp file | annotate | diff | comparison | revisions
ui/EditRecipe.ui file | annotate | diff | comparison | revisions
--- a/src/EditRecipe.cpp	Sat Apr 09 10:26:35 2022 +0200
+++ b/src/EditRecipe.cpp	Sat Apr 09 13:34:45 2022 +0200
@@ -565,7 +565,7 @@
     ui->fermentablesTable->setColumnWidth(2,  50);     /* Color		*/
     ui->fermentablesTable->setColumnWidth(3,  75);     /* Type		*/
     ui->fermentablesTable->setColumnWidth(4,  75);     /* Graintype	*/
-    ui->fermentablesTable->setColumnWidth(5,  75);     /* Added		*/
+    ui->fermentablesTable->setColumnWidth(5,  82);     /* Added		*/
     ui->fermentablesTable->setColumnWidth(6,  60);     /* Yield		*/
     ui->fermentablesTable->setColumnWidth(7,  90);     /* Amount	*/
     ui->fermentablesTable->setColumnWidth(8,  60);     /* Procent	*/
--- a/ui/EditRecipe.ui	Sat Apr 09 10:26:35 2022 +0200
+++ b/ui/EditRecipe.ui	Sat Apr 09 13:34:45 2022 +0200
@@ -1640,8 +1640,8 @@
        <widget class="QLabel" name="est_abv2Label">
         <property name="geometry">
          <rect>
-          <x>570</x>
-          <y>10</y>
+          <x>50</x>
+          <y>70</y>
           <width>131</width>
           <height>20</height>
          </rect>
@@ -1656,8 +1656,8 @@
        <widget class="QDoubleSpinBox" name="est_abv2Edit">
         <property name="geometry">
          <rect>
-          <x>710</x>
-          <y>10</y>
+          <x>190</x>
+          <y>70</y>
           <width>71</width>
           <height>24</height>
          </rect>
@@ -1693,8 +1693,8 @@
        <widget class="QLabel" name="est_svgLabel">
         <property name="geometry">
          <rect>
-          <x>550</x>
-          <y>40</y>
+          <x>30</x>
+          <y>100</y>
           <width>151</width>
           <height>20</height>
          </rect>
@@ -1709,8 +1709,8 @@
        <widget class="QDoubleSpinBox" name="est_svgEdit">
         <property name="geometry">
          <rect>
-          <x>710</x>
-          <y>40</y>
+          <x>190</x>
+          <y>100</y>
           <width>71</width>
           <height>24</height>
          </rect>
@@ -1747,11 +1747,55 @@
         <property name="geometry">
          <rect>
           <x>10</x>
-          <y>90</y>
+          <y>250</y>
           <width>1101</width>
-          <height>371</height>
+          <height>211</height>
+         </rect>
+        </property>
+       </widget>
+       <widget class="QStackedWidget" name="yeastProcedure">
+        <property name="geometry">
+         <rect>
+          <x>290</x>
+          <y>10</y>
+          <width>821</width>
+          <height>231</height>
          </rect>
         </property>
+        <property name="currentIndex">
+         <number>0</number>
+        </property>
+        <widget class="QWidget" name="yeastNot"/>
+        <widget class="QWidget" name="yeastLiquid">
+         <widget class="QLabel" name="label">
+          <property name="geometry">
+           <rect>
+            <x>15</x>
+            <y>0</y>
+            <width>81</width>
+            <height>20</height>
+           </rect>
+          </property>
+          <property name="text">
+           <string>Liquid Yeast</string>
+          </property>
+         </widget>
+        </widget>
+        <widget class="QWidget" name="yeastDry">
+         <widget class="QLabel" name="label_2">
+          <property name="geometry">
+           <rect>
+            <x>15</x>
+            <y>0</y>
+            <width>71</width>
+            <height>20</height>
+           </rect>
+          </property>
+          <property name="text">
+           <string>Dry Yeast</string>
+          </property>
+         </widget>
+        </widget>
        </widget>
       </widget>
       <widget class="QWidget" name="mash">

mercurial