diff options
author | Sergey Zolotarev <sryze@yandex.com> | 2014-01-13 10:28:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-16 14:23:36 (GMT) |
commit | cfec180d66a7210606c5274e6ba3bb86a1e197a7 (patch) | |
tree | ed13abe0f993ac2b9e204da65d5e7c1e892e9e24 /Source/QtDialog/CMakeSetupDialog.h | |
parent | 9f6b633f37bebecc989cc8fc026da999148038f9 (diff) | |
download | CMake-cfec180d66a7210606c5274e6ba3bb86a1e197a7.zip CMake-cfec180d66a7210606c5274e6ba3bb86a1e197a7.tar.gz CMake-cfec180d66a7210606c5274e6ba3bb86a1e197a7.tar.bz2 |
cmake-gui: Remember variable type in Add Entry
Store variable types together with their names in the variable completion
list so that the type is automatically recovered when you select a variable.
Keep variable names and types in separate lists. This removes the :TYPE
string from completion list and the Name field and makes variable search
easier. The variable names and types are now kept in two different
settings - AddVariableNames and AddVariableTypes. Drop the old
AddVariableCompletionEntries setting.
Diffstat (limited to 'Source/QtDialog/CMakeSetupDialog.h')
-rw-r--r-- | Source/QtDialog/CMakeSetupDialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/QtDialog/CMakeSetupDialog.h b/Source/QtDialog/CMakeSetupDialog.h index 963c7d1..1b26c64 100644 --- a/Source/QtDialog/CMakeSetupDialog.h +++ b/Source/QtDialog/CMakeSetupDialog.h @@ -110,7 +110,8 @@ protected: QTextCharFormat ErrorFormat; QTextCharFormat MessageFormat; - QStringList AddVariableCompletions; + QStringList AddVariableNames; + QStringList AddVariableTypes; QStringList FindHistory; QEventLoop LocalLoop; |