Reorganization of pgLab project
This commit is contained in:
parent
7300865c77
commit
c71fdc4af7
78 changed files with 204 additions and 148 deletions
29
pglab/catalog/widgets/CatalogIndexPage.h
Normal file
29
pglab/catalog/widgets/CatalogIndexPage.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#ifndef CATALOGINDEXPAGE_H
|
||||
#define CATALOGINDEXPAGE_H
|
||||
|
||||
#include "CatalogPageBase.h"
|
||||
|
||||
class IndexModel;
|
||||
class PgClass;
|
||||
class QItemSelection;
|
||||
|
||||
|
||||
class CatalogIndexPage : public CatalogPageBase {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit CatalogIndexPage(QWidget *parent = nullptr);
|
||||
|
||||
void setFilter(const std::optional<PgClass> &cls);
|
||||
|
||||
protected:
|
||||
void catalogSet() override;
|
||||
|
||||
private:
|
||||
|
||||
IndexModel *m_indexModel = nullptr;
|
||||
|
||||
private slots:
|
||||
void tableView_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
||||
};
|
||||
|
||||
#endif // CATALOGINDEXPAGE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue