diff options
author | Clinton Stimpson <clinton@elemtech.com> | 2009-03-12 15:19:27 (GMT) |
---|---|---|
committer | Clinton Stimpson <clinton@elemtech.com> | 2009-03-12 15:19:27 (GMT) |
commit | c54f47635c7f4eda101cc092605481efb9e5275d (patch) | |
tree | 2157d540e011660f7d3db31ffb4b7929f3fc61c2 /Source/QtDialog/QCMake.cxx | |
parent | dd7b48c9c386ffd7fa184284403988df85a38279 (diff) | |
download | CMake-c54f47635c7f4eda101cc092605481efb9e5275d.zip CMake-c54f47635c7f4eda101cc092605481efb9e5275d.tar.gz CMake-c54f47635c7f4eda101cc092605481efb9e5275d.tar.bz2 |
ENH: Add support for showing combo box for choosing from a list of strings that a cache property can have.
Diffstat (limited to 'Source/QtDialog/QCMake.cxx')
-rw-r--r-- | Source/QtDialog/QCMake.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/QtDialog/QCMake.cxx b/Source/QtDialog/QCMake.cxx index dd1608e..f007160 100644 --- a/Source/QtDialog/QCMake.cxx +++ b/Source/QtDialog/QCMake.cxx @@ -286,6 +286,10 @@ QCMakePropertyList QCMake::properties() const else if(i.GetType() == cmCacheManager::STRING) { prop.Type = QCMakeProperty::STRING; + if (i.PropertyExists("STRINGS")) + { + prop.Strings = QString(i.GetProperty("STRINGS")).split(";"); + } } ret.append(prop); |