summaryrefslogtreecommitdiffstats
path: root/examples/declarative/imageprovider/imageprovider.qml
blob: f899b1e93c8e7bdba5d8beaacc38affeb2184f66 (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" 
//![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]