diff --git a/pglab/TablesPage.cpp b/pglab/TablesPage.cpp new file mode 100644 index 0000000..2dbc71b --- /dev/null +++ b/pglab/TablesPage.cpp @@ -0,0 +1,14 @@ +#include "TablesPage.h" +#include "ui_TablesPage.h" + +TablesPage::TablesPage(QWidget *parent) : + QWidget(parent), + ui(new Ui::TablesPage) +{ + ui->setupUi(this); +} + +TablesPage::~TablesPage() +{ + delete ui; +} diff --git a/pglab/TablesPage.h b/pglab/TablesPage.h new file mode 100644 index 0000000..bf4de62 --- /dev/null +++ b/pglab/TablesPage.h @@ -0,0 +1,22 @@ +#ifndef TABLESPAGE_H +#define TABLESPAGE_H + +#include + +namespace Ui { +class TablesPage; +} + +class TablesPage : public QWidget +{ + Q_OBJECT + +public: + explicit TablesPage(QWidget *parent = 0); + ~TablesPage(); + +private: + Ui::TablesPage *ui; +}; + +#endif // TABLESPAGE_H diff --git a/pglab/TablesPage.ui b/pglab/TablesPage.ui new file mode 100644 index 0000000..c67968b --- /dev/null +++ b/pglab/TablesPage.ui @@ -0,0 +1,68 @@ + + + TablesPage + + + + 0 + 0 + 1041 + 830 + + + + Form + + + + + + + + + + + 0 + + + + Columns + + + + + + + + + + Properties + + + + + Statistics + + + + + Dependencies + + + + + Dependents + + + + + + + + + + + + + + diff --git a/pglab/pglab.pro b/pglab/pglab.pro index 3897fff..a485294 100644 --- a/pglab/pglab.pro +++ b/pglab/pglab.pro @@ -68,7 +68,8 @@ PgDatabaseCatalogue.cpp \ CodeBuilderConfiguration.cpp \ ResultTableModelUtil.cpp \ BaseTableModel.cpp \ - QueryParamListController.cpp + QueryParamListController.cpp \ + TablesPage.cpp HEADERS += \ QueryResultModel.h \ @@ -111,7 +112,8 @@ PgDatabaseCatalogue.h \ CodeBuilderConfiguration.h \ ResultTableModelUtil.h \ BaseTableModel.h \ - QueryParamListController.h + QueryParamListController.h \ + TablesPage.h FORMS += mainwindow.ui \ DatabaseWindow.ui \ @@ -121,7 +123,8 @@ FORMS += mainwindow.ui \ QueryTab.ui \ BackupDialog.ui \ ServerWindow.ui \ - ProcessStdioWidget.ui + ProcessStdioWidget.ui \ + TablesPage.ui RESOURCES += \ resources.qrc