src/MoniSpindels.h

Sat, 08 Jun 2024 15:54:30 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 08 Jun 2024 15:54:30 +0200
changeset 527
84091b9cb800
parent 503
61c114afb0ee
permissions
-rw-r--r--

Version 0.4.6a1. Added HLT equipment volume and deadspace settings. In EditProduct the target water selection is now sticky. Changed the water treatment tab. Added a row wich displays the salt adjustments. This can be selected between actual and target values. The treated water show can select between mash or sparge water. The total line will become the final water in the boil kettle. Database update function is expanded with the new settings. Added a popup message warning that the database is upgraded and user action is required for the equipment profiles.

#ifndef _MONISPINDELS_H
#define _MONISPINDELS_H

#include <QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTableWidget>

namespace Ui {
class MoniSpindels;
}

class MoniSpindels : public QDialog
{
    Q_OBJECT

public:
    explicit MoniSpindels(QWidget *parent = nullptr);
    ~MoniSpindels();

signals:
    void setStatus(QString);
    void updateiSpindel(QString);

private slots:
    void on_editButton_clicked();
    void on_calButton_clicked();
    void refreshTable(void);

public slots:
    void refreshiSpindels(QString);

private:
    QGridLayout *gridLayout;
    QTableWidget *tableiSpindels;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout;
    QPushButton *quitButton;

    void edit(int recno);
    void cal(int recno);
};

#endif

mercurial