List of tables now updates after reload of catalog.

This commit is contained in:
eelke 2019-10-09 18:36:54 +02:00
parent f4f514efb0
commit 5c586ea807
3 changed files with 22 additions and 9 deletions

View file

@ -49,13 +49,16 @@ private:
std::shared_ptr<const PgDatabaseCatalog> m_catalog;
NamespaceFilter m_namespaceFilter = NamespaceFilter::User;
t_Tables m_tables;
QMetaObject::Connection refreshConnection;
void reloadData();
Oid getType(int column) const;
QVariant getData(const QModelIndex &index) const;
// QString formatTableName(const PgClass &cls) const;
void doSort(int so);
private slots:
void refresh();
};
#endif // TABLESTABLEMODEL_H