summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/QtDialog/QCMakeCacheView.h')
-rw-r--r--Source/QtDialog/QCMakeCacheView.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMakeCacheView.h b/Source/QtDialog/QCMakeCacheView.h
index 91d1053..039c834 100644
--- a/Source/QtDialog/QCMakeCacheView.h
+++ b/Source/QtDialog/QCMakeCacheView.h
@@ -24,6 +24,7 @@
#include <QCheckBox>
#include <QLineEdit>
#include <QItemDelegate>
+#include <QSortFilterProxyModel>
class QCMakeCacheModel;
@@ -36,11 +37,19 @@ public:
QCMakeCacheView(QWidget* p);
QCMakeCacheModel* cacheModel() const;
+ bool showAdvanced() const;
+
+public slots:
+ void setShowAdvanced(bool);
+ void setSearchFilter(const QString&);
protected:
QModelIndex moveCursor(CursorAction, Qt::KeyboardModifiers);
void showEvent(QShowEvent* e);
bool Init;
+ QCMakeCacheModel* CacheModel;
+ QSortFilterProxyModel* AdvancedFilter;
+ QSortFilterProxyModel* SearchFilter;
};
/// Qt model class for cache properties