1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-31 21:22:58 +08:00

55 lines
1023 B
QML
Raw Normal View History

2019-08-03 20:51:11 +08:00
import QtQuick 2.12
import QtQuick.Controls 2.12
import TaoQuick 1.0
2020-06-13 00:26:44 +08:00
import "qrc:/TaoQuick"
2019-08-03 20:51:11 +08:00
Item {
anchors.fill: parent
Rectangle {
x: 10
width: 100
height: 160
color: "red"
}
TRoundRect {
id: roundRect
x: 40
y: 10
width: 200
height: 160
radius: 40
leftTopRound: lt.checked
rightTopRound: rt.checked
leftBottomRound: lb.checked
rightBottomRound: rb.checked
color: "#A0333666"
}
Grid {
x: 300
y: 10
columns: 2
spacing: 10
CheckBox {
id: lt
text: "LeftTop"
checked: true
}
CheckBox {
id: rt
text: "RightTop"
checked: true
}
CheckBox {
id: lb
text: "LeftBottom"
checked: true
}
CheckBox {
id: rb
text: "rightBottom"
checked: true
}
}
}