src/MoniSpindels.h

Mon, 24 Oct 2022 15:25:50 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 24 Oct 2022 15:25:50 +0200
changeset 419
d49f38cc76a0
parent 329
b57299738980
child 503
61c114afb0ee
permissions
-rw-r--r--

The equipment editor uses named fields for database io. Edit field 'trub chiller loss' is now called 'trub loss', but will be renamed again. Removed editing hop_utilization, lauter_volume and lauter_height. These fields were never used in the application. Not yet removed from the database. Added chiller_type, chiller_to79, chiller_volume, chiller_lpm and chiller_loss fields so that we can tie a chiller to the equipment setup. Renamed some chiller names.

#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 refreshTable(void);

public slots:
    void refreshiSpindels(QString);

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

    void edit(int recno);
};

#endif

mercurial