src/ChartiSpindel.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 438
e06b04ef1579
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 _CHARTISPINDEL_H
#define _CHARTISPINDEL_H

#include "MainWindow.h"

#include <QDialog>
#include <QDialogButtonBox>

class Callout;

namespace Ui {
class ChartiSpindel;
}

class ChartiSpindel : public QDialog
{
    Q_OBJECT

private slots:
    void savePNG();

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

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

private:
    QChartView *chartView;
    QChart *chart;
    Callout *t_tooltip = 0;
    QLineSeries *temperature, *density, *battery;
};

#endif

mercurial