Moved code from TablesPage into seperate PropetiesPage component
Clears up the TablePage and makes rhe propertypage reusable.
This commit is contained in:
parent
b8cfb223be
commit
38ae5f50e4
8 changed files with 73 additions and 36 deletions
28
pglab/PropertiesPage.h
Normal file
28
pglab/PropertiesPage.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
#ifndef PROPERTIESPAGE_H
|
||||
#define PROPERTIESPAGE_H
|
||||
|
||||
#include <QSplitter>
|
||||
|
||||
class QTableView;
|
||||
class SqlCodePreview;
|
||||
class PgDatabaseCatalog;
|
||||
class PropertyProxyModel;
|
||||
|
||||
class PropertiesPage : public QSplitter
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PropertiesPage(QWidget *parent = nullptr);
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
QTableView *m_tableView = nullptr;
|
||||
// SqlCodePreview *m_definitionView = nullptr;
|
||||
PropertyProxyModel *m_propertyProxyModel = nullptr;
|
||||
|
||||
};
|
||||
|
||||
#endif // PROPERTIESPAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue