#ifndef TABLESPAGE_H #define TABLESPAGE_H #include #include namespace Ui { class TablesPage; } class TablesTableModel; class PgDatabaseCatalog; class TablesPage : public QWidget { Q_OBJECT public: explicit TablesPage(QWidget *parent = 0); ~TablesPage(); void setCatalog(std::shared_ptr cat); private: Ui::TablesPage *ui; std::shared_ptr m_catalog; TablesTableModel* m_tablesModel = nullptr; }; #endif // TABLESPAGE_H