Restructuring catalog tabs
- Moved detail tabs of table to their own components - Table list has become seperate component on seperate tab - Table list does not use designer anymore - Moved sequences and functions tabs into the catalog inspector
This commit is contained in:
parent
a704332342
commit
42432b06a9
31 changed files with 598 additions and 472 deletions
29
pglab/widgets/CatalogConstraintPage.h
Normal file
29
pglab/widgets/CatalogConstraintPage.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef CATALOGCONSTRAINTPAGE_H
|
||||
#define CATALOGCONSTRAINTPAGE_H
|
||||
|
||||
#include "CatalogPageBase.h"
|
||||
|
||||
class ConstraintModel;
|
||||
class PgClass;
|
||||
class QItemSelection;
|
||||
|
||||
|
||||
class CatalogConstraintPage : public CatalogPageBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CatalogConstraintPage(QWidget *parent = nullptr);
|
||||
|
||||
void setFilter(const std::optional<PgClass> &cls);
|
||||
|
||||
protected:
|
||||
void catalogSet() override;
|
||||
|
||||
private:
|
||||
|
||||
ConstraintModel *m_constraintModel = nullptr;
|
||||
|
||||
private slots:
|
||||
void tableView_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
||||
};
|
||||
|
||||
#endif // CATALOGCONSTRAINTPAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue