src/ProfileMashs.h

Mon, 11 Apr 2022 16:18:40 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Mon, 11 Apr 2022 16:18:40 +0200
changeset 126
3c013ef88a00
parent 79
e726db72da3c
permissions
-rw-r--r--

Added hop rows sorting. Added hop amount edit, hop time changed, hop select changed, hop instock change and hop use at changed. Added generic on hop editrow editor.

#ifndef _PROFILEMASHS_H
#define _PROFILEMASHS_H

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

namespace Ui {
class ProfileMashs;
}

class ProfileMashs : public QDialog
{
    Q_OBJECT

public:
    explicit ProfileMashs(QWidget *parent = nullptr);
    ~ProfileMashs();

signals:
    void setStatus(QString);

private slots:
    void on_insertButton_clicked();
    void on_editButton_clicked();
    void refreshTable(void);

private:
    QGridLayout *gridLayout;
    QTableWidget *tableMashs;
    QGroupBox *groupBox;
    QHBoxLayout *horizontalLayout;
    QPushButton *quitButton;
    QPushButton *insertButton;

    void edit(int recno);
};

#endif

mercurial