Item {
id: control
property real value: 0
Rectangle {
id: rect1
width: parent.width / 2
height: parent.value
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: rect3.top
color: "green"
}
QML自定义控件: 温度计
最新推荐文章于 2023-07-30 22:18:51 发布