List of tables now updates after reload of catalog.
This commit is contained in:
parent
f4f514efb0
commit
5c586ea807
3 changed files with 22 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue