forked from qt-creator/qt-creator
ScriptConsole: Use QTreeView
Use QTreeView instead of modified QPlainTextEdit to show the console. Using a QTreeView gives more control over output display as well as separates out the model from the view. Change-Id: I436b13ed042c00d09d6de627b442bfd8d10d2236 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -10,7 +10,12 @@ HEADERS += \
|
||||
$$PWD/qscriptdebuggerclient.h \
|
||||
$$PWD/qmlv8debuggerclient.h \
|
||||
$$PWD/interactiveinterpreter.h \
|
||||
$$PWD/qmlv8debuggerclientconstants.h
|
||||
$$PWD/qmlv8debuggerclientconstants.h \
|
||||
$$PWD/consoletreeview.h \
|
||||
$$PWD/consoleitemmodel.h \
|
||||
$$PWD/consoleitemdelegate.h \
|
||||
$$PWD/consoleeditor.h \
|
||||
$$PWD/consolebackend.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/qmlengine.cpp \
|
||||
@@ -20,5 +25,10 @@ SOURCES += \
|
||||
$$PWD/qmljsscriptconsole.cpp \
|
||||
$$PWD/qscriptdebuggerclient.cpp \
|
||||
$$PWD/qmlv8debuggerclient.cpp \
|
||||
$$PWD/interactiveinterpreter.cpp
|
||||
$$PWD/interactiveinterpreter.cpp \
|
||||
$$PWD/consoletreeview.cpp \
|
||||
$$PWD/consoleitemmodel.cpp \
|
||||
$$PWD/consoleitemdelegate.cpp \
|
||||
$$PWD/consoleeditor.cpp \
|
||||
$$PWD/consolebackend.cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user