forked from qt-creator/qt-creator
QmlInspector: Added reparenting of items in the Qml Live Preview. Reviewed by: Lasse Holmstedt
This commit is contained in:
@@ -393,6 +393,12 @@ void ClientProxy::destroyQmlObject(int debugId)
|
||||
m_designClient->destroyQmlObject(debugId);
|
||||
}
|
||||
|
||||
void ClientProxy::reparentQmlObject(int debugId, int newParent)
|
||||
{
|
||||
if (isDesignClientConnected())
|
||||
m_designClient->reparentQmlObject(debugId, newParent);
|
||||
}
|
||||
|
||||
void ClientProxy::setContextPathIndex(int contextIndex)
|
||||
{
|
||||
if (isDesignClientConnected())
|
||||
|
||||
Reference in New Issue
Block a user