#ifndef DETAILWIDGET_H #define DETAILWIDGET_H #include #include #include "data/camp-data.h" namespace Ui { class DetailWidget; } class DetailWidget : public QWidget { Q_OBJECT public: explicit DetailWidget(QWidget *parent = nullptr); ~DetailWidget() override; void setData(CampDataPtr &data); private: Ui::DetailWidget *ui; AutoTableModel *m_peopleModel; AutoTableModel *m_servicesModel; }; #endif // DETAILWIDGET_H