2019-11-17 10:27:11 +01:00
|
|
|
|
#ifndef DEPENDENTSPAGE_H
|
|
|
|
|
|
#define DEPENDENTSPAGE_H
|
|
|
|
|
|
|
2022-04-09 07:10:29 +02:00
|
|
|
|
#include "catalog/widgets/CatalogPageBase.h"
|
2019-11-17 10:27:11 +01:00
|
|
|
|
|
|
|
|
|
|
class PgClass;
|
|
|
|
|
|
class DependantsTableModel;
|
|
|
|
|
|
class QItemSelection;
|
|
|
|
|
|
|
|
|
|
|
|
class DependantsPage : public CatalogPageBase {
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
|
|
explicit DependantsPage(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
|
|
|
|
void setFilter(const std::optional<PgClass> &cls);
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
void catalogSet() override;
|
|
|
|
|
|
private:
|
|
|
|
|
|
DependantsTableModel *m_model = nullptr;
|
|
|
|
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
|
// void tableView_selectionChanged(const QItemSelection &selected, const QItemSelection &deselected);
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // DEPENDENTSPAGE_H
|