import QtQuick 1.0 Item { id: root property real value : 0 // 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" } Rectangle { color: "blue" x:0;y:0; width:10;height:10 } 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 { x: 21; y: 18; source: "overlay.png" } }