QmlInspector: Added reparenting of items in the Qml Live Preview. Reviewed by: Lasse Holmstedt

This commit is contained in:
Christiaan Janssen
2010-08-26 17:38:31 +02:00
parent 57cc0df0f6
commit 7d9056953e
13 changed files with 65 additions and 2 deletions

View File

@@ -514,6 +514,12 @@ protected:
m_clientProxy->createQmlObject(qmlText, ref, importList, filename);
}
virtual void reparentObject(int debugId, int newParent)
{
appliedChangesToViewer = true;
m_clientProxy->reparentQmlObject(debugId, newParent);
}
void checkUnsyncronizableElementChanges(UiObjectDefinition *parentDefinition)
{
if (unsyncronizableChanges == QmlJSLiveTextPreview::NoUnsyncronizableChanges) {