diff -r 28f0e43e9f08 -r 94b3def5d778 src/InventoryYeastPacks.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/InventoryYeastPacks.h Mon Jan 30 17:05:13 2023 +0100 @@ -0,0 +1,45 @@ +#ifndef _INVENTORYYEASTPACKS_H +#define _INVENTORYYEASTPACKS_H + +#include +#include +#include +#include +#include +#include +#include + +namespace Ui { +class InventoryYeastPacks; +} + +class InventoryYeastPacks : public QDialog +{ + Q_OBJECT + +public: + explicit InventoryYeastPacks(QWidget *parent = nullptr); + ~InventoryYeastPacks(); + +signals: + void setStatus(QString); + +private slots: + void on_insertButton_clicked(); + void on_editButton_clicked(); + void on_exportButton_clicked(); + void refreshTable(void); + +private: + QGridLayout *gridLayout; + QTableWidget *tableYeastPacks; + QGroupBox *groupBox; + QHBoxLayout *horizontalLayout; + QPushButton *quitButton; + QPushButton *exportButton; + QPushButton *insertButton; + + void edit(int recno); +}; + +#endif