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.

35 lines
603 B
C

#ifndef CAMPGRID_H
#define CAMPGRID_H
#include <core.h>
#include "data/camp-data.h"
#include "camp-odb.hxx"
#include "detailwidget.h"
class CampGrid : public GridForm<CampData>
{
public:
CampGrid(QWidget *parent = NULL);
// IGridForm interface
protected:
void handleNewRecord();
void handleEditRecord();
// GridForm interface
protected:
void doDelete(CampDataPtr entity);
private:
void addToVoucher(CampDataPtr data);
DetailWidget *m_detail;
// IGridForm interface
protected:
void currentIndexChanged(const QModelIndex &current);
};
#endif // CAMPGRID_H