diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2007-11-06 00:26:18 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2007-11-06 00:26:18 (GMT) |
commit | a7746624e8e8ac29ea3db21d30746b0e70c7cb1c (patch) | |
tree | d0df0682c7f98ac6400cdf49875464515c609d43 /Source/QtDialog/QCMakeCacheView.h | |
parent | c0108d1e07903af49c136217026a2fca082fbb1f (diff) | |
download | CMake-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.h | 9 |
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 |