Qml JS Inspector: Added context crumble path as a dock widget

The crumble path shows the current context of the debugger/inspector.
This commit is contained in:
Lasse Holmstedt
2010-08-02 17:25:29 +02:00
parent ef57d20a67
commit 524d4453e5
16 changed files with 124 additions and 48 deletions

View File

@@ -153,6 +153,17 @@ void QDeclarativeDesignDebugServer::selectedColorChanged(const QColor &color)
sendMessage(message);
}
void QDeclarativeDesignDebugServer::contextPathUpdated(const QStringList &contextPath)
{
QByteArray message;
QDataStream ds(&message, QIODevice::WriteOnly);
ds << QByteArray("CONTEXT_PATH_UPDATED")
<< contextPath;
sendMessage(message);
}
QString QDeclarativeDesignDebugServer::idStringForObject(QObject *obj) const
{
int id = idForObject(obj);