Fri, 20 Jan 2023 16:44:08 +0100
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.
387 | 1 | #ifndef _IMPORTBREW_H |
2 | #define _IMPORTBREW_H | |
3 | ||
4 | #include <QDialog> | |
5 | #include <QJsonDocument> | |
6 | ||
7 | namespace Ui { | |
8 | class ImportBrew; | |
9 | } | |
10 | ||
11 | class ImportBrew : public QDialog | |
12 | { | |
13 | Q_OBJECT | |
14 | ||
15 | public: | |
16 | explicit ImportBrew(QWidget *parent = 0); | |
17 | ~ImportBrew(); | |
18 | ||
19 | private slots: | |
20 | void on_openButton_clicked(); | |
21 | ||
22 | private: | |
23 | Ui::ImportBrew *ui; | |
24 | ||
25 | void WindowTitle(); | |
26 | }; | |
27 | ||
28 | #endif |