forked from qt-creator/qt-creator
QmlDesigner: Add more info to the DebugView
Change-Id: I5d50fa19ed4993cb97992bad5d6068902e288a1c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -163,8 +163,21 @@ void DebugView::nodeIdChanged(const ModelNode &node, const QString &newId, const
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebugView::propertiesAboutToBeRemoved(const QList<AbstractProperty> & /*propertyList*/)
|
void DebugView::propertiesAboutToBeRemoved(const QList<AbstractProperty> &propertyList)
|
||||||
{
|
{
|
||||||
|
if (isDebugViewEnabled()) {
|
||||||
|
QTextStream message;
|
||||||
|
QString string;
|
||||||
|
message.setString(&string);
|
||||||
|
for (const AbstractProperty &property : propertyList) {
|
||||||
|
message << property;
|
||||||
|
if (property.isNodeAbstractProperty())
|
||||||
|
message << " is NodeAbstractProperty";
|
||||||
|
if (property.isDefaultProperty())
|
||||||
|
message << " is DefaultProperty";
|
||||||
|
}
|
||||||
|
log("::propertiesAboutToBeRemoved:", string);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebugView::variantPropertiesChanged(const QList<VariantProperty> &propertyList,
|
void DebugView::variantPropertiesChanged(const QList<VariantProperty> &propertyList,
|
||||||
|
|||||||
Reference in New Issue
Block a user