summaryrefslogtreecommitdiffstats
path: root/Source/QtDialog/CMakeSetupDialog.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-11-19 21:21:41 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-11-19 21:21:41 (GMT)
commitb0d01c306bd8dc6c636e65d38dc0d9e483568a67 (patch)
tree97bdc61a64fdbcfaa2057a4541f7c9324de15d1e /Source/QtDialog/CMakeSetupDialog.h
parent08c59af4dec0628964d9534ac165d75914bf580c (diff)
downloadCMake-b0d01c306bd8dc6c636e65d38dc0d9e483568a67.zip
CMake-b0d01c306bd8dc6c636e65d38dc0d9e483568a67.tar.gz
CMake-b0d01c306bd8dc6c636e65d38dc0d9e483568a67.tar.bz2
cmake-gui: add completion for the names when adding cache entries
Up to 100 completion strings for the names of added variables are saved in the settings, so it will remember the variables you are usually adding. It also ensures that CMAKE_INSTALL_PREFIX is always there, since this is maybe the one which is set most often. Alex
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r--Source/QtDialog/CMakeSetupDialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h
index b905077..2599675 100644
--- a/Source/QtDialog/CMakeSetupDialog.h
+++ b/Source/QtDialog/CMakeSetupDialog.h
@@ -105,6 +105,8 @@ protected:
QTextCharFormat ErrorFormat;
QTextCharFormat MessageFormat;
+ QStringList AddVariableCompletions;
+
QEventLoop LocalLoop;
float ProgressOffset;