QmlDesigner: Prepare for other layout items

Change-Id: I831e68877eb3d785b4bbb99db002ab8e42158d75
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Marco Bubke
2013-04-18 18:42:58 +02:00
parent 40b62e1cfa
commit ff4457bb46
25 changed files with 67 additions and 55 deletions

View File

@@ -350,8 +350,8 @@ void GraphicalNodeInstance::setPropertyVariant(const PropertyName &name, const Q
refresh();
if (isInPositioner())
parentInstance()->refreshPositioner();
if (isInLayoutable())
parentInstance()->refreshLayoutable();
}
void GraphicalNodeInstance::setPropertyBinding(const PropertyName &name, const QString &expression)
@@ -365,8 +365,8 @@ void GraphicalNodeInstance::setPropertyBinding(const PropertyName &name, const Q
refresh();
if (isInPositioner())
parentInstance()->refreshPositioner();
if (isInLayoutable())
parentInstance()->refreshLayoutable();
}
QVariant GraphicalNodeInstance::property(const PropertyName &name) const
@@ -423,8 +423,8 @@ void GraphicalNodeInstance::resetProperty(const PropertyName &name)
quickItem()->update();
if (isInPositioner())
parentInstance()->refreshPositioner();
if (isInLayoutable())
parentInstance()->refreshLayoutable();
}