Can use the parameter list in the query window now.

Still requires extensive testing for all possible types.
This commit is contained in:
eelke 2017-02-19 11:12:43 +01:00
parent aefc9eb7ba
commit 3af26d915e
14 changed files with 461 additions and 242 deletions

View file

@ -32,8 +32,8 @@ QVariant TypeSelectionItemModel::data(const QModelIndex &index, int role) const
int row = index.row();
int column = index.column();
if (role == Qt::DisplayRole) {
const PgType &tp = m_types->getByIdx(row);
if (column == 0) {
const PgType &tp = m_types->getByIdx(row);
result = tp.typname;
// switch (row) {