Sun, 20 Aug 2023 11:08:05 +0200
New battery percentage formula for iSpindel.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>EditYeastPack</class> <widget class="QDialog" name="EditYeastPack"> <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="packageLabel"> <property name="geometry"> <rect> <x>115</x> <y>130</y> <width>121</width> <height>20</height> </rect> </property> <property name="text"> <string>Package:</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>115</x> <y>160</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="QLineEdit" name="packageEdit"> <property name="geometry"> <rect> <x>250</x> <y>130</y> <width>511</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> <property name="placeholderText"> <string>Name of the yeast package</string> </property> </widget> <widget class="QPlainTextEdit" name="notesEdit"> <property name="geometry"> <rect> <x>250</x> <y>160</y> <width>511</width> <height>111</height> </rect> </property> <property name="placeholderText"> <string>Notes and usage tips.</string> </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>596</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="QLabel" name="formLabel"> <property name="geometry"> <rect> <x>115</x> <y>70</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>115</x> <y>40</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="QComboBox" name="formEdit"> <property name="geometry"> <rect> <x>250</x> <y>70</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>250</x> <y>40</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="QLabel" name="cellsLabel"> <property name="geometry"> <rect> <x>50</x> <y>280</y> <width>191</width> <height>20</height> </rect> </property> <property name="text"> <string>Billion cells:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QDoubleSpinBox" name="cellsEdit"> <property name="geometry"> <rect> <x>250</x> <y>280</y> <width>121</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>If set this will override the yeast cells setting. Use with great care!</string> </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>500.000000000000000</double> </property> </widget> <widget class="QPushButton" name="cloneButton"> <property name="geometry"> <rect> <x>343</x> <y>510</y> <width>80</width> <height>23</height> </rect> </property> <property name="text"> <string>Clone</string> </property> <property name="icon"> <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> <normaloff>:/icons/silk/disk_multiple.png</normaloff>:/icons/silk/disk_multiple.png</iconset> </property> </widget> <widget class="QLabel" name="viabilityLabel"> <property name="geometry"> <rect> <x>50</x> <y>310</y> <width>191</width> <height>20</height> </rect> </property> <property name="text"> <string>Viability:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QDoubleSpinBox" name="viabilityEdit"> <property name="geometry"> <rect> <x>250</x> <y>310</y> <width>121</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>The viability after one month.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="decimals"> <number>4</number> </property> <property name="maximum"> <double>1.000000000000000</double> </property> <property name="singleStep"> <double>0.001000000000000</double> </property> </widget> <widget class="QLabel" name="sizeLabel"> <property name="geometry"> <rect> <x>50</x> <y>370</y> <width>191</width> <height>20</height> </rect> </property> <property name="text"> <string>Package size:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QDoubleSpinBox" name="sizeEdit"> <property name="geometry"> <rect> <x>250</x> <y>370</y> <width>121</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>The contents size of one package.</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="suffix"> <string> xx</string> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>50000.000000000000000</double> </property> <property name="singleStep"> <double>0.500000000000000</double> </property> </widget> <widget class="QLabel" name="usedLabel"> <property name="geometry"> <rect> <x>480</x> <y>70</y> <width>181</width> <height>20</height> </rect> </property> <property name="text"> <string>Used in yeasts:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QSpinBox" name="usedEdit"> <property name="geometry"> <rect> <x>680</x> <y>70</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="accelerated"> <bool>true</bool> </property> <property name="maximum"> <number>100000</number> </property> </widget> <widget class="QLabel" name="maxLabel"> <property name="geometry"> <rect> <x>50</x> <y>340</y> <width>191</width> <height>20</height> </rect> </property> <property name="text"> <string>Max viability:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QSpinBox" name="maxEdit"> <property name="geometry"> <rect> <x>250</x> <y>340</y> <width>121</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>For most 100% is good, some liquid yeast start at 97%</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> <property name="accelerated"> <bool>true</bool> </property> <property name="suffix"> <string> %</string> </property> <property name="minimum"> <number>80</number> </property> <property name="maximum"> <number>100</number> </property> <property name="value"> <number>100</number> </property> </widget> <widget class="QDoubleSpinBox" name="resultEdit"> <property name="geometry"> <rect> <x>680</x> <y>340</y> <width>81</width> <height>24</height> </rect> </property> <property name="toolTip"> <string>The yeast health after six months since production. This is a calculated from the Viability and Max values.</string> </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>true</bool> </property> <property name="suffix"> <string> %</string> </property> <property name="decimals"> <number>1</number> </property> <property name="maximum"> <double>100.000000000000000</double> </property> </widget> <widget class="QLabel" name="resultLabel"> <property name="geometry"> <rect> <x>480</x> <y>340</y> <width>181</width> <height>20</height> </rect> </property> <property name="text"> <string>6 months health:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </widget> </item> </layout> </widget> <tabstops> <tabstop>packageEdit</tabstop> <tabstop>notesEdit</tabstop> <tabstop>quitButton</tabstop> <tabstop>deleteButton</tabstop> <tabstop>saveButton</tabstop> </tabstops> <resources> <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/> </resources> <connections/> </ui>