src/DetailNode.h

Thu, 18 Aug 2022 16:11:20 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 18 Aug 2022 16:11:20 +0200
changeset 397
877420a13815
parent 346
792058058c2f
permissions
-rw-r--r--

Edit Product, split CO2 package pressure in bottles and kegs. BU:RE code cleanup. calcPack() sets the CO2 values on the first tab. Show final EBC on tab 1 if the stage is after brew. Show final ABV and energy on tab 1 if fermentation is done. Removed wrong bottle priming calculation from calcFermentables() because calcPack() does this.

#ifndef _DETAILNODE_H
#define _DETAILNODE_H

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


namespace Ui {
class DetailNode;
}

class DetailNode : public QDialog
{
    Q_OBJECT

signals:
    void entry_changed();

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

private slots:
    void on_quitButton_clicked();
    void refreshTable(void);
    void control_reboot();
    void control_rebirth();

public slots:
    void refreshNode(QString);

private:
    Ui::DetailNode *ui;
    QString _node, _group_id, _uuid;
    int recno;
};

#endif

mercurial