Commit cf999c46 authored by obscuren's avatar obscuren

Cleaned up

parent dc944f75
...@@ -357,7 +357,7 @@ ApplicationWindow { ...@@ -357,7 +357,7 @@ ApplicationWindow {
anchors.right: parent.right anchors.right: parent.right
model: ListModel { model: ListModel {
ListElement { text: "Snippets" ; value: "" } ListElement { text: "Snippets" ; value: "" }
ListElement { text: "Call Contract" ; value: "var[2] in;\nvar ret;\n\nin[0] = \"arg1\"\nin[1] = 0xdeadbeef\n\nvar success = call(0x0c542ddea93dae0c2fcb2cf175f03ad80d6be9a0, 0, 7000, in, ret)\n\nreturn ret" } ListElement { text: "Call Contract" ; value: "var[2] in = { \"arg1\", 0xdeadbeef };\nvar ret;\n\nvar success = call(0x0c542ddea93dae0c2fcb2cf175f03ad80d6be9a0, 0, 7000, in, ret)\n\nreturn ret" }
} }
onCurrentIndexChanged: { onCurrentIndexChanged: {
if(currentIndex != 0) { if(currentIndex != 0) {
......
...@@ -459,7 +459,6 @@ ...@@ -459,7 +459,6 @@
g_seed++; g_seed++;
console.log(data)
navigator.qt.postMessage(JSON.stringify(data)); navigator.qt.postMessage(JSON.stringify(data));
} }
......
...@@ -121,40 +121,7 @@ Rectangle { ...@@ -121,40 +121,7 @@ Rectangle {
} }
} }
Slider { /*
id: logLevelSlider
value: gui.getLogLevelInt()
anchors {
right: parent.right
top: parent.top
bottom: parent.bottom
rightMargin: 5
leftMargin: 5
topMargin: 5
bottomMargin: 5
}
orientation: Qt.Vertical
maximumValue: 5
stepSize: 1
onValueChanged: {
gui.setLogLevel(value)
}
}
}
property var logModel: ListModel {
id: logModel
}
/*
RowLayout {
id: logLayout
width: parent.width
height: 200
anchors.bottom: parent.bottom
TableView { TableView {
id: logView id: logView
headerVisible: false headerVisible: false
...@@ -169,6 +136,7 @@ Rectangle { ...@@ -169,6 +136,7 @@ Rectangle {
model: logModel model: logModel
} }
*/
Slider { Slider {
id: logLevelSlider id: logLevelSlider
...@@ -193,7 +161,10 @@ Rectangle { ...@@ -193,7 +161,10 @@ Rectangle {
} }
} }
} }
*/
property var logModel: ListModel {
id: logModel
}
function addDebugMessage(message){ function addDebugMessage(message){
debuggerLog.append({value: message}) debuggerLog.append({value: message})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment