Showing the changes to interface/src/scripting/SelectionScriptingInterface.cpp (1 of 8 files). Show all
Unified · Split
| @@ -146,6 +146,14 @@ QVariantMap SelectionScriptingInterface::getListHighlightStyle(const QString& li · 145 unmodified lines | ||
| 146 | 146 | } |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | + | |
| 150 | +QStringList SelectionScriptingInterface::getHighlightStyles() const { | |
| 151 | + QStringList list; | |
| 152 | + QReadLocker lock(&_highlightStylesLock); | |
| 153 | + list = _highlightStyleMap.keys(); | |
| 154 | + return list; | |
| 155 | +} | |
| 156 | + | |
| 149 | 157 | render::HighlightStyle SelectionScriptingInterface::getHighlightStyle(const QString& listName) const { |
| 150 | 158 | QReadLocker lock(&_highlightStylesLock); |
| 151 | 159 | auto highlightStyle = _highlightStyleMap.find(listName); |