Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeimage / data / qtbug_16389.qml
1 import QtQuick 1.0
2 Rectangle {
3     width: 400
4     height: 400
5
6     Item {
7         anchors.top: parent.top
8         anchors.left: parent.left
9         anchors.bottom: blueHandle.top
10         anchors.right: blueHandle.left
11
12         Image {
13             id: iconImage
14             objectName: "iconImage"
15             anchors.top: parent.top
16             anchors.bottom: parent.bottom
17             source: "heart200.png"
18             fillMode: Image.PreserveAspectFit
19             smooth: true
20         }
21     }
22
23     Rectangle {
24         id: blueHandle
25         objectName: "blueHandle"
26         color: "blue"
27         width: 25
28         height: 25
29     }
30 }