QmlJSInspector: Show property values

When using the "Select" tool, update the property
inspector with the selected object's properties.

Change-Id: Ie24d9ed01b871b2f8f1f408cf4b1c0661c15cc84
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-03-29 14:18:30 +02:00
parent 13e8ff6f03
commit 155d59c9e5
2 changed files with 31 additions and 9 deletions

View File

@@ -150,6 +150,7 @@ private slots:
void newObjects();
void objectWatchTriggered(int debugId, const QByteArray &propertyName, const QVariant &propertyValue);
void onResult(quint32 queryId, const QVariant &value, const QByteArray &type);
void onCurrentObjectsFetched(quint32 queryId, const QVariant &result);
private:
void contextChanged(const QVariant &value);
@@ -178,8 +179,10 @@ private:
quint32 m_engineQueryId;
quint32 m_contextQueryId;
QList<quint32> m_objectTreeQueryIds;
QList<quint32> m_fetchCurrentObjectsQueryIds;
QList<QmlDebugObjectReference> m_rootObjects;
QList<QmlDebugObjectReference> m_fetchCurrentObjects;
QmlDebugEngineReferenceList m_engines;
DebugIdHash m_debugIdHash;