|
|
@ -101,6 +101,8 @@ Rectangle { |
|
|
|
|
|
|
|
|
|
|
|
Flickable { |
|
|
|
property int firstColumnWidth: 170 |
|
|
|
property int secondColumnWidth: 250 |
|
|
|
id: debugScrollArea |
|
|
|
flickableDirection: Flickable.VerticalFlick |
|
|
|
anchors.fill: parent |
|
|
@ -121,15 +123,18 @@ Rectangle { |
|
|
|
rowSpacing: 15 |
|
|
|
RowLayout { |
|
|
|
// step button + slider |
|
|
|
spacing: 10 |
|
|
|
spacing: machineStates.sideMargin |
|
|
|
height: 27 |
|
|
|
width: debugPanel.width |
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
height: parent.height |
|
|
|
color: "transparent" |
|
|
|
width: debugScrollArea.firstColumnWidth |
|
|
|
RowLayout { |
|
|
|
anchors.horizontalCenter: parent.horizontalCenter |
|
|
|
id: jumpButtons |
|
|
|
spacing: 15 |
|
|
|
width: 250 |
|
|
|
height: parent.height |
|
|
|
|
|
|
|
spacing: 3 |
|
|
|
StepActionImage |
|
|
|
{ |
|
|
|
id: jumpoutbackaction; |
|
|
@ -178,17 +183,16 @@ Rectangle { |
|
|
|
onClicked: Debugger.stepOutForward() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
Rectangle { |
|
|
|
color: "transparent" |
|
|
|
width: 250 |
|
|
|
width: debugScrollArea.secondColumnWidth |
|
|
|
height: parent.height |
|
|
|
Slider { |
|
|
|
id: statesSlider |
|
|
|
anchors.fill: parent |
|
|
|
tickmarksEnabled: true |
|
|
|
stepSize: 1.0 |
|
|
|
height: parent.height |
|
|
|
onValueChanged: Debugger.jumpTo(value); |
|
|
|
style: SliderStyle { |
|
|
|
groove: Rectangle { |
|
|
@ -214,11 +218,11 @@ Rectangle { |
|
|
|
// Assembly code |
|
|
|
width: debugPanel.width |
|
|
|
height: 405 |
|
|
|
spacing: 10 |
|
|
|
spacing: machineStates.sideMargin |
|
|
|
|
|
|
|
Rectangle |
|
|
|
{ |
|
|
|
width: 170 |
|
|
|
width: debugScrollArea.firstColumnWidth |
|
|
|
height: parent.height |
|
|
|
border.width: 3 |
|
|
|
border.color: "#deddd9" |
|
|
@ -243,7 +247,7 @@ Rectangle { |
|
|
|
radius: 4 |
|
|
|
height: statesList.currentItem.height |
|
|
|
width: statesList.currentItem.width; |
|
|
|
color: "#4b8fe2" |
|
|
|
color: "#4A90E2" |
|
|
|
Behavior on y { SpringAnimation { spring: 2; damping: 0.1 } } |
|
|
|
} |
|
|
|
} |
|
|
@ -277,7 +281,7 @@ Rectangle { |
|
|
|
} |
|
|
|
|
|
|
|
ColumnLayout { |
|
|
|
width: 250 |
|
|
|
width: debugScrollArea.secondColumnWidth |
|
|
|
height: parent.height |
|
|
|
Rectangle { |
|
|
|
// Info |
|
|
@ -458,8 +462,6 @@ Rectangle { |
|
|
|
radius: 3 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DebugInfoList { |
|
|
|
id: memoryDump |
|
|
|
width: debugPanel.width - 2 * machineStates.sideMargin |
|
|
|