#ifndef CAMPSETTINGSFORM_H #define CAMPSETTINGSFORM_H #include #include #include "campsettings.h" #include "../data/camp-data.h" #include #include namespace Ui { class CampSettingsForm; } class CampSettingsForm : public FormBinder { Q_OBJECT public: explicit CampSettingsForm(QWidget *parent = nullptr); ~CampSettingsForm() override; // IForm interface public slots: bool saveRecord() override; // IForm interface public: void loadEntity() override; private slots: void on_btnPriceAdd_clicked(); void on_btnSaleAdd_clicked(); void on_btnPriceRemove_clicked(); void on_btnPriceDisable_clicked(); void on_btnPriceFilter_clicked(); void on_btnSaleRemove_clicked(); private: Ui::CampSettingsForm *ui; AutoTableModel *m_personPriceModel; AutoTableModel *m_saleModel; }; #endif // CAMPSETTINGSFORM_H