aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-04-15 05:08:15 +0800
committerMaran <maran.hidskes@gmail.com>2014-04-15 05:08:15 +0800
commit91c75c9305e7554c21e84ed1a07ec0e750bb775a (patch)
treedc6a8983ffd5b2344f8adf45b45c0722c69804aa /ethereal/assets
parent28a48f1d9a751c00f6bf6be198fc30ad792abf6f (diff)
downloaddexon-91c75c9305e7554c21e84ed1a07ec0e750bb775a.tar.gz
dexon-91c75c9305e7554c21e84ed1a07ec0e750bb775a.tar.zst
dexon-91c75c9305e7554c21e84ed1a07ec0e750bb775a.zip
Adding log messages to debug panel
Diffstat (limited to 'ethereal/assets')
-rw-r--r--ethereal/assets/qml/wallet.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml
index c3ddfe4b8..2d2a9db9f 100644
--- a/ethereal/assets/qml/wallet.qml
+++ b/ethereal/assets/qml/wallet.qml
@@ -412,6 +412,17 @@ ApplicationWindow {
model: memModel
}
+ SplitView {
+ orientation: Qt.Vertical
+ anchors.fill: parent
+ TableView {
+ property var debuggerLog: ListModel {
+ id: debuggerLog
+ }
+ TableViewColumn{ role: "value"; title: "Debug messages" }
+ model: debuggerLog
+ }
+ }
TableView {
property var stackModel: ListModel {
id: stackModel
@@ -449,6 +460,10 @@ ApplicationWindow {
function setStack(stack) {
stackModel.append({value: stack})
}
+ function addDebugMessage(message){
+ console.log("WOOP:")
+ debuggerLog.append({value: message})
+ }
function clearStack() {
stackModel.clear()