Country register plugin created
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user