We excluded item which had a node instance. For the preview all item should
be marked dirty.
Change-Id: I0cbad89707d7d94f65ac0d055488e124da40e7b3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
changeId is triggering it anyway and it is really expensive.
Change-Id: I37743ed619d9e901b28c69f4c324852ba7e6608c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Refresh bindings is very expensive and called anyway at reparenting.
Change-Id: I232afefee22484e3994ade31457f61ea6ee1293e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
The signal spy never worked with value types. The recursive code is not
needed anymore and anyway broken.
Change-Id: I28861d13fa6ca8b7e8af97f5720c2968759da264
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
There is no stand content item interface, so try to work around to enable
snapping and anchoring.
Change-Id: Ib2eaf0d6c35e3ba289dd7d55b2ba4c064ad40748
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
We don't tested that target anchor object are node instances. Now we
search for the parent object recursively.
Change-Id: I2e03e714f858a285309b02f5e88c757f0dcfe7e5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This is fixing some anchor movement bugs.
This reverts commit ae409f8bdf.
Change-Id: Ibe9b8b2601e2bcd1c249b5feda06fb3a29482f4b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
* Unused variables in release build
* Comparison of bool to int
Change-Id: I1ac9b1051b26ae0655d4ff6b92d216926a4785da
Reviewed-by: hjk <hjk121@nokiamail.com>
We should follow the engine and set the QObject parent first.
Actually some items (e.g. menus) do not like it differently.
A note: The engine seems to always set the QObject parent even for items.
Change-Id: I700e8802300b8eee093f73ea11e07c4cdb0338aa
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Emitting the Component.onComplete signal.
This is only available in Qt 5.1
Change-Id: I77503333296cccd9999d2610cca126530f777777
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
We follow the QmlEngine/VME and always set the QObject
parent before reparenting into list properties.
Also we set the QObject parent for all objects.
See qqmlvme.cpp line 622
QQml_setParent_noEvent(o, parent);
Change-Id: If889e6cc07e99ea443b80de13c4be9dce6c2ceee
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Clipping is happen over the bounding rectangle, so should provide the
clipped bounding rectangle.
Change-Id: I602da312a7ca327def378a887a75782c61cc680d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This allows QuickWindowNodeInstance to return the content item
instead.
The function parentObject() in ObjectNodeInstance now knows
QQuickRootItem, because the parent of the root item should
is the windows (which is just a QObject but treated as item from us).
Change-Id: Ibaa7ccc8dd9346689cc4443ce0b594056feaa0cf
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
updateDirtyNodeRecursive and renderPreviewImage belongs to quick image and
not in the node instance server.
Change-Id: I629b89c748036c0614e78bcfa0c837cb16ca6374
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
The cursor should be disabled after component complete.
Change-Id: I3ee089b23f43b42a478aaacc4073cbdfd0da2323
Reviewed-by: Marco Bubke <marco.bubke@digia.com>