QmlDesigner: Add more output to debug view

Change-Id: I3038c152a1b8e1111721971e986a89aa771ecfcb
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2020-07-01 18:00:39 +02:00
parent a4c0ac2b72
commit 6e6c771fa5

View File

@@ -29,9 +29,10 @@
#include <qmldesignerplugin.h>
#include <bindingproperty.h>
#include <signalhandlerproperty.h>
#include <nodeabstractproperty.h>
#include <nodelistproperty.h>
#include <nodemetainfo.h>
#include <signalhandlerproperty.h>
#include <variantproperty.h>
#include <qmlitemnode.h>
@@ -234,6 +235,13 @@ void DebugView::selectedNodesChanged(const QList<ModelNode> &selectedNodes /*sel
message << lineBreak;
if (selectedNode.metaInfo().isValid()) {
for (const NodeMetaInfo &metaInfo : selectedNode.metaInfo().classHierarchy())
message << metaInfo.typeName() << lineBreak;
message << lineBreak;
}
const QHash<PropertyName, QVariant> data = selectedNode.auxiliaryData();
PropertyNameList names = data.keys();