Overview of triggers extended with function name and arguments.

Did a lot of refactoring on the catalog to keep things clean.
This commit is contained in:
eelke 2018-11-18 19:30:45 +01:00
parent 35813ae926
commit fcb191f2cc
44 changed files with 797 additions and 404 deletions

View file

@ -20,7 +20,7 @@ QVariant TriggerTableModel::headerData(int section, Qt::Orientation orientation,
case InitiallyCol: return tr("ID");
case ForCol: return tr("For");
case CondCol: return tr("Cond.");
case ReferencingCol: return tr("Referencing");
// case ReferencingCol: return tr("Referencing");
case ProcedureCol: return tr("Function");
}
}
@ -91,9 +91,9 @@ QVariant TriggerTableModel::getData(const QModelIndex &index) const
case DeferrableCol: return t.deferrable;
case InitiallyCol: return t.initdeferred;
case ForCol: return t.forEach();
// case CondCol: return tr("Cond.");
case CondCol: return t.whenclause;
// case ReferencingCol: return tr("Referencing");
// case ProcedureCol: return tr("Function");
case ProcedureCol: return t.procedure();
}
return QVariant();