summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/QCMakeCacheView.h
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2007-11-06 00:26:18 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2007-11-06 00:26:18 (GMT)
commita7746624e8e8ac29ea3db21d30746b0e70c7cb1c (patch)
treed0df0682c7f98ac6400cdf49875464515c609d43 /Source/QtDialog/QCMakeCacheView.h
parentc0108d1e07903af49c136217026a2fca082fbb1f (diff)
downloadCMake-a7746624e8e8ac29ea3db21d30746b0e70c7cb1c.zip
CMake-a7746624e8e8ac29ea3db21d30746b0e70c7cb1c.tar.gz
CMake-a7746624e8e8ac29ea3db21d30746b0e70c7cb1c.tar.bz2
ENH: Replace prompt for generator with combobox in UI.
ENH: Make "Show Advanced" toggle work. ENH: Add regex search capabilities. ENH: Read existing registry entries from MFC CMakeSetup.exe (will save later).
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