Commit 7d5d5fa3 authored by Thomas Hartmann's avatar Thomas Hartmann

QmlDesigner.DebugView: Add output for selection changes

Change-Id: Ice4a3bbeedd48712429e2fdfdcb325fa25b68727
Reviewed-by: default avatarTim Jenssen <tim.jenssen@digia.com>
parent bdce4fde
......@@ -212,9 +212,19 @@ void DebugView::rootNodeTypeChanged(const QString &type, int majorVersion, int m
}
}
void DebugView::selectedNodesChanged(const QList<ModelNode> & /*selectedNodeList*/,
void DebugView::selectedNodesChanged(const QList<ModelNode> &selectedNodes /*selectedNodeList*/,
const QList<ModelNode> & /*lastSelectedNodeList*/)
{
foreach (const ModelNode &selectedNode, selectedNodes) {
QTextStream message;
QString string;
message.setString(&string);
message << selectedNode;
foreach (const VariantProperty &property, selectedNode.variantProperties()) {
message << property;
}
log(tr("Node selected:"), string);
}
}
void DebugView::scriptFunctionsChanged(const ModelNode & /*node*/, const QStringList & /*scriptFunctionList*/)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment