App/Gui: improve expression binding of PropertyEnumeration

The enumeration items are exposed through sub path '.Enum'. When
'ShowAll' is enabled in property view, this sub path is exposed as a
sub property item named 'Enum', and can be either manually edited or
bound with an expression.
This commit is contained in:
Zheng, Lei
2019-12-23 11:48:03 +08:00
committed by Chris Hennes
parent 796b4c0b2d
commit 26ba872aa6
7 changed files with 241 additions and 77 deletions

View File

@@ -71,6 +71,8 @@ std::string Property::getFullName() const {
if(myName) {
if(father)
name = father->getFullName() + ".";
else
name = "?.";
name += myName;
}else
return "?";