src/ChartFermenter.h

Fri, 20 Jan 2023 16:44:08 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 20 Jan 2023 16:44:08 +0100
changeset 467
c5f6f3f1b714
parent 371
d03a426e0b6b
permissions
-rw-r--r--

Added more buttons to the images tab. Load images from the database and display thumbnails added. Added support for jpeg files. Rename pictures in the database to .png. Added temporary images_list, images_count and images_current variables to the product record.

#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