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
497 B
C
29 lines
497 B
C
8 years ago
|
#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 = 0);
|
||
|
~DetailWidget();
|
||
|
|
||
|
void setData(const CampDataPtr &data);
|
||
|
|
||
|
private:
|
||
|
Ui::DetailWidget *ui;
|
||
|
AutoTableModel<AddressItem> *m_peopleModel;
|
||
|
AutoTableModel<ServiceItem> *m_servicesModel;
|
||
|
};
|
||
|
|
||
|
#endif // DETAILWIDGET_H
|