src/DetailCO2meter.h

Sat, 28 Jan 2023 10:36:59 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 28 Jan 2023 10:36:59 +0100
changeset 478
a3653722b0d6
parent 332
146874d7bb47
child 491
76f3a96e82b5
permissions
-rw-r--r--

Add dry primary yeasts weights to get a mixed total. Use the parameters from the first and mmost used yeast. Changed in products and recipes. Recalculated WLP purepitch viability and planned next generation purepitch. We need a better way to set these parameters like a packages table. Fixed several yeast edit values due to adding a STA1 column. Removed several unneeded refresh_all() calls as they screwed the sorting of the yeasts during edit. Added STA1 display to recipes. Changed products database starter_viability from integer to float.

#ifndef _DETAILCO2METER_H
#define _DETAILCO2METER_H

#include <QDialog>
#include <QDoubleSpinBox>
#include <QCheckBox>
#include <QComboBox>
#include <QRadioButton>
#include <QLineEdit>
#include <QDialogButtonBox>


namespace Ui {
class DetailCO2meter;
}

class DetailCO2meter : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

public:
    explicit DetailCO2meter(int id, QWidget *parent = 0);
    ~DetailCO2meter();

private slots:
    void on_quitButton_clicked();
    void refreshTable(void);
    void code_changed(int val);
    void on_ChartButton_clicked();

public slots:
    void refreshCO2meter(QString);

private:
    Ui::DetailCO2meter *ui;
    QString _node, _alias, _uuid, _beercode, _beername;
    int recno;
};

#endif

mercurial