forked from qt-creator/qt-creator
QmlJSScriptConsole: Refactored ScriptConsole, added functionality.
The ScriptConsole is renamed to QmlJSScriptConsole. The console can be used to evaluate expressions during a QML application debug session. Changes: * Console can be used even when application is not on a debug break * The object context is the currently selected object in Inspector * ContextMenu has a Clear option * Multiple line expressions are supported * Traverse Command History using up and down arrow keys Change-Id: I4e1cd8763d60be43dbba395ead2a9a086d6bab7d Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
include($$PWD/../../../libs/qmljsdebugclient/qmljsdebugclient.pri)
|
||||
include($$PWD/../../../libs/qmljs/parser/parser.pri)
|
||||
include($$PWD/../../../shared/json/json.pri)
|
||||
DEFINES += JSON_INCLUDE_PRI
|
||||
|
||||
@@ -8,15 +9,18 @@ HEADERS += \
|
||||
$$PWD/qmldebuggerclient.h \
|
||||
$$PWD/qmljsprivateapi.h \
|
||||
$$PWD/qmlcppengine.h \
|
||||
$$PWD/scriptconsole.h \
|
||||
$$PWD/qmljsscriptconsole.h \
|
||||
$$PWD/qscriptdebuggerclient.h \
|
||||
$$PWD/qmlv8debuggerclient.h
|
||||
$$PWD/qmlv8debuggerclient.h \
|
||||
$$PWD/interactiveinterpreter.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qmlengine.cpp \
|
||||
$$PWD/qmladapter.cpp \
|
||||
$$PWD/qmldebuggerclient.cpp \
|
||||
$$PWD/qmlcppengine.cpp \
|
||||
$$PWD/scriptconsole.cpp \
|
||||
$$PWD/qmljsscriptconsole.cpp \
|
||||
$$PWD/qscriptdebuggerclient.cpp \
|
||||
$$PWD/qmlv8debuggerclient.cpp
|
||||
$$PWD/qmlv8debuggerclient.cpp \
|
||||
$$PWD/interactiveinterpreter.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user