import QtQuick 1.0 Item { id: root property real value : 0 property url bezel:"" // width: 200; height: 200 Image { anchors.fill:parent source: "alt2.png" } Image { id: needle10 x: (root.width/2)-(width/2); y:(root.width/2) transformOrigin: Item.Top scale: root.width / 300 rotation: 180+root.value*0.36 smooth: true source: "needle1.png" } Image { id: needle1 x: (root.width/2)-(width/2); y:(root.width/2) transformOrigin: Item.Top scale: root.width / 300 rotation: 180+root.value*3.6 smooth: true source: "needle2.png" } Image { id:bezelImg anchors.fill:parent source: bezel } }