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.

26 lines
427 B
C++

#include "postregistergrid.h"
#include <QHBoxLayout>
#include <QToolButton>
PostRegisterGrid::PostRegisterGrid(QWidget *parent)
:GridForm<PostData>(parent)
{
setTableModel(new AutoTableModel<PostData>());
showImportButton();
}
bool PostRegisterGrid::canAddRecord()
{
return false;
}
bool PostRegisterGrid::canEditRecord()
{
return false;
}
bool PostRegisterGrid::canDeleteRecord()
{
return false;
}