Tables are now sorted by not perfect yet.

This commit is contained in:
eelke 2018-01-07 09:02:53 +01:00
parent ec78dafa94
commit a79357db87
2 changed files with 19 additions and 0 deletions

View file

@ -25,6 +25,8 @@ public:
void setCatalog(std::shared_ptr<const PgDatabaseCatalog> cat);
void setSortOrder(int so);
// Header:
QVariant headerData(int section, Qt::Orientation orientation, int role) const override;
@ -46,6 +48,7 @@ private:
t_Tables m_tables;
QString formatTableName(const PgClass &cls) const;
void doSort(int so);
};
#endif // TABLESTABLEMODEL_H