Added dependants tab to table page

Retrieves all foreignkeys pointing to the current table
and shows the tables they are foreignkeys of.
This commit is contained in:
eelke 2019-11-17 10:27:11 +01:00
parent b90df1cd77
commit 8dd13d103e
10 changed files with 268 additions and 4 deletions

View file

@ -33,11 +33,11 @@ public:
ProcTableModel(QObject *parent = nullptr);
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
void setCatalog(std::shared_ptr<const PgDatabaseCatalog> cat);
void setNamespaceFilter(NamespaceFilter filter);
// Basic functionality:
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const override;
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
int columnCount(const QModelIndex &parent = QModelIndex()) const override;
QVariant data(const QModelIndex &index, int role) const override;