--- a/ui/EditProduct.ui Wed May 11 11:33:29 2022 +0200 +++ b/ui/EditProduct.ui Wed May 11 21:04:08 2022 +0200 @@ -2982,7 +2982,7 @@ </rect> </property> <property name="text"> - <string>Pitchrate million cells/ml/°P:</string> + <string>Pitchrate billion cells/ml/°P:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -3113,7 +3113,7 @@ </rect> </property> <property name="text"> - <string>Need million cells:</string> + <string>Need billion cells:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> @@ -3169,7 +3169,7 @@ </font> </property> <property name="text"> - <string>Dry yeast advice</string> + <string>Dry yeast claculation.</string> </property> </widget> <widget class="QLabel" name="lo_gr_hlLabel"> @@ -3339,28 +3339,88 @@ <double>2.000000000000000</double> </property> </widget> - <widget class="QLabel" name="need_grLabel"> + <widget class="QLabel" name="pitch_grLabel"> <property name="geometry"> <rect> - <x>40</x> + <x>390</x> <y>120</y> - <width>121</width> + <width>181</width> <height>20</height> </rect> </property> <property name="text"> - <string>Pitch grams:</string> + <string>This recipe pitch grams/hl:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> - <widget class="QDoubleSpinBox" name="need_grEdit"> + <widget class="QDoubleSpinBox" name="dry_pitchrateShow"> + <property name="geometry"> + <rect> + <x>580</x> + <y>60</y> + <width>91</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>2</number> + </property> + <property name="maximum"> + <double>1000.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="dry_pitchrateLabel"> <property name="geometry"> <rect> - <x>170</x> - <y>120</y> - <width>61</width> + <x>390</x> + <y>60</y> + <width>181</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Pitchrate grams/hectoliter:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="dry_needLabel"> + <property name="geometry"> + <rect> + <x>390</x> + <y>90</y> + <width>181</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Yeast grams needed:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QDoubleSpinBox" name="dry_needShow"> + <property name="geometry"> + <rect> + <x>580</x> + <y>90</y> + <width>91</width> <height>24</height> </rect> </property> @@ -3380,31 +3440,18 @@ <number>1</number> </property> <property name="maximum"> - <double>1000.000000000000000</double> + <double>100000.000000000000000</double> + </property> + <property name="value"> + <double>0.000000000000000</double> </property> </widget> - <widget class="QLabel" name="pitch_grLabel"> + <widget class="QDoubleSpinBox" name="pitch_grShow"> <property name="geometry"> <rect> - <x>40</x> - <y>150</y> - <width>121</width> - <height>20</height> - </rect> - </property> - <property name="text"> - <string>Pitch grams/hl:</string> - </property> - <property name="alignment"> - <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> - </property> - </widget> - <widget class="QDoubleSpinBox" name="pitch_grEdit"> - <property name="geometry"> - <rect> - <x>170</x> - <y>150</y> - <width>61</width> + <x>580</x> + <y>120</y> + <width>91</width> <height>24</height> </rect> </property>