Added report variable filler.

This commit is contained in:
2017-05-30 10:38:02 +02:00
parent 37b2dd7246
commit 1e785fd488
9 changed files with 131 additions and 4 deletions
+10
View File
@@ -244,6 +244,16 @@ protected:
}
}
virtual int currentRecordId()
{
if (tableView()->currentIndex().isValid())
{
return m_tableModel->itemFromIndex(tableView()->currentIndex())->id();
}
return 0;
}
void addRow(QSharedPointer<T> entity)
{
m_tableModel->addRow(entity);