import Qt 4.7 /** * This creates the logo bar on the top */ Rectangle { id: logoBar z: 1 anchors.topMargin: 4 width: main.width height: logo.height color: parent.border.color PropertyAnimation { id: anim target: logo running: false property: "rotation" from: 0 to: 360 duration: 10000 } MouseArea { anchors.fill: parent onClicked: { anim.start() } } /** * This has the image */ Image { id: logo anchors.horizontalCenter: parent.horizontalCenter source: "vihrea.png" height: 57 width: 100 } }