Adding emitComponentCompleteSignalForAttachedProperty()
authorThomas Hartmann <Thomas.Hartmann@digia.com>
Tue, 23 Apr 2013 07:25:29 +0000 (09:25 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 23 Apr 2013 10:53:48 +0000 (12:53 +0200)
commit88e215b6d56b406d994f97a0adbd2a6afff655be
tree796d4036a5b32eb72c39b14ff83c320a41d99ec4
parent7167ebd3012147b41a447a6b0bbecc64b6017bd4
Adding emitComponentCompleteSignalForAttachedProperty()

Each item that is created by a component gets the
attached property "Component".
This property has the signal onCompleted.

This function allows the designer to manually emit this
signal once the item is setup.

I had to export QQmlComponentAttached for this.

Change-Id: I45b4e72af4f12cdcda29f165cc9bc4d9dee8faf7
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
src/qml/qml/qqmlcomponentattached_p.h
src/quick/designer/designersupport.cpp
src/quick/designer/designersupport.h