adding proxy models and search to all sql models

This commit is contained in:
Chris Cochrun 2023-02-17 10:09:41 -06:00
parent 45fbbde792
commit 57ffdc3ff0
8 changed files with 75 additions and 6 deletions

View file

@ -2,6 +2,7 @@
#define PRESENTATIONSQLMODEL_H
#include <QSqlTableModel>
#include <QSortFilterProxyModel>
#include <qobject.h>
#include <qobjectdefs.h>
#include <qqml.h>
@ -52,4 +53,14 @@ private:
int m_pageCount;
};
class PresentationProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
explicit PresentationProxyModel(QObject *parent = nullptr);
};
#endif //PRESENTATIONSQLMODEL_H