Mon, 18 Apr 2022 20:00:49 +0200
Added calcYeast(). Added show svg from calcFermentables() on the yeast tab. Fixed wrong data displayed in the yeast table. Show estimated needed dry yeast or starters.
#ifndef _PRINTERDIALOG_H #define _PRINTERDIALOG_H #include <QDialog> #include <QPrinter> #include <QPainter> enum JobType { PR_SUPPLIES, PR_YEASTBANK }; namespace Ui { class PrinterDialog; } class PrinterDialog : public QDialog { Q_OBJECT public: /** * @brief Construct a new Printer Dialog * @param parent */ explicit PrinterDialog(int job, int rec, QWidget *parent = 0); /** * @brief Destroy the Printer Dialog */ ~PrinterDialog(); public slots: void printDocument(QPrinter *printer); private: int p_job; int p_rec; void printHeader(QPainter *painter); }; #endif