2017-04-25 21:39:47 +02:00
|
|
|
#include "postregistergrid.h"
|
|
|
|
|
#include <QHBoxLayout>
|
|
|
|
|
#include <QToolButton>
|
|
|
|
|
|
|
|
|
|
#include "postregister-odb.hxx"
|
|
|
|
|
|
|
|
|
|
PostRegisterGrid::PostRegisterGrid(QWidget *parent)
|
|
|
|
|
:GridForm<PostData>(parent)
|
|
|
|
|
{
|
|
|
|
|
setTableModel(new AutoTableModel<PostData>());
|
2017-05-06 23:27:54 +02:00
|
|
|
showImportButton();
|
2017-04-25 21:39:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool PostRegisterGrid::canAddRecord()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool PostRegisterGrid::canEditRecord()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool PostRegisterGrid::canDeleteRecord()
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|