--- a/src/ProfileFerments.h Sun Mar 20 21:24:13 2022 +0100 +++ b/src/ProfileFerments.h Sun Mar 20 21:39:06 2022 +0100 @@ -2,6 +2,12 @@ #define _PROFILEFERMENT_H #include <QDialog> +#include <QtWidgets/QGridLayout> +#include <QtWidgets/QGroupBox> +#include <QtWidgets/QHBoxLayout> +#include <QtWidgets/QHeaderView> +#include <QtWidgets/QPushButton> +#include <QtWidgets/QTableWidget> namespace Ui { class ProfileFerments; @@ -15,17 +21,19 @@ explicit ProfileFerments(QWidget *parent = nullptr); ~ProfileFerments(); -signals: - void firstWindow(); - private slots: - void on_quitButton_clicked(); void on_insertButton_clicked(); void on_editButton_clicked(); void refreshTable(void); private: - Ui::ProfileFerments *ui; + QGridLayout *gridLayout; + QTableWidget *tableFerments; + QGroupBox *groupBox; + QHBoxLayout *horizontalLayout; + QPushButton *quitButton; + QPushButton *insertButton; + void edit(int recno); };