Mon, 11 Apr 2022 22:32:04 +0200
Finished the water tab ui. For now.
ui/EditRecipe.ui | file | annotate | diff | comparison | revisions |
--- a/ui/EditRecipe.ui Mon Apr 11 20:45:22 2022 +0200 +++ b/ui/EditRecipe.ui Mon Apr 11 22:32:04 2022 +0200 @@ -1949,14 +1949,26 @@ <property name="geometry"> <rect> <x>170</x> - <y>10</y> + <y>0</y> <width>941</width> - <height>241</height> + <height>221</height> </rect> </property> + <property name="autoFillBackground"> + <bool>false</bool> + </property> <property name="title"> <string>Water overview</string> </property> + <property name="flat"> + <bool>false</bool> + </property> + <property name="checkable"> + <bool>false</bool> + </property> + <property name="checked"> + <bool>false</bool> + </property> <widget class="QDoubleSpinBox" name="w1_caEdit"> <property name="geometry"> <rect> @@ -2506,7 +2518,7 @@ <rect> <x>200</x> <y>80</y> - <width>84</width> + <width>85</width> <height>24</height> </rect> </property> @@ -2529,7 +2541,7 @@ <double>10000.000000000000000</double> </property> <property name="singleStep"> - <double>5.000000000000000</double> + <double>0.500000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="w2_mgEdit"> @@ -2786,7 +2798,7 @@ <property name="geometry"> <rect> <x>460</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2836,7 +2848,7 @@ <property name="geometry"> <rect> <x>540</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2861,7 +2873,7 @@ <property name="geometry"> <rect> <x>620</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2886,7 +2898,7 @@ <property name="geometry"> <rect> <x>780</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2911,7 +2923,7 @@ <property name="geometry"> <rect> <x>300</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2936,7 +2948,7 @@ <property name="geometry"> <rect> <x>700</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -2961,7 +2973,7 @@ <property name="geometry"> <rect> <x>380</x> - <y>200</y> + <y>180</y> <width>71</width> <height>24</height> </rect> @@ -3182,6 +3194,15 @@ <height>23</height> </rect> </property> + <property name="toolTip"> + <string>The main brewing water</string> + </property> + <property name="currentText"> + <string/> + </property> + <property name="placeholderText"> + <string>Choose water</string> + </property> </widget> <widget class="QComboBox" name="w2_sourceEdit"> <property name="geometry"> @@ -3192,12 +3213,15 @@ <height>23</height> </rect> </property> + <property name="toolTip"> + <string>Optional dilution water</string> + </property> </widget> <widget class="QComboBox" name="wt_sourceEdit"> <property name="geometry"> <rect> <x>10</x> - <y>200</y> + <y>180</y> <width>181</width> <height>23</height> </rect> @@ -3235,20 +3259,730 @@ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> </property> </widget> - <widget class="QLabel" name="resultLabel"> + </widget> + <widget class="QGroupBox" name="brewsaltsBox"> + <property name="geometry"> + <rect> + <x>10</x> + <y>230</y> + <width>291</width> + <height>241</height> + </rect> + </property> + <property name="title"> + <string>Brewing salts</string> + </property> + <widget class="QLabel" name="bs_cacl2Label"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Calciumchloride (CaCl2) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_caso4Label"> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Gips (CaSO4) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_mgso4Label"> + <property name="geometry"> + <rect> + <x>10</x> + <y>80</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Epsom zout (MgSO4) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_naclLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>110</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Keukenzout (NaCl) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_mgcl2Label"> + <property name="geometry"> + <rect> + <x>10</x> + <y>140</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Magnesiumchloride (MgCl2) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_nahco3Label"> <property name="geometry"> <rect> <x>10</x> <y>170</y> <width>171</width> - <height>21</height> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Baksoda (NaHCO3) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="bs_caco3Label"> + <property name="geometry"> + <rect> + <x>10</x> + <y>200</y> + <width>171</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Kalk (CaCO3) gr:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_cacl2Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>20</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_caso4Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>50</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_mgso4Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>80</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_naclEdit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>110</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_mgcl2Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>140</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_nahco3Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>170</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="bs_caco3Edit"> + <property name="geometry"> + <rect> + <x>190</x> + <y>200</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="mashBox"> + <property name="geometry"> + <rect> + <x>360</x> + <y>230</y> + <width>421</width> + <height>91</height> + </rect> + </property> + <property name="title"> + <string>Mash water</string> + </property> + <widget class="QLabel" name="mw_phLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>111</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Desired pH:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="mw_autoLabel"> + <property name="geometry"> + <rect> + <x>245</x> + <y>20</y> + <width>131</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Auto calculate:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="mw_acidLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>111</width> + <height>20</height> </rect> </property> <property name="text"> - <string>Result</string> + <string>Acid to use:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QComboBox" name="mw_acidPick"> + <property name="geometry"> + <rect> + <x>130</x> + <y>50</y> + <width>101</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QDoubleSpinBox" name="mw_phEdit"> + <property name="geometry"> + <rect> + <x>130</x> + <y>20</y> + <width>101</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>14.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="mw_acidpercEdit"> + <property name="geometry"> + <rect> + <x>240</x> + <y>50</y> + <width>61</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>0</number> + </property> + <property name="maximum"> + <double>100.000000000000000</double> + </property> + <property name="singleStep"> + <double>1.000000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="mw_acidvolEdit"> + <property name="geometry"> + <rect> + <x>310</x> + <y>50</y> + <width>89</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>2</number> + </property> + <property name="maximum"> + <double>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QCheckBox" name="mw_autoEdit"> + <property name="geometry"> + <rect> + <x>385</x> + <y>20</y> + <width>16</width> + <height>21</height> + </rect> + </property> + </widget> + </widget> + <widget class="QGroupBox" name="spargeBox"> + <property name="geometry"> + <rect> + <x>840</x> + <y>230</y> + <width>271</width> + <height>241</height> + </rect> + </property> + <property name="title"> + <string>Sparge water</string> + </property> + <widget class="QLabel" name="sp_volLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Sparge water supply:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_tempLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Sparge temperature:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_sourceLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>80</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Water source:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_phLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>110</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Desired pH:</string> </property> <property name="alignment"> - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_acidtypeLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>140</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Acid type:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_acidpercLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>170</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Acid strength:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="sp_acidvolLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>200</y> + <width>151</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Acid needed:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QDoubleSpinBox" name="sp_volEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>20</y> + <width>91</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>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="sp_tempEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>50</y> + <width>91</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>100.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.500000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="sp_phEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>110</y> + <width>91</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>14.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="sp_acidpercEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>170</y> + <width>91</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>0</number> + </property> + <property name="maximum"> + <double>100.000000000000000</double> + </property> + <property name="singleStep"> + <double>1.000000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="sp_acidvolEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>200</y> + <width>91</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>2</number> + </property> + <property name="maximum"> + <double>1000.000000000000000</double> + </property> + <property name="singleStep"> + <double>0.100000000000000</double> + </property> + </widget> + <widget class="QComboBox" name="sp_sourceEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>80</y> + <width>91</width> + <height>23</height> + </rect> + </property> + </widget> + <widget class="QComboBox" name="sp_acidtypeEdit"> + <property name="geometry"> + <rect> + <x>170</x> + <y>140</y> + <width>91</width> + <height>23</height> + </rect> </property> </widget> </widget>