Sat, 11 Feb 2023 15:48:02 +0100
Monitor iSpindels: use global variables instead of repeated expensive MySQL calls. Use the yeast temperature ranges for the colors on the thermometer scale. Don't show SVG and ABV if the OG is not yet known. Turn statusfield red if offline. Extra mon_ispindles fields yeast_lo and yeast_hi. Need at least bmsd version 0.3.42. If a websocket message is received that cannot be parsed, show the whole received message.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>ImportXML</class> <widget class="QDialog" name="ImportXML"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>1280</width> <height>640</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="fileLabel"> <property name="geometry"> <rect> <x>200</x> <y>20</y> <width>91</width> <height>20</height> </rect> </property> <property name="text"> <string>XML file:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> <widget class="QLineEdit" name="fileEdit"> <property name="geometry"> <rect> <x>310</x> <y>20</y> <width>661</width> <height>23</height> </rect> </property> <property name="maxLength"> <number>128</number> </property> </widget> <widget class="QPushButton" name="quitButton"> <property name="geometry"> <rect> <x>600</x> <y>540</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="openButton"> <property name="enabled"> <bool>true</bool> </property> <property name="geometry"> <rect> <x>1000</x> <y>20</y> <width>80</width> <height>23</height> </rect> </property> <property name="text"> <string>Open</string> </property> <property name="icon"> <iconset resource="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"> <normaloff>:/icons/silk/application_form_add.png</normaloff>:/icons/silk/application_form_add.png</iconset> </property> </widget> <widget class="QGroupBox" name="groupBox"> <property name="geometry"> <rect> <x>200</x> <y>80</y> <width>881</width> <height>431</height> </rect> </property> <property name="title"> <string>Results</string> </property> <widget class="QPlainTextEdit" name="logEdit"> <property name="geometry"> <rect> <x>30</x> <y>90</y> <width>821</width> <height>311</height> </rect> </property> <property name="font"> <font> <family>Courier 10 Pitch</family> </font> </property> </widget> <widget class="QProgressBar" name="progressBar"> <property name="geometry"> <rect> <x>30</x> <y>40</y> <width>821</width> <height>23</height> </rect> </property> <property name="value"> <number>24</number> </property> </widget> </widget> </widget> </item> </layout> </widget> <tabstops> <tabstop>fileEdit</tabstop> <tabstop>quitButton</tabstop> <tabstop>openButton</tabstop> </tabstops> <resources> <include location="../../../../../../home/mbroek/MyProjects/bmsapp/resources/icons.qrc"/> </resources> <connections/> </ui>