pgLab/pglab/FunctionsPage.h

33 lines
645 B
C
Raw Normal View History

#ifndef FUNCTIONSPAGE_H
#define FUNCTIONSPAGE_H
#include <QWidget>
#include <memory>
class QTableView;
class PgDatabaseCatalog;
class ProcTableModel;
class CustomFilterSortModel;
class FunctionsPage : public QWidget {
Q_OBJECT
public:
explicit FunctionsPage(QWidget *parent = nullptr);
void setCatalog(std::shared_ptr<const PgDatabaseCatalog> cat);
signals:
public slots:
private:
QTableView *m_functionTable = nullptr;
ProcTableModel *m_model = nullptr;
CustomFilterSortModel *m_sortFilterProxy = nullptr;
std::shared_ptr<const PgDatabaseCatalog> m_catalog;
void retranslateUi(bool all = true);
};
#endif // FUNCTIONSPAGE_H