Tue, 17 May 2022 16:57:48 +0200
Added the brew end date and time settings. Added a confirm button the is only displayed if everything is ready for the next step. This check includes that the end of the brew is at least two hours after the start. This completes the brewday tab page.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>EditYeast</class> <widget class="QDialog" name="EditYeast"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1024</width> <height>560</height> </rect> </property> <property name="windowTitle"> <string>Dialog</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QWidget" name="topWidget" native="true"> <widget class="QLabel" name="nameLabel"> <property name="geometry"> <rect> <x>5</x> <y>10</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Name:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="notesLabel"> <property name="geometry"> <rect> <x>5</x> <y>70</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Notes:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="inventoryLabel"> <property name="geometry"> <rect> <x>5</x> <y>430</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Inventory:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="costLabel"> <property name="geometry"> <rect> <x>5</x> <y>460</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Cost per Kg:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="valueLabel"> <property name="geometry"> <rect> <x>280</x> <y>460</y> <width>161</width> <height>20</height> </rect> </property> <property name="text"> <string>Total value:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="prodLabel"> <property name="geometry"> <rect> <x>660</x> <y>430</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Production date:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="thtLabel"> <property name="geometry"> <rect> <x>660</x> <y>460</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Best before date:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="nameEdit"> <property name="geometry"> <rect> <x>140</x> <y>10</y> <width>791</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> <property name="placeholderText"> <string>Name of the yeast</string> </property> </widget> <widget class="QPlainTextEdit" name="notesEdit"> <property name="geometry"> <rect> <x>140</x> <y>70</y> <width>791</width> <height>81</height> </rect> </property> <property name="placeholderText"> <string>Notes and usage tips.</string> </property> </widget> <widget class="QDoubleSpinBox" name="inventoryEdit"> <property name="geometry"> <rect> <x>140</x> <y>430</y> <width>121</width> <height>24</height> </rect> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="readOnly"> <bool>false</bool> </property> <property name="buttonSymbols"> <enum>QAbstractSpinBox::UpDownArrows</enum> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>3</number> </property> <property name="maximum"> <double>100000.000000000000000</double> </property> <property name="singleStep"> <double>0.001000000000000</double> </property> <property name="stepType"> <enum>QAbstractSpinBox::DefaultStepType</enum> </property> </widget> <widget class="QDoubleSpinBox" name="costEdit"> <property name="geometry"> <rect> <x>140</x> <y>460</y> <width>121</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>1000.000000000000000</double> </property> <property name="singleStep"> <double>0.010000000000000</double> </property> <property name="stepType"> <enum>QAbstractSpinBox::DefaultStepType</enum> </property> </widget> <widget class="NullDateEdit" name="prodEdit" native="true"> <property name="geometry"> <rect> <x>810</x> <y>430</y> <width>121</width> <height>24</height> </rect> </property> <property name="dateTime" stdset="0"> <datetime> <hour>0</hour> <minute>0</minute> <second>0</second> <year>2000</year> <month>1</month> <day>1</day> </datetime> </property> <property name="displayFormat" stdset="0"> <string>yyyy-MM-dd</string> </property> <property name="calendarPopup" stdset="0"> <bool>true</bool> </property> </widget> <widget class="NullDateEdit" name="thtEdit" native="true"> <property name="geometry"> <rect> <x>810</x> <y>460</y> <width>121</width> <height>24</height> </rect> </property> <property name="displayFormat" stdset="0"> <string>yyyy-MM-dd</string> </property> <property name="calendarPopup" stdset="0"> <bool>true</bool> </property> </widget> <widget class="QPushButton" name="quitButton"> <property name="geometry"> <rect> <x>90</x> <y>510</y> <width>80</width> <height>23</height> </rect> </property> <property name="sizePolicy"> <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string>Quit</string> </property> <property name="icon"> <iconset> <normaloff>:icons/silk/door_out.png</normaloff>:icons/silk/door_out.png</iconset> </property> </widget> <widget class="QPushButton" name="saveButton"> <property name="enabled"> <bool>false</bool> </property> <property name="geometry"> <rect> <x>850</x> <y>510</y> <width>80</width> <height>23</height> </rect> </property> <property name="text"> <string>Save</string> </property> <property name="icon"> <iconset> <normaloff>:icons/silk/disk.png</normaloff>:icons/silk/disk.png</iconset> </property> </widget> <widget class="QPushButton" name="deleteButton"> <property name="enabled"> <bool>false</bool> </property> <property name="geometry"> <rect> <x>463</x> <y>510</y> <width>80</width> <height>23</height> </rect> </property> <property name="text"> <string>Delete</string> </property> <property name="icon"> <iconset> <normaloff>:icons/silk/delete.png</normaloff>:icons/silk/delete.png</iconset> </property> </widget> <widget class="QDoubleSpinBox" name="valueEdit"> <property name="geometry"> <rect> <x>450</x> <y>460</y> <width>107</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="QLabel" name="productidLabel"> <property name="geometry"> <rect> <x>5</x> <y>40</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Product id:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="productidEdit"> <property name="geometry"> <rect> <x>140</x> <y>40</y> <width>271</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> <property name="placeholderText"> <string>Product number, name or code</string> </property> </widget> <widget class="QLabel" name="typeLabel"> <property name="geometry"> <rect> <x>5</x> <y>160</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Type:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="formLabel"> <property name="geometry"> <rect> <x>5</x> <y>190</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Form:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="laboratoryLabel"> <property name="geometry"> <rect> <x>5</x> <y>220</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Laboratory:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="bestforLabel"> <property name="geometry"> <rect> <x>5</x> <y>250</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Best for:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="yeastbankLabel"> <property name="geometry"> <rect> <x>5</x> <y>310</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Yeast bank:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="pofLabel"> <property name="geometry"> <rect> <x>5</x> <y>340</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>POF+:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="sta1Label"> <property name="geometry"> <rect> <x>5</x> <y>370</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>STA1 (diastatic):</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QComboBox" name="typeEdit"> <property name="geometry"> <rect> <x>140</x> <y>160</y> <width>121</width> <height>23</height> </rect> </property> <property name="iconSize"> <size> <width>0</width> <height>0</height> </size> </property> </widget> <widget class="QComboBox" name="formEdit"> <property name="geometry"> <rect> <x>140</x> <y>190</y> <width>121</width> <height>23</height> </rect> </property> <property name="iconSize"> <size> <width>0</width> <height>0</height> </size> </property> </widget> <widget class="QLineEdit" name="laboratoryEdit"> <property name="geometry"> <rect> <x>140</x> <y>220</y> <width>511</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> <property name="placeholderText"> <string>Yeast laboratory</string> </property> </widget> <widget class="QLineEdit" name="yeastbankEdit"> <property name="geometry"> <rect> <x>140</x> <y>310</y> <width>511</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> <property name="placeholderText"> <string>Yeast bank remark</string> </property> </widget> <widget class="QPlainTextEdit" name="bestforEdit"> <property name="geometry"> <rect> <x>140</x> <y>250</y> <width>511</width> <height>51</height> </rect> </property> <property name="placeholderText"> <string>Best used in these style of beers</string> </property> </widget> <widget class="QCheckBox" name="pofEdit"> <property name="geometry"> <rect> <x>140</x> <y>340</y> <width>85</width> <height>21</height> </rect> </property> <property name="text"> <string>Yes</string> </property> </widget> <widget class="QCheckBox" name="sta1Edit"> <property name="geometry"> <rect> <x>140</x> <y>370</y> <width>85</width> <height>21</height> </rect> </property> <property name="text"> <string>Yes</string> </property> </widget> <widget class="QDoubleSpinBox" name="temploEdit"> <property name="geometry"> <rect> <x>810</x> <y>160</y> <width>121</width> <height>24</height> </rect> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>45.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QLabel" name="temploLabel"> <property name="geometry"> <rect> <x>660</x> <y>160</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Min. temperature °C:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="temphiLabel"> <property name="geometry"> <rect> <x>660</x> <y>190</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Max. temperature °C:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="attLabel"> <property name="geometry"> <rect> <x>660</x> <y>220</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Attenuatiom %:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="toleranceLable"> <property name="geometry"> <rect> <x>660</x> <y>250</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Alcohol tolerance %:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="flocLabel"> <property name="geometry"> <rect> <x>660</x> <y>280</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Flocculation:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="cellsLabel"> <property name="geometry"> <rect> <x>660</x> <y>310</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Billion cells/gram:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="reuseLabel"> <property name="geometry"> <rect> <x>660</x> <y>340</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Max. reuse:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="pitchtempLabel"> <property name="geometry"> <rect> <x>660</x> <y>370</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Pitch temperature °C:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="harvesttimeLabel"> <property name="geometry"> <rect> <x>660</x> <y>400</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Harvest time:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QDoubleSpinBox" name="temphiEdit"> <property name="geometry"> <rect> <x>810</x> <y>190</y> <width>121</width> <height>24</height> </rect> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>45.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="attEdit"> <property name="geometry"> <rect> <x>810</x> <y>220</y> <width>121</width> <height>24</height> </rect> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>1</number> </property> <property name="minimum"> <double>50.000000000000000</double> </property> <property name="maximum"> <double>100.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="toleranceEdit"> <property name="geometry"> <rect> <x>810</x> <y>250</y> <width>121</width> <height>24</height> </rect> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>25.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="cellsEdit"> <property name="geometry"> <rect> <x>810</x> <y>310</y> <width>121</width> <height>24</height> </rect> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>500.000000000000000</double> </property> </widget> <widget class="QSpinBox" name="reuseEdit"> <property name="geometry"> <rect> <x>810</x> <y>340</y> <width>121</width> <height>24</height> </rect> </property> <property name="maximum"> <number>25</number> </property> </widget> <widget class="QDoubleSpinBox" name="pitchtempEdit"> <property name="geometry"> <rect> <x>810</x> <y>370</y> <width>121</width> <height>24</height> </rect> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>45.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QSpinBox" name="harvesttimeEdit"> <property name="geometry"> <rect> <x>810</x> <y>400</y> <width>121</width> <height>24</height> </rect> </property> <property name="accelerated"> <bool>true</bool> </property> </widget> <widget class="QComboBox" name="flocEdit"> <property name="geometry"> <rect> <x>810</x> <y>280</y> <width>121</width> <height>23</height> </rect> </property> <property name="iconSize"> <size> <width>0</width> <height>0</height> </size> </property> </widget> <widget class="QSpinBox" name="grhlloEdit"> <property name="geometry"> <rect> <x>500</x> <y>160</y> <width>51</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>grams / 100 litres</string> </property> <property name="minimum"> <number>2</number> </property> <property name="maximum"> <number>400</number> </property> </widget> <widget class="QSpinBox" name="grhlhiEdit"> <property name="geometry"> <rect> <x>500</x> <y>190</y> <width>51</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>grams / 100 litres</string> </property> <property name="minimum"> <number>4</number> </property> <property name="maximum"> <number>400</number> </property> </widget> <widget class="QDoubleSpinBox" name="sgloEdit"> <property name="geometry"> <rect> <x>580</x> <y>160</y> <width>71</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>at this gravity</string> </property> <property name="decimals"> <number>3</number> </property> <property name="minimum"> <double>1.020000000000000</double> </property> <property name="maximum"> <double>1.100000000000000</double> </property> <property name="singleStep"> <double>0.005000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="sghiEdit"> <property name="geometry"> <rect> <x>580</x> <y>190</y> <width>71</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>at this gravity</string> </property> <property name="decimals"> <number>3</number> </property> <property name="minimum"> <double>1.020000000000000</double> </property> <property name="maximum"> <double>1.100000000000000</double> </property> <property name="singleStep"> <double>0.005000000000000</double> </property> </widget> <widget class="QLabel" name="pitchloLabel"> <property name="geometry"> <rect> <x>350</x> <y>160</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Pitch from gr/hl:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="pitchhiLabel"> <property name="geometry"> <rect> <x>350</x> <y>190</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Pitch upto gr/hl:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLabel" name="bacteriaLabel"> <property name="geometry"> <rect> <x>5</x> <y>400</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Bacteria:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QCheckBox" name="bacteriaEdit"> <property name="geometry"> <rect> <x>140</x> <y>400</y> <width>85</width> <height>21</height> </rect> </property> <property name="text"> <string>Yes</string> </property> </widget> <widget class="QLabel" name="harvesttopLabel"> <property name="geometry"> <rect> <x>300</x> <y>400</y> <width>141</width> <height>20</height> </rect> </property> <property name="text"> <string>Harvest top:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QCheckBox" name="harvesttopEdit"> <property name="geometry"> <rect> <x>450</x> <y>400</y> <width>85</width> <height>21</height> </rect> </property> <property name="text"> <string>Yes</string> </property> </widget> <widget class="QLabel" name="at1"> <property name="geometry"> <rect> <x>555</x> <y>160</y> <width>20</width> <height>20</height> </rect> </property> <property name="text"> <string>@</string> </property> </widget> <widget class="QLabel" name="at2"> <property name="geometry"> <rect> <x>555</x> <y>190</y> <width>20</width> <height>20</height> </rect> </property> <property name="text"> <string>@</string> </property> </widget> </widget> </item> </layout> </widget> <customwidgets> <customwidget> <class>NullDateEdit</class> <extends>QWidget</extends> <header>NullDateEdit.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>nameEdit</tabstop> <tabstop>notesEdit</tabstop> <tabstop>inventoryEdit</tabstop> <tabstop>costEdit</tabstop> <tabstop>prodEdit</tabstop> <tabstop>thtEdit</tabstop> <tabstop>quitButton</tabstop> <tabstop>deleteButton</tabstop> <tabstop>saveButton</tabstop> <tabstop>valueEdit</tabstop> </tabstops> <resources> <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/> </resources> <connections/> </ui>