forked from qt-creator/qt-creator
QmlDebugging: Show Object Tree in Console
Show QML/Javascript objects as a tree when evaluated in the console. Change-Id: I42901bf9bda3f18fb9fb1ca309a8370ccbe37c0a Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -53,6 +53,7 @@ class QmlAdapter;
|
||||
|
||||
namespace Internal {
|
||||
|
||||
class QtMessageLogItem;
|
||||
class QmlEnginePrivate;
|
||||
|
||||
class QmlEngine : public DebuggerEngine
|
||||
@@ -182,6 +183,8 @@ private:
|
||||
|
||||
void updateEditor(Core::IEditor *editor, const QTextDocument *document);
|
||||
bool canEvaluateScript(const QString &script);
|
||||
QtMessageLogItem *constructLogItemTree(const QVariant &result,
|
||||
const QString &key = QString());
|
||||
|
||||
private:
|
||||
friend class QmlCppEngine;
|
||||
|
||||
Reference in New Issue
Block a user