src/ChartCarbonate.h

Fri, 18 Nov 2022 16:57:02 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 18 Nov 2022 16:57:02 +0100
changeset 443
3c195eb4e7a1
parent 371
d03a426e0b6b
permissions
-rw-r--r--

Details CO2 monitor shows the style limits for the specific beer. Adjust the scale of the pressure widget to the beer limits. Moved more functions to the global Utils. Fix expected pressure in the package screen for other priming sugars. Disabled some debug log messages.

#ifndef _CHARTCARBONATE_H
#define _CHARTCARBONATE_H

#include "MainWindow.h"

#include <QDialog>
#include <QDialogButtonBox>

class Callout;

namespace Ui {
class ChartCarbonate;
}

class ChartCarbonate : public QDialog
{
    Q_OBJECT

private slots:
    void savePNG();

public slots:
    void tooltip(QPointF point, bool state);

public:
    explicit ChartCarbonate(QString code, QString name, QWidget *parent = 0);
    ~ChartCarbonate();

private:
    QChartView *chartView;
    QChart *chart;
    Callout *t_tooltip = 0;
    QSplineSeries *temperature, *pressure;
};

#endif

mercurial