forked from qt-creator/qt-creator
QmlDesigner: Add more output to debug view
Change-Id: I3038c152a1b8e1111721971e986a89aa771ecfcb Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -29,9 +29,10 @@
|
|||||||
#include <qmldesignerplugin.h>
|
#include <qmldesignerplugin.h>
|
||||||
|
|
||||||
#include <bindingproperty.h>
|
#include <bindingproperty.h>
|
||||||
#include <signalhandlerproperty.h>
|
|
||||||
#include <nodeabstractproperty.h>
|
#include <nodeabstractproperty.h>
|
||||||
#include <nodelistproperty.h>
|
#include <nodelistproperty.h>
|
||||||
|
#include <nodemetainfo.h>
|
||||||
|
#include <signalhandlerproperty.h>
|
||||||
#include <variantproperty.h>
|
#include <variantproperty.h>
|
||||||
|
|
||||||
#include <qmlitemnode.h>
|
#include <qmlitemnode.h>
|
||||||
@@ -234,6 +235,13 @@ void DebugView::selectedNodesChanged(const QList<ModelNode> &selectedNodes /*sel
|
|||||||
|
|
||||||
message << lineBreak;
|
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();
|
const QHash<PropertyName, QVariant> data = selectedNode.auxiliaryData();
|
||||||
|
|
||||||
PropertyNameList names = data.keys();
|
PropertyNameList names = data.keys();
|
||||||
|
Reference in New Issue
Block a user