pgLab/pglab/TriggerPage.h
eelke 42432b06a9 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
2019-02-09 11:36:22 +01:00

30 lines
615 B
C++

#ifndef TRIGGERPAGE_H
#define TRIGGERPAGE_H
#include "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