|
@ -58,7 +58,7 @@ Rectangle { |
|
|
Settings { |
|
|
Settings { |
|
|
id: splitSettings |
|
|
id: splitSettings |
|
|
property alias transactionLogHeight: transactionLog.height |
|
|
property alias transactionLogHeight: transactionLog.height |
|
|
property alias callStackHeight: callStack.height |
|
|
property alias callStackHeight: callStackRect.height |
|
|
property alias storageHeightSettings: storageRect.height |
|
|
property alias storageHeightSettings: storageRect.height |
|
|
property alias memoryDumpHeightSettings: memoryRect.height |
|
|
property alias memoryDumpHeightSettings: memoryRect.height |
|
|
property alias callDataHeightSettings: callDataRect.height |
|
|
property alias callDataHeightSettings: callDataRect.height |
|
@ -154,18 +154,19 @@ Rectangle { |
|
|
id: statesLayout |
|
|
id: statesLayout |
|
|
spacing: machineStates.sideMargin |
|
|
spacing: machineStates.sideMargin |
|
|
|
|
|
|
|
|
RowLayout { |
|
|
Rectangle { |
|
|
// step button + slider |
|
|
// step button + slider |
|
|
id: buttonRow |
|
|
id: buttonRow |
|
|
spacing: machineStates.sideMargin |
|
|
|
|
|
height: 27 |
|
|
height: 27 |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
|
|
|
color: "transparent" |
|
|
|
|
|
|
|
|
Rectangle { |
|
|
Rectangle { |
|
|
height: parent.height |
|
|
anchors.top: parent.top |
|
|
|
|
|
anchors.bottom: parent.bottom |
|
|
|
|
|
anchors.left: parent.left |
|
|
color: "transparent" |
|
|
color: "transparent" |
|
|
Layout.minimumWidth: stateListContainer.width |
|
|
width: stateListContainer.width |
|
|
Layout.maximumWidth: stateListContainer.width |
|
|
|
|
|
RowLayout { |
|
|
RowLayout { |
|
|
anchors.horizontalCenter: parent.horizontalCenter |
|
|
anchors.horizontalCenter: parent.horizontalCenter |
|
|
id: jumpButtons |
|
|
id: jumpButtons |
|
@ -245,9 +246,11 @@ Rectangle { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Rectangle { |
|
|
Rectangle { |
|
|
|
|
|
anchors.top: parent.top |
|
|
|
|
|
anchors.bottom: parent.bottom |
|
|
|
|
|
anchors.right: parent.right |
|
|
|
|
|
width: debugInfoContainer.width |
|
|
color: "transparent" |
|
|
color: "transparent" |
|
|
Layout.fillWidth: true |
|
|
|
|
|
height: parent.height |
|
|
|
|
|
Slider { |
|
|
Slider { |
|
|
id: statesSlider |
|
|
id: statesSlider |
|
|
anchors.fill: parent |
|
|
anchors.fill: parent |
|
@ -324,7 +327,6 @@ Rectangle { |
|
|
Component { |
|
|
Component { |
|
|
id: renderDelegate |
|
|
id: renderDelegate |
|
|
Item { |
|
|
Item { |
|
|
|
|
|
|
|
|
Rectangle { |
|
|
Rectangle { |
|
|
radius: 4 |
|
|
radius: 4 |
|
|
anchors.fill: parent |
|
|
anchors.fill: parent |
|
@ -334,8 +336,6 @@ Rectangle { |
|
|
|
|
|
|
|
|
RowLayout { |
|
|
RowLayout { |
|
|
id: wrapperItem |
|
|
id: wrapperItem |
|
|
height: 20 |
|
|
|
|
|
//width: parent.width |
|
|
|
|
|
anchors.fill: parent |
|
|
anchors.fill: parent |
|
|
spacing: 5 |
|
|
spacing: 5 |
|
|
|
|
|
|
|
@ -365,6 +365,7 @@ Rectangle { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Rectangle { |
|
|
Rectangle { |
|
|
|
|
|
id: debugInfoContainer |
|
|
width: parent.width * 0.6 - machineStates.sideMargin |
|
|
width: parent.width * 0.6 - machineStates.sideMargin |
|
|
anchors.top : parent.top |
|
|
anchors.top : parent.top |
|
|
anchors.bottom: parent.bottom |
|
|
anchors.bottom: parent.bottom |
|
@ -409,7 +410,7 @@ Rectangle { |
|
|
title : qsTr("Stack") |
|
|
title : qsTr("Stack") |
|
|
itemDelegate: Item { |
|
|
itemDelegate: Item { |
|
|
id: renderedItem |
|
|
id: renderedItem |
|
|
height: 25 |
|
|
//height: 25 |
|
|
width: parent.width |
|
|
width: parent.width |
|
|
RowLayout |
|
|
RowLayout |
|
|
{ |
|
|
{ |
|
@ -428,7 +429,7 @@ Rectangle { |
|
|
anchors.leftMargin: 5 |
|
|
anchors.leftMargin: 5 |
|
|
font.family: "monospace" |
|
|
font.family: "monospace" |
|
|
color: "#4a4a4a" |
|
|
color: "#4a4a4a" |
|
|
text: model.index; |
|
|
text: styleData.row; |
|
|
font.pointSize: 9 |
|
|
font.pointSize: 9 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -439,7 +440,6 @@ Rectangle { |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
Layout.minimumWidth: 15 |
|
|
Layout.minimumWidth: 15 |
|
|
Layout.preferredWidth: 15 |
|
|
Layout.preferredWidth: 15 |
|
|
Layout.maximumWidth: 60 |
|
|
|
|
|
Layout.minimumHeight: parent.height |
|
|
Layout.minimumHeight: parent.height |
|
|
Text { |
|
|
Text { |
|
|
anchors.left: parent.left |
|
|
anchors.left: parent.left |
|
@ -447,7 +447,7 @@ Rectangle { |
|
|
font.family: "monospace" |
|
|
font.family: "monospace" |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
color: "#4a4a4a" |
|
|
color: "#4a4a4a" |
|
|
text: modelData |
|
|
text: styleData.value |
|
|
font.pointSize: 9 |
|
|
font.pointSize: 9 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -477,18 +477,82 @@ Rectangle { |
|
|
{ |
|
|
{ |
|
|
id: callStackRect; |
|
|
id: callStackRect; |
|
|
color: "transparent" |
|
|
color: "transparent" |
|
|
height: 120 |
|
|
Layout.minimumHeight: 25 |
|
|
width: parent.width |
|
|
Layout.maximumHeight: 800 |
|
|
Layout.minimumHeight: 120 |
|
|
|
|
|
Layout.maximumHeight: 400 |
|
|
|
|
|
onHeightChanged: machineStates.updateHeight(); |
|
|
onHeightChanged: machineStates.updateHeight(); |
|
|
CallStack { |
|
|
DebugInfoList |
|
|
anchors.fill: parent |
|
|
{ |
|
|
id: callStack |
|
|
id: callStack |
|
|
onFrameActivated: Debugger.displayFrame(index); |
|
|
collapsible: true |
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
title : qsTr("Call Stack") |
|
|
|
|
|
enableSelection: true |
|
|
|
|
|
onRowActivated: Debugger.displayFrame(index); |
|
|
|
|
|
itemDelegate: |
|
|
|
|
|
Item { |
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
color: "#4A90E2" |
|
|
|
|
|
visible: styleData.selected; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
RowLayout |
|
|
|
|
|
{ |
|
|
|
|
|
id: row |
|
|
|
|
|
anchors.fill: parent |
|
|
|
|
|
Rectangle |
|
|
|
|
|
{ |
|
|
|
|
|
color: "#f7f7f7" |
|
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
Layout.minimumWidth: 30 |
|
|
|
|
|
Layout.maximumWidth: 30 |
|
|
|
|
|
Text { |
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
|
|
anchors.left: parent.left |
|
|
|
|
|
font.family: "monospace" |
|
|
|
|
|
anchors.leftMargin: 5 |
|
|
|
|
|
color: "#4a4a4a" |
|
|
|
|
|
text: styleData.row; |
|
|
|
|
|
font.pointSize: 9 |
|
|
|
|
|
width: parent.width - 5 |
|
|
|
|
|
elide: Text.ElideRight |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
Rectangle |
|
|
|
|
|
{ |
|
|
|
|
|
color: "transparent" |
|
|
|
|
|
Layout.fillWidth: true |
|
|
|
|
|
Layout.minimumWidth: parent.width - 30 |
|
|
|
|
|
Layout.maximumWidth: parent.width - 30 |
|
|
|
|
|
Text { |
|
|
|
|
|
anchors.leftMargin: 5 |
|
|
|
|
|
width: parent.width - 5 |
|
|
|
|
|
wrapMode: Text.Wrap |
|
|
|
|
|
anchors.left: parent.left |
|
|
|
|
|
font.family: "monospace" |
|
|
|
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
|
|
|
color: "#4a4a4a" |
|
|
|
|
|
text: styleData.value; |
|
|
|
|
|
elide: Text.ElideRight |
|
|
|
|
|
font.pointSize: 9 |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Rectangle { |
|
|
|
|
|
anchors.top: row.bottom |
|
|
|
|
|
width: parent.width; |
|
|
|
|
|
height: 1; |
|
|
|
|
|
color: "#cccccc" |
|
|
|
|
|
anchors.bottom: parent.bottom |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
Rectangle |
|
|
Rectangle |
|
|
{ |
|
|
{ |
|
|
id: storageRect |
|
|
id: storageRect |
|
@ -505,28 +569,24 @@ Rectangle { |
|
|
title : qsTr("Storage") |
|
|
title : qsTr("Storage") |
|
|
itemDelegate: |
|
|
itemDelegate: |
|
|
Item { |
|
|
Item { |
|
|
height: 27 |
|
|
anchors.fill: parent |
|
|
width: parent.width; |
|
|
|
|
|
RowLayout |
|
|
RowLayout |
|
|
{ |
|
|
{ |
|
|
id: row |
|
|
id: row |
|
|
width: parent.width |
|
|
anchors.fill: parent |
|
|
height: 26 |
|
|
|
|
|
Rectangle |
|
|
Rectangle |
|
|
{ |
|
|
{ |
|
|
color: "#f7f7f7" |
|
|
color: "#f7f7f7" |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
Layout.minimumWidth: parent.width / 2 |
|
|
Layout.minimumWidth: parent.width / 2 |
|
|
Layout.preferredWidth: parent.width / 2 |
|
|
|
|
|
Layout.maximumWidth: parent.width / 2 |
|
|
Layout.maximumWidth: parent.width / 2 |
|
|
Layout.minimumHeight: parent.height |
|
|
|
|
|
Text { |
|
|
Text { |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
anchors.left: parent.left |
|
|
anchors.left: parent.left |
|
|
font.family: "monospace" |
|
|
font.family: "monospace" |
|
|
anchors.leftMargin: 5 |
|
|
anchors.leftMargin: 5 |
|
|
color: "#4a4a4a" |
|
|
color: "#4a4a4a" |
|
|
text: modelData.split('\t')[0]; |
|
|
text: styleData.value.split('\t')[0]; |
|
|
font.pointSize: 9 |
|
|
font.pointSize: 9 |
|
|
width: parent.width - 5 |
|
|
width: parent.width - 5 |
|
|
elide: Text.ElideRight |
|
|
elide: Text.ElideRight |
|
@ -537,9 +597,7 @@ Rectangle { |
|
|
color: "transparent" |
|
|
color: "transparent" |
|
|
Layout.fillWidth: true |
|
|
Layout.fillWidth: true |
|
|
Layout.minimumWidth: parent.width / 2 |
|
|
Layout.minimumWidth: parent.width / 2 |
|
|
Layout.preferredWidth: parent.width / 2 |
|
|
|
|
|
Layout.maximumWidth: parent.width / 2 |
|
|
Layout.maximumWidth: parent.width / 2 |
|
|
Layout.minimumHeight: parent.height |
|
|
|
|
|
Text { |
|
|
Text { |
|
|
anchors.leftMargin: 5 |
|
|
anchors.leftMargin: 5 |
|
|
width: parent.width - 5 |
|
|
width: parent.width - 5 |
|
@ -548,7 +606,7 @@ Rectangle { |
|
|
font.family: "monospace" |
|
|
font.family: "monospace" |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
anchors.verticalCenter: parent.verticalCenter |
|
|
color: "#4a4a4a" |
|
|
color: "#4a4a4a" |
|
|
text: modelData.split('\t')[1]; |
|
|
text: styleData.value.split('\t')[1]; |
|
|
elide: Text.ElideRight |
|
|
elide: Text.ElideRight |
|
|
font.pointSize: 9 |
|
|
font.pointSize: 9 |
|
|
} |
|
|
} |
|
|