pgLab/pglab/catalog/widgets/TriggerPage.h

31 lines
623 B
C
Raw Normal View History

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