|
|
|
@ -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 { |
|
|
|
|
id: logView |
|
|
|
|
headerVisible: false |
|
|
|
@ -169,6 +136,7 @@ Rectangle { |
|
|
|
|
|
|
|
|
|
model: logModel |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
Slider { |
|
|
|
|
id: logLevelSlider |
|
|
|
@ -193,7 +161,10 @@ Rectangle { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
property var logModel: ListModel { |
|
|
|
|
id: logModel |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function addDebugMessage(message){ |
|
|
|
|
debuggerLog.append({value: message}) |
|
|
|
|