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.
#ifndef _PRODINPROD_H #define _PRODINPROD_H #include <QDialog> #include <QtWidgets/QGridLayout> #include <QtWidgets/QGroupBox> #include <QtWidgets/QHBoxLayout> #include <QtWidgets/QHeaderView> #include <QtWidgets/QPushButton> #include <QtWidgets/QTableWidget> namespace Ui { class ProdInprod; } class ProdInprod : public QDialog { Q_OBJECT public: explicit ProdInprod(QWidget *parent = nullptr); ~ProdInprod(); signals: void setStatus(QString); private slots: void on_editButton_clicked(); void on_insertButton_clicked(); void refreshTable(void); private: QGridLayout *gridLayout; QTableWidget *tableInprod; QGroupBox *groupBox; QHBoxLayout *horizontalLayout; QPushButton *quitButton; QPushButton *insertButton; void edit(int recno); }; #endif