+ add properties with 'hidden' mode to property editor but hide the item

This commit is contained in:
wmayer
2016-03-05 18:24:58 +01:00
parent 843fbc49fc
commit 0ec81d2760
6 changed files with 50 additions and 8 deletions

View File

@@ -210,6 +210,16 @@ bool PropertyItem::isReadOnly() const
return readonly;
}
bool PropertyItem::testStatus(App::Property::Status pos) const
{
std::vector<App::Property*>::const_iterator it;
for (it = propertyItems.begin(); it != propertyItems.end(); ++it) {
if ((*it)->testStatus(pos))
return true;
}
return false;
}
void PropertyItem::setDecimals(int prec)
{
precision = prec;