Added delete support to the CRUD system.

This commit is contained in:
eelke 2018-04-08 09:02:22 +02:00
parent 36f5153091
commit 8c20bd6a02
8 changed files with 230 additions and 89 deletions

View file

@ -31,6 +31,8 @@ public:
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
virtual QVariant data(const QModelIndex &index, int role) const override;
PgIndex getIndex(int row) const { return m_indexes[row]; }
protected:
Oid getType(int column) const;
QVariant getData(const QModelIndex &index) const;