For testing purposes a new table tab is created when a querytab is created.
This commit is contained in:
parent
6466062cc8
commit
f9caadb59e
5 changed files with 33 additions and 4 deletions
|
|
@ -1,12 +1,16 @@
|
|||
#ifndef TABLESPAGE_H
|
||||
#ifndef TABLESPAGE_H
|
||||
#define TABLESPAGE_H
|
||||
|
||||
#include <QWidget>
|
||||
#include <memory>
|
||||
|
||||
namespace Ui {
|
||||
class TablesPage;
|
||||
}
|
||||
|
||||
class TablesTableModel;
|
||||
class PgDatabaseCatalog;
|
||||
|
||||
class TablesPage : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
@ -15,8 +19,11 @@ public:
|
|||
explicit TablesPage(QWidget *parent = 0);
|
||||
~TablesPage();
|
||||
|
||||
void setCatalog(std::shared_ptr<PgDatabaseCatalog> cat);
|
||||
private:
|
||||
Ui::TablesPage *ui;
|
||||
std::shared_ptr<PgDatabaseCatalog> m_catalog;
|
||||
TablesTableModel* m_tablesModel = nullptr;
|
||||
};
|
||||
|
||||
#endif // TABLESPAGE_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue