- 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"
- }
- }
SHARE
TWEET
Untitled
a guest
Aug 18th, 2015
202
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RAW Paste Data
