Added the last groupboxes on the brewday tab.

Sun, 01 May 2022 20:50:01 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 01 May 2022 20:50:01 +0200
changeset 185
405bb68c1ea4
parent 184
da148d6b4c95
child 186
96e239584db5

Added the last groupboxes on the brewday tab.

src/EditProduct.cpp file | annotate | diff | comparison | revisions
src/EditProductTab8.cpp file | annotate | diff | comparison | revisions
ui/EditProduct.ui file | annotate | diff | comparison | revisions
--- a/src/EditProduct.cpp	Sun May 01 16:27:00 2022 +0200
+++ b/src/EditProduct.cpp	Sun May 01 20:50:01 2022 +0200
@@ -89,6 +89,16 @@
 	ui->beerstyleEdit->addItem(query.value(0).toString()+" "+query.value(1).toString()+" "+query.value(2).toString());
     }
 
+    ui->brew_coolwithEdit->addItem("-");
+    ui->brew_coolwithEdit->addItem(tr("Emersion chiller"));
+    ui->brew_coolwithEdit->addItem(tr("Counterflow chiller"));
+    ui->brew_coolwithEdit->addItem(tr("Au bain marie"));
+    ui->brew_coolwithEdit->addItem(tr("Natural"));
+
+    ui->brew_aerwithEdit->addItem(tr("None"));
+    ui->brew_aerwithEdit->addItem(tr("Air"));
+    ui->brew_aerwithEdit->addItem(tr("Oxygen"));
+
     if (id >= 0) {
 	query.prepare("SELECT * FROM products WHERE record = :recno");
 	query.bindValue(":recno", id);
@@ -912,6 +922,7 @@
     ui->brew_spargevolShow->setValue(product->sparge_volume);
     ui->brew_spargeestShow->setValue(product->brew_sparge_est);
     ui->brew_spargephEdit->setValue(product->brew_sparge_ph);
+    ui->brew_spargephShow->setValue(product->sparge_ph);
 
     ui->brew_boilBox->setTitle(tr("Boiling %1 minutes").arg(product->boil_time));
     ui->brew_preboilphEdit->setValue(product->brew_preboil_ph);
@@ -924,6 +935,25 @@
     ui->brew_aboilvolEdit->setValue(product->brew_aboil_volume);
     ui->brew_aboilvolShow->setValue(product->batch_size * 1.04);
     ui->brew_aboileffShow->setValue(product->brew_aboil_efficiency);
+    ui->brew_whirlpool9Edit->setValue(product->brew_whirlpool9);
+    ui->brew_whirlpool7Edit->setValue(product->brew_whirlpool7);
+    ui->brew_whirlpool6Edit->setValue(product->brew_whirlpool6);
+    ui->brew_whirlpool2Edit->setValue(product->brew_whirlpool2);
+    ui->brew_cooltoEdit->setValue(product->brew_cooling_to);
+    ui->brew_coolwithEdit->setCurrentIndex(product->brew_cooling_method);
+    ui->brew_cooltimeEdit->setValue(product->brew_cooling_time);
+
+    ui->brew_trublossEdit->setValue(product->brew_fermenter_tcloss);
+    ui->brew_topupwaterEdit->setValue(product->brew_fermenter_extrawater);
+    ui->brew_tofermentEdit->setValue(product->brew_fermenter_volume);
+    ui->brew_fermentsgShow->setValue(product->brew_fermenter_sg);
+    ui->brew_fermentcolorShow->setValue(product->brew_fermenter_color);
+    ui->brew_fermentcolorShow->setStyleSheet(Utils::ebc_to_style(product->brew_fermenter_color));
+    ui->brew_fermentibuShow->setValue(product->brew_fermenter_ibu);
+
+    ui->brew_aerwithEdit->setCurrentIndex(product->brew_aeration_type);
+    ui->brew_aertimeEdit->setValue(product->brew_aeration_time);
+    ui->brew_aerspeedEdit->setValue(product->brew_aeration_speed);
 
     // Tab fermentation.
 
--- a/src/EditProductTab8.cpp	Sun May 01 16:27:00 2022 +0200
+++ b/src/EditProductTab8.cpp	Sun May 01 20:50:01 2022 +0200
@@ -508,6 +508,7 @@
 void EditProduct::sp_ph_changed(double val)
 {
     product->sparge_ph = val;
+    ui->brew_spargephShow->setValue(product->sparge_ph);
     calcSparge();
     is_changed();
 }
--- a/ui/EditProduct.ui	Sun May 01 16:27:00 2022 +0200
+++ b/ui/EditProduct.ui	Sun May 01 20:50:01 2022 +0200
@@ -5956,8 +5956,8 @@
        <widget class="QLabel" name="brew_endLabel">
         <property name="geometry">
          <rect>
-          <x>570</x>
-          <y>10</y>
+          <x>10</x>
+          <y>40</y>
           <width>131</width>
           <height>20</height>
          </rect>
@@ -5985,8 +5985,8 @@
        <widget class="QLineEdit" name="brew_endEdit">
         <property name="geometry">
          <rect>
-          <x>710</x>
-          <y>10</y>
+          <x>150</x>
+          <y>40</y>
           <width>141</width>
           <height>23</height>
          </rect>
@@ -6004,6 +6004,9 @@
           <height>22</height>
          </rect>
         </property>
+        <property name="toolTip">
+         <string>Edit brew start</string>
+        </property>
         <property name="text">
          <string>...</string>
         </property>
@@ -6015,12 +6018,15 @@
        <widget class="QToolButton" name="brew_endButton">
         <property name="geometry">
          <rect>
-          <x>860</x>
-          <y>10</y>
+          <x>300</x>
+          <y>40</y>
           <width>28</width>
           <height>22</height>
          </rect>
         </property>
+        <property name="toolTip">
+         <string>Edit brew end</string>
+        </property>
         <property name="text">
          <string>...</string>
         </property>
@@ -6033,13 +6039,13 @@
         <property name="geometry">
          <rect>
           <x>10</x>
-          <y>40</y>
+          <y>90</y>
           <width>321</width>
-          <height>121</height>
+          <height>241</height>
          </rect>
         </property>
         <property name="title">
-         <string>Mashing</string>
+         <string>Mashing and Sparge</string>
         </property>
         <widget class="QLabel" name="brew_mashphLabel">
          <property name="geometry">
@@ -6202,30 +6208,17 @@
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
-       </widget>
-       <widget class="QGroupBox" name="brew_spargeBox">
-        <property name="geometry">
-         <rect>
-          <x>10</x>
-          <y>170</y>
-          <width>321</width>
-          <height>151</height>
-         </rect>
-        </property>
-        <property name="title">
-         <string>Sparge and Lauter</string>
-        </property>
-        <widget class="QLabel" name="brew_spargetempLabel">
+        <widget class="QLabel" name="brew_spargephLabel">
          <property name="geometry">
           <rect>
            <x>10</x>
-           <y>20</y>
+           <y>200</y>
            <width>121</width>
            <height>20</height>
           </rect>
          </property>
          <property name="text">
-          <string>Sparge temp °C:</string>
+          <string>Sparge water pH:</string>
          </property>
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
@@ -6235,7 +6228,7 @@
          <property name="geometry">
           <rect>
            <x>10</x>
-           <y>50</y>
+           <y>140</y>
            <width>121</width>
            <height>20</height>
           </rect>
@@ -6251,7 +6244,7 @@
          <property name="geometry">
           <rect>
            <x>10</x>
-           <y>80</y>
+           <y>170</y>
            <width>121</width>
            <height>20</height>
           </rect>
@@ -6263,52 +6256,11 @@
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
         </widget>
-        <widget class="QLabel" name="brew_spargephLabel">
-         <property name="geometry">
-          <rect>
-           <x>10</x>
-           <y>110</y>
-           <width>121</width>
-           <height>20</height>
-          </rect>
-         </property>
-         <property name="text">
-          <string>Sparge water pH:</string>
-         </property>
-         <property name="alignment">
-          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
-         </property>
-        </widget>
-        <widget class="QDoubleSpinBox" name="brew_spargetempShow">
-         <property name="geometry">
-          <rect>
-           <x>140</x>
-           <y>20</y>
-           <width>81</width>
-           <height>24</height>
-          </rect>
-         </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="decimals">
-          <number>1</number>
-         </property>
-         <property name="maximum">
-          <double>200.000000000000000</double>
-         </property>
-        </widget>
         <widget class="QDoubleSpinBox" name="brew_spargevolShow">
          <property name="geometry">
           <rect>
            <x>140</x>
-           <y>50</y>
+           <y>140</y>
            <width>81</width>
            <height>24</height>
           </rect>
@@ -6329,11 +6281,49 @@
           <double>200000.000000000000000</double>
          </property>
         </widget>
+        <widget class="QLabel" name="brew_spargetempLabel">
+         <property name="geometry">
+          <rect>
+           <x>10</x>
+           <y>110</y>
+           <width>121</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Sparge temp °C:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_spargephEdit">
+         <property name="geometry">
+          <rect>
+           <x>140</x>
+           <y>200</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="maximum">
+          <double>14.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>0.100000000000000</double>
+         </property>
+        </widget>
         <widget class="QDoubleSpinBox" name="brew_spargeestShow">
          <property name="geometry">
           <rect>
            <x>140</x>
-           <y>80</y>
+           <y>170</y>
            <width>81</width>
            <height>24</height>
           </rect>
@@ -6354,7 +6344,7 @@
           <double>200000.000000000000000</double>
          </property>
         </widget>
-        <widget class="QDoubleSpinBox" name="brew_spargephEdit">
+        <widget class="QDoubleSpinBox" name="brew_spargetempShow">
          <property name="geometry">
           <rect>
            <x>140</x>
@@ -6366,14 +6356,36 @@
          <property name="alignment">
           <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
          </property>
-         <property name="accelerated">
+         <property name="readOnly">
           <bool>true</bool>
          </property>
+         <property name="buttonSymbols">
+          <enum>QAbstractSpinBox::NoButtons</enum>
+         </property>
+         <property name="decimals">
+          <number>1</number>
+         </property>
          <property name="maximum">
-          <double>14.000000000000000</double>
-         </property>
-         <property name="singleStep">
-          <double>0.100000000000000</double>
+          <double>200.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_spargephShow">
+         <property name="geometry">
+          <rect>
+           <x>230</x>
+           <y>200</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </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>
         </widget>
        </widget>
@@ -6381,8 +6393,8 @@
         <property name="geometry">
          <rect>
           <x>370</x>
-          <y>40</y>
-          <width>721</width>
+          <y>20</y>
+          <width>741</width>
           <height>151</height>
          </rect>
         </property>
@@ -6392,7 +6404,7 @@
         <widget class="QLabel" name="brew_preboilphLabel">
          <property name="geometry">
           <rect>
-           <x>10</x>
+           <x>30</x>
            <y>20</y>
            <width>131</width>
            <height>20</height>
@@ -6408,7 +6420,7 @@
         <widget class="QLabel" name="brew_preboilsgLabel">
          <property name="geometry">
           <rect>
-           <x>10</x>
+           <x>30</x>
            <y>50</y>
            <width>131</width>
            <height>20</height>
@@ -6424,7 +6436,7 @@
         <widget class="QLabel" name="brew_preboilvolLabel">
          <property name="geometry">
           <rect>
-           <x>10</x>
+           <x>30</x>
            <y>80</y>
            <width>131</width>
            <height>20</height>
@@ -6440,7 +6452,7 @@
         <widget class="QLabel" name="brew_preboileffLabel">
          <property name="geometry">
           <rect>
-           <x>10</x>
+           <x>30</x>
            <y>110</y>
            <width>131</width>
            <height>20</height>
@@ -6456,7 +6468,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboilphEdit">
          <property name="geometry">
           <rect>
-           <x>150</x>
+           <x>170</x>
            <y>20</y>
            <width>81</width>
            <height>24</height>
@@ -6478,7 +6490,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboilsgEdit">
          <property name="geometry">
           <rect>
-           <x>150</x>
+           <x>170</x>
            <y>50</y>
            <width>81</width>
            <height>24</height>
@@ -6500,7 +6512,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboilsgShow">
          <property name="geometry">
           <rect>
-           <x>240</x>
+           <x>260</x>
            <y>50</y>
            <width>71</width>
            <height>24</height>
@@ -6522,7 +6534,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboileffShow">
          <property name="geometry">
           <rect>
-           <x>150</x>
+           <x>170</x>
            <y>110</y>
            <width>81</width>
            <height>24</height>
@@ -6550,7 +6562,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboilvolEdit">
          <property name="geometry">
           <rect>
-           <x>150</x>
+           <x>170</x>
            <y>80</y>
            <width>81</width>
            <height>24</height>
@@ -6575,7 +6587,7 @@
         <widget class="QDoubleSpinBox" name="brew_preboilvolShow">
          <property name="geometry">
           <rect>
-           <x>240</x>
+           <x>260</x>
            <y>80</y>
            <width>71</width>
            <height>24</height>
@@ -6600,12 +6612,15 @@
         <widget class="QToolButton" name="brew_preboilButton">
          <property name="geometry">
           <rect>
-           <x>320</x>
+           <x>340</x>
            <y>80</y>
            <width>28</width>
            <height>22</height>
           </rect>
          </property>
+         <property name="toolTip">
+          <string>Edit volume</string>
+         </property>
          <property name="text">
           <string>...</string>
          </property>
@@ -6617,7 +6632,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboilsgEdit">
          <property name="geometry">
           <rect>
-           <x>500</x>
+           <x>520</x>
            <y>50</y>
            <width>81</width>
            <height>24</height>
@@ -6639,12 +6654,15 @@
         <widget class="QToolButton" name="brew_aboilButton">
          <property name="geometry">
           <rect>
-           <x>670</x>
+           <x>690</x>
            <y>80</y>
            <width>28</width>
            <height>22</height>
           </rect>
          </property>
+         <property name="toolTip">
+          <string>Edit volume</string>
+         </property>
          <property name="text">
           <string>...</string>
          </property>
@@ -6656,7 +6674,7 @@
         <widget class="QLabel" name="brew_aboilsgLabel">
          <property name="geometry">
           <rect>
-           <x>360</x>
+           <x>380</x>
            <y>50</y>
            <width>131</width>
            <height>20</height>
@@ -6672,7 +6690,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboilvolEdit">
          <property name="geometry">
           <rect>
-           <x>500</x>
+           <x>520</x>
            <y>80</y>
            <width>81</width>
            <height>24</height>
@@ -6697,7 +6715,7 @@
         <widget class="QLabel" name="brew_aboilvolLabel">
          <property name="geometry">
           <rect>
-           <x>360</x>
+           <x>380</x>
            <y>80</y>
            <width>131</width>
            <height>20</height>
@@ -6713,7 +6731,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboilphEdit">
          <property name="geometry">
           <rect>
-           <x>500</x>
+           <x>520</x>
            <y>20</y>
            <width>81</width>
            <height>24</height>
@@ -6735,7 +6753,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboilsgShow">
          <property name="geometry">
           <rect>
-           <x>590</x>
+           <x>610</x>
            <y>50</y>
            <width>71</width>
            <height>24</height>
@@ -6757,7 +6775,7 @@
         <widget class="QLabel" name="brew_aboileffLabel">
          <property name="geometry">
           <rect>
-           <x>360</x>
+           <x>380</x>
            <y>110</y>
            <width>131</width>
            <height>20</height>
@@ -6773,7 +6791,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboileffShow">
          <property name="geometry">
           <rect>
-           <x>500</x>
+           <x>520</x>
            <y>110</y>
            <width>81</width>
            <height>24</height>
@@ -6801,7 +6819,7 @@
         <widget class="QDoubleSpinBox" name="brew_aboilvolShow">
          <property name="geometry">
           <rect>
-           <x>590</x>
+           <x>610</x>
            <y>80</y>
            <width>71</width>
            <height>24</height>
@@ -6826,7 +6844,7 @@
         <widget class="QLabel" name="brew_aboilphLabel">
          <property name="geometry">
           <rect>
-           <x>360</x>
+           <x>380</x>
            <y>20</y>
            <width>131</width>
            <height>20</height>
@@ -6840,6 +6858,727 @@
          </property>
         </widget>
        </widget>
+       <widget class="QGroupBox" name="brew_chillBox">
+        <property name="geometry">
+         <rect>
+          <x>370</x>
+          <y>180</y>
+          <width>741</width>
+          <height>151</height>
+         </rect>
+        </property>
+        <property name="title">
+         <string>Chilling and whirlpools</string>
+        </property>
+        <widget class="QLabel" name="brew_whirlpool7Label">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>50</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Hopstand 72..79°C:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_whirlpool6Label">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>80</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Hopstand 60..66°C:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_whirlpool2Label">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>110</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Whirlpool cold:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_whirlpool9Label">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>20</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Hopstand 85..100°C:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_whirlpool9Edit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>20</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_whirlpool7Edit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>50</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_whirlpool6Edit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>80</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_whirlpool2Edit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>110</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_cooltoLabel">
+         <property name="geometry">
+          <rect>
+           <x>380</x>
+           <y>20</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Cooling to °C:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_coolwithLabel">
+         <property name="geometry">
+          <rect>
+           <x>380</x>
+           <y>50</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Cooling method:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_cooltimeLabel">
+         <property name="geometry">
+          <rect>
+           <x>380</x>
+           <y>80</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Cooling time:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_cooltimeEdit">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>80</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_cooltoEdit">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>20</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="decimals">
+          <number>1</number>
+         </property>
+         <property name="maximum">
+          <double>100000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QComboBox" name="brew_coolwithEdit">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>50</y>
+           <width>161</width>
+           <height>23</height>
+          </rect>
+         </property>
+        </widget>
+       </widget>
+       <widget class="QGroupBox" name="brew_tofermentBox">
+        <property name="geometry">
+         <rect>
+          <x>370</x>
+          <y>340</y>
+          <width>741</width>
+          <height>121</height>
+         </rect>
+        </property>
+        <property name="title">
+         <string>Transfer to fermenter</string>
+        </property>
+        <widget class="QLabel" name="brew_tofermentLabel">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>80</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Volume to fermenter:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_trublossLabel_2">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>20</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Trub and chiller loss:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_topupwaterLabel">
+         <property name="geometry">
+          <rect>
+           <x>30</x>
+           <y>50</y>
+           <width>131</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Top up water:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_trublossEdit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>20</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="decimals">
+          <number>1</number>
+         </property>
+         <property name="maximum">
+          <double>100000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_topupwaterEdit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>50</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="decimals">
+          <number>1</number>
+         </property>
+         <property name="maximum">
+          <double>100000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_tofermentEdit">
+         <property name="geometry">
+          <rect>
+           <x>170</x>
+           <y>80</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="decimals">
+          <number>1</number>
+         </property>
+         <property name="maximum">
+          <double>100000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_fermentsgLabel">
+         <property name="geometry">
+          <rect>
+           <x>360</x>
+           <y>20</y>
+           <width>151</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>SG in fermenter:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_fermentcolorLabel">
+         <property name="geometry">
+          <rect>
+           <x>360</x>
+           <y>50</y>
+           <width>151</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>EBC color in fermenter:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_fermentibuLabel">
+         <property name="geometry">
+          <rect>
+           <x>360</x>
+           <y>80</y>
+           <width>151</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>IBU in fermenter:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_fermentcolorShow">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>50</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </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>0</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="brew_fermentibuShow">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>80</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </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>0</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="brew_fermentsgShow">
+         <property name="geometry">
+          <rect>
+           <x>520</x>
+           <y>20</y>
+           <width>71</width>
+           <height>24</height>
+          </rect>
+         </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="decimals">
+          <number>3</number>
+         </property>
+        </widget>
+       </widget>
+       <widget class="QGroupBox" name="brew_aerationBox">
+        <property name="geometry">
+         <rect>
+          <x>10</x>
+          <y>340</y>
+          <width>321</width>
+          <height>121</height>
+         </rect>
+        </property>
+        <property name="title">
+         <string>Aeration</string>
+        </property>
+        <widget class="QLabel" name="brew_aerwithLabel">
+         <property name="geometry">
+          <rect>
+           <x>10</x>
+           <y>20</y>
+           <width>121</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Aeration with:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_aertimeLabel">
+         <property name="geometry">
+          <rect>
+           <x>10</x>
+           <y>50</y>
+           <width>121</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Aeration time:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QLabel" name="brew_aerspeedLabel">
+         <property name="geometry">
+          <rect>
+           <x>10</x>
+           <y>80</y>
+           <width>121</width>
+           <height>20</height>
+          </rect>
+         </property>
+         <property name="text">
+          <string>Aeration speed:</string>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+        </widget>
+        <widget class="QComboBox" name="brew_aerwithEdit">
+         <property name="geometry">
+          <rect>
+           <x>140</x>
+           <y>20</y>
+           <width>161</width>
+           <height>23</height>
+          </rect>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_aertimeEdit">
+         <property name="geometry">
+          <rect>
+           <x>140</x>
+           <y>50</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> min</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+        <widget class="QDoubleSpinBox" name="brew_aerspeedEdit">
+         <property name="geometry">
+          <rect>
+           <x>140</x>
+           <y>80</y>
+           <width>81</width>
+           <height>24</height>
+          </rect>
+         </property>
+         <property name="alignment">
+          <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+         </property>
+         <property name="accelerated">
+          <bool>true</bool>
+         </property>
+         <property name="suffix">
+          <string> L/m</string>
+         </property>
+         <property name="decimals">
+          <number>0</number>
+         </property>
+         <property name="maximum">
+          <double>1000.000000000000000</double>
+         </property>
+         <property name="singleStep">
+          <double>1.000000000000000</double>
+         </property>
+        </widget>
+       </widget>
+       <widget class="QToolButton" name="brew_logButton">
+        <property name="geometry">
+         <rect>
+          <x>300</x>
+          <y>70</y>
+          <width>28</width>
+          <height>22</height>
+         </rect>
+        </property>
+        <property name="toolTip">
+         <string>Brew log chart</string>
+        </property>
+        <property name="text">
+         <string>...</string>
+        </property>
+        <property name="icon">
+         <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc">
+          <normaloff>:/icons/silk/chart_line.png</normaloff>:/icons/silk/chart_line.png</iconset>
+        </property>
+       </widget>
       </widget>
       <widget class="QWidget" name="ferment">
        <attribute name="icon">

mercurial