diff -r 86a3277a7317 -r 3a6cba2dd05d src/Setup.h --- a/src/Setup.h Sun Mar 20 21:39:06 2022 +0100 +++ b/src/Setup.h Mon Mar 21 11:44:51 2022 +0100 @@ -3,6 +3,18 @@ #include #include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include QT_BEGIN_NAMESPACE class QLabel; @@ -23,6 +35,7 @@ signals: void firstWindow(); + void setTitle(QString); private slots: void on_openButton_clicked(); @@ -31,9 +44,42 @@ void is_changed(); private: - Ui::Setup *ui; QByteArray logoByteArray; QImage image; + QLabel *logoLabel; + QLabel *breweryLabel; + QLabel *fwhLabel; + QLabel *mashhopLabel; + QLabel *pelletLabel; + QLabel *hopplugLabel; + QLabel *wethopLabel; + QLabel *cryohopLabel; + QLabel *grainLabel; + QLabel *brixLabel; + QLabel *titleLabel; + QLabel *colorLabel; + QLabel *ibuLabel; + QLabel *waterLabel; + QLabel *yeastLabel; + + QLineEdit *breweryEdit; + + QSpinBox *fwhEdit; + QSpinBox *mashhopEdit; + QSpinBox *pelletEdit; + QSpinBox *hopplugEdit; + QSpinBox *wethopEdit; + QSpinBox *cryohopEdit; + QComboBox *waterEdit; + QDoubleSpinBox *grainEdit; + QDoubleSpinBox *brixEdit; + QComboBox *colorEdit; + QComboBox *ibuEdit; + QComboBox *yeastEdit; + QPushButton *quitButton; + QPushButton *saveButton; + QPushButton *openButton; + double scaleFactor = 1; void setImage(const QImage &newImage);