QmlInspector: Fetch objects for location

Since the object tree is fetched lazily, we might have
objects whose debugIds are not known. In such cases,
objects can be fetched by passing the location info.

Change-Id: I2001460cc14401e011efef9be9194c9f7868d617
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-05-10 17:06:29 +02:00
parent 38905e523e
commit b9bc68c370
9 changed files with 121 additions and 14 deletions

View File

@@ -57,6 +57,9 @@ namespace QmlJS {
class ModelManagerInterface;
class IContextPane;
class LookupContext;
namespace AST {
class UiObjectMember;
}
}
/*!
@@ -127,7 +130,8 @@ public slots:
signals:
void outlineModelIndexChanged(const QModelIndex &index);
void selectedElementsChanged(QList<int> offsets, const QString &wordAtCursor);
void selectedElementsChanged(QList<QmlJS::AST::UiObjectMember*> offsets,
const QString &wordAtCursor);
void semanticInfoUpdated();
private slots: