Skip to content

Commit

Permalink
支持参数选择
Browse files Browse the repository at this point in the history
  • Loading branch information
TalusL committed Jun 11, 2024
1 parent 8fc1a93 commit 030a4ff
Showing 1 changed file with 40 additions and 1 deletion.
41 changes: 40 additions & 1 deletion qml/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,46 @@ ApplicationWindow {
Rectangle {
// Size of the background adapts to the text size plus some padding
width: 190
height: actionText.height + 10
height: countText.height + 10
color: "#1c80c9"

Text {
id: countText
x: 5
anchors.verticalCenter: parent.verticalCenter
text: "WFB Pkt/Air Pkt"
font.pixelSize: 16
color: "#ffffff"
}
}
Row {
padding:5
width: 190
Text {
id: wfbPktCountText
x: 5
text: "0"
font.pixelSize: 32
color: "#000000"
}
Text {
x: 5
text: "/"
font.pixelSize: 32
color: "#000000"
}
Text {
id: airPktCountText
x: 5
text: "0"
font.pixelSize: 32
color: "#000000"
}
}
Rectangle {
// Size of the background adapts to the text size plus some padding
width: 190
height: logText.height + 10
color: "#1c80c9"

Text {
Expand Down

0 comments on commit 030a4ff

Please sign in to comment.