forked from qt-creator/qt-creator
Merge QML inspector into debugger plugin
Merge QmlJSInspector plugin into the debugger. Also merge the extra Inspector window with the Locals & Watchers: It now shows the QML object tree in the running state. Change-Id: I59ae0c1b970a48ba10ecda92ed3ba765d94b1d9c Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -513,6 +513,14 @@ QAbstractItemModel *DebuggerEngine::returnModel() const
|
||||
return model;
|
||||
}
|
||||
|
||||
QAbstractItemModel *DebuggerEngine::inspectorModel() const
|
||||
{
|
||||
QAbstractItemModel *model = watchHandler()->model(InspectWatch);
|
||||
if (model->objectName().isEmpty()) // Make debugging easier.
|
||||
model->setObjectName(objectName() + QLatin1String("InspectorModel"));
|
||||
return model;
|
||||
}
|
||||
|
||||
QAbstractItemModel *DebuggerEngine::toolTipsModel() const
|
||||
{
|
||||
QAbstractItemModel *model = watchHandler()->model(TooltipsWatch);
|
||||
|
||||
Reference in New Issue
Block a user