Added wizard for camp records.

This commit is contained in:
2017-05-13 21:57:11 +02:00
parent cd4d58749a
commit 123aefdab5
6 changed files with 807 additions and 3 deletions
+14
View File
@@ -1,6 +1,20 @@
#include "campgrid.h"
#include "campwizard.h"
CampGrid::CampGrid(QWidget *parent) : GridForm<CampData>(parent)
{
setTableModel(new AutoTableModel<CampData>);
}
void CampGrid::handleNewRecord()
{
CampWizard *wizard = new CampWizard();
wizard->setAttribute(Qt::WA_DeleteOnClose);
wizard->show();
}
void CampGrid::handleEditRecord()
{
}