Country register plugin created

This commit is contained in:
2017-05-03 22:23:49 +02:00
parent a0f325708b
commit 25c481f5f1
14 changed files with 327 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "countryregistergrid.h"
#include "countryregister-odb.hxx"
CountryRegisterGrid::CountryRegisterGrid(QWidget *parent) : GridForm<CountryData>(parent)
{
setTableModel(new AutoTableModel<CountryData>());
}
bool CountryRegisterGrid::canAddRecord()
{
return false;
}
bool CountryRegisterGrid::canEditRecord()
{
return false;
}
bool CountryRegisterGrid::canDeleteRecord()
{
return false;
}