Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Grid{
- id: myGrid
- rows: 4
- columns: 1
- spacing: 50
- anchors.centerIn: parent
- Image {
- id: circleImage
- source: "circle.png"
- // the CircleCollider has its origin in the center, not top-left
- Text { anchors.centerIn: parent
- font.pointSize: 48; text: accelerometer.steps }
- }
- Label {
- id: labelSteps
- text: "Schritte"
- }
- Image {
- id: circleImage2
- source: "circle2.png"
- Text { anchors.centerIn: parent
- font.pointSize: 48; text: accelerometer.distance}
- }
- Label {
- id: labelDistance
- text: "km"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement