src/ChartFermenter.h

Sun, 29 Jan 2023 14:40:43 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 29 Jan 2023 14:40:43 +0100
changeset 479
28f0e43e9f08
parent 371
d03a426e0b6b
permissions
-rw-r--r--

Version 0.4.0. Added database upgrade procedure on startup. Make sure inventory_yeastpack database is created and has default entries. This will become a table with data for different yeast packs.

#ifndef _CHARTFERMENTER_H
#define _CHARTFERMENTER_H

#include "MainWindow.h"

#include <QDialog>
#include <QDialogButtonBox>

class Callout;

namespace Ui {
class ChartFermenter;
}

class ChartFermenter : public QDialog
{
    Q_OBJECT

private slots:
    void savePNG();

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

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

private:
    QChartView *chartView;
    QChart *chart;
    Callout *t_tooltip = 0;
};

#endif

mercurial