summaryrefslogtreecommitdiffstats
path: root/examples/declarative/imageprovider/imageprovider.qml
blob: a1f2794dd296c9683cd15068aae7d6f2a5e142f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import Qt 4.6
import ImageProviderCore 1.0
//![0]
ListView {
    width: 100
    height: 100
    anchors.fill: parent
    model: myModel
    delegate: Component {
        Item {
            width: 100
            height: 50
            Text {
                text: "Loading..."
                anchors.centerIn: parent
            }
            Image {
                source: modelData
            }
        }
    }
}
//![0]