src/InventoryYeastPacks.h

Thu, 12 Oct 2023 17:03:50 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 12 Oct 2023 17:03:50 +0200
changeset 502
0f15edebc665
parent 480
94b3def5d778
permissions
-rw-r--r--

Changes in de iSpindel detail screen. Added a calibrate button and display the last update date and time.

#ifndef _INVENTORYYEASTPACKS_H
#define _INVENTORYYEASTPACKS_H

#include <QDialog>
#include <QtWidgets/QGridLayout>
#include <QtWidgets/QGroupBox>
#include <QtWidgets/QHBoxLayout>
#include <QtWidgets/QHeaderView>
#include <QtWidgets/QPushButton>
#include <QtWidgets/QTableWidget>

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

mercurial