You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
506 B
C++
29 lines
506 B
C++
#ifndef DETAILWIDGET_H
|
|
#define DETAILWIDGET_H
|
|
|
|
#include <QWidget>
|
|
#include <autotablemodel.h>
|
|
#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<AddressItem> *m_peopleModel;
|
|
AutoTableModel<ServiceItem> *m_servicesModel;
|
|
};
|
|
|
|
#endif // DETAILWIDGET_H
|