Reorganization of pgLab project
This commit is contained in:
parent
7300865c77
commit
c71fdc4af7
78 changed files with 204 additions and 148 deletions
|
|
@ -1,41 +0,0 @@
|
|||
#ifndef TABLESPAGE_H
|
||||
#define TABLESPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <memory>
|
||||
#include "NamespaceFilter.h"
|
||||
|
||||
class CatalogFunctionsPage;
|
||||
class CatalogSequencesPage;
|
||||
class CatalogTablesPage;
|
||||
class CatalogNamespacePage;
|
||||
class CatalogTypesPage;
|
||||
class OpenDatabase;
|
||||
class PgDatabaseCatalog;
|
||||
class QTabWidget;
|
||||
|
||||
class CatalogInspector : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CatalogInspector(std::shared_ptr<OpenDatabase> open_database, QWidget *parent = nullptr);
|
||||
~CatalogInspector();
|
||||
|
||||
void setCatalog(std::shared_ptr<PgDatabaseCatalog> cat);
|
||||
void setNamespaceFilter(NamespaceFilter filter);
|
||||
|
||||
CatalogTablesPage *tablesPage();
|
||||
private:
|
||||
QTabWidget *m_tabWidget = nullptr;
|
||||
// CatalogNamespacePage *m_namespacePage = nullptr;
|
||||
CatalogTablesPage *m_tablesPage = nullptr;
|
||||
CatalogFunctionsPage *m_functionsPage = nullptr;
|
||||
CatalogSequencesPage *m_sequencesPage = nullptr;
|
||||
CatalogTypesPage *m_typesPage = nullptr;
|
||||
std::shared_ptr<PgDatabaseCatalog> m_catalog;
|
||||
|
||||
void retranslateUi(bool all = true);
|
||||
|
||||
private slots:
|
||||
};
|
||||
|
||||
#endif // TABLESPAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue