aboutsummaryrefslogtreecommitdiff
path: root/mapman/src/groupview.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2024-03-13 01:21:32 -0400
committerGravatar Chris Xiong <chirs241097@gmail.com> 2024-03-13 01:21:32 -0400
commite2fee8a707e28aacab93e7524f5ca965d6012f27 (patch)
treec8b98a732db5dcd6dd66a6c144f1b28b76c42abe /mapman/src/groupview.hpp
parent3a226954ba6b9bd70892ef7247226eaf30d216a4 (diff)
downloadmeteor-trashy-addon-e2fee8a707e28aacab93e7524f5ca965d6012f27.tar.xz
Implement filtering.
Diffstat (limited to 'mapman/src/groupview.hpp')
-rw-r--r--mapman/src/groupview.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mapman/src/groupview.hpp b/mapman/src/groupview.hpp
index ca4cf30..52c1bd0 100644
--- a/mapman/src/groupview.hpp
+++ b/mapman/src/groupview.hpp
@@ -2,6 +2,7 @@
#define GROUPVIEW_HPP
#include <QMdiSubWindow>
+#include <qsortfilterproxymodel.h>
#include "mapdump.hpp"
class QTableView;
@@ -10,6 +11,7 @@ class QLineEdit;
class QSpinBox;
class QLabel;
class QStandardItemModel;
+class QSortFilterProxyModel;
class map_library;
class map_painter;
@@ -32,10 +34,12 @@ public slots:
private:
QTableView *tv;
QStandardItemModel *m;
+ QSortFilterProxyModel *mf;
QPushButton *pbadd;
QPushButton *pbrem;
QLineEdit *tetitle;
QLineEdit *teauthor;
+ QLineEdit *tefilter;
QSpinBox *sbh;
QSpinBox *sbv;
QPushButton *pbapply;