--- a/ui/EditProduct.ui Sat Apr 30 20:36:30 2022 +0200 +++ b/ui/EditProduct.ui Sun May 01 10:31:31 2022 +0200 @@ -95,7 +95,7 @@ <enum>QTabWidget::Rounded</enum> </property> <property name="currentIndex"> - <number>0</number> + <number>8</number> </property> <property name="elideMode"> <enum>Qt::ElideNone</enum> @@ -5937,6 +5937,272 @@ <attribute name="title"> <string>Brewday</string> </attribute> + <widget class="QLabel" name="brew_startLabel"> + <property name="geometry"> + <rect> + <x>0</x> + <y>10</y> + <width>131</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Brewday start:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="brew_endLabel"> + <property name="geometry"> + <rect> + <x>570</x> + <y>10</y> + <width>131</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Brewday end:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLineEdit" name="brew_startEdit"> + <property name="geometry"> + <rect> + <x>140</x> + <y>10</y> + <width>141</width> + <height>23</height> + </rect> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + <widget class="QLineEdit" name="brew_endEdit"> + <property name="geometry"> + <rect> + <x>710</x> + <y>10</y> + <width>141</width> + <height>23</height> + </rect> + </property> + <property name="readOnly"> + <bool>true</bool> + </property> + </widget> + <widget class="QToolButton" name="brew_startButton"> + <property name="geometry"> + <rect> + <x>290</x> + <y>10</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/clock_edit.png</normaloff>:/icons/silk/clock_edit.png</iconset> + </property> + </widget> + <widget class="QToolButton" name="brew_endButton"> + <property name="geometry"> + <rect> + <x>860</x> + <y>10</y> + <width>28</width> + <height>22</height> + </rect> + </property> + <property name="text"> + <string>...</string> + </property> + <property name="icon"> + <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> + <normaloff>:/icons/silk/clock_edit.png</normaloff>:/icons/silk/clock_edit.png</iconset> + </property> + </widget> + <widget class="QGroupBox" name="brew_mashBox"> + <property name="geometry"> + <rect> + <x>0</x> + <y>40</y> + <width>321</width> + <height>121</height> + </rect> + </property> + <property name="title"> + <string>Mashing</string> + </property> + <widget class="QLabel" name="brew_mashphLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>20</y> + <width>121</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Mash pH:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QDoubleSpinBox" name="brew_mashphEdit"> + <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="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_mashphShow"> + <property name="geometry"> + <rect> + <x>230</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> + </widget> + <widget class="QDoubleSpinBox" name="brew_mashsgEdit"> + <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="decimals"> + <number>3</number> + </property> + <property name="singleStep"> + <double>0.001000000000000</double> + </property> + </widget> + <widget class="QDoubleSpinBox" name="brew_mashsgShow"> + <property name="geometry"> + <rect> + <x>230</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="decimals"> + <number>3</number> + </property> + </widget> + <widget class="QDoubleSpinBox" name="brew_masheffShow"> + <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="readOnly"> + <bool>true</bool> + </property> + <property name="buttonSymbols"> + <enum>QAbstractSpinBox::NoButtons</enum> + </property> + <property name="suffix"> + <string> %</string> + </property> + <property name="decimals"> + <number>1</number> + </property> + <property name="maximum"> + <double>200.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="brew_mashsgLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>50</y> + <width>121</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Mash SG:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + <widget class="QLabel" name="brew_masheffLabel"> + <property name="geometry"> + <rect> + <x>10</x> + <y>80</y> + <width>121</width> + <height>20</height> + </rect> + </property> + <property name="text"> + <string>Efficiency:</string> + </property> + <property name="alignment"> + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + </widget> + </widget> </widget> <widget class="QWidget" name="ferment"> <attribute name="icon">