Stage {
title: "Application title"
width: 250
height: 400
scene: Scene {
content: VBox {
spacing: 10
content: bind for(i in [1..8]){
Group {
content: [
Rectangle{
fill: Color.BLUE
width: 100
height: 50
},
ImageView {
image: Image{
url: "http://www.google.com/intl/en_ALL/images/logo.gif"
backgroundLoading: true
}
fitWidth: 40
fitHeight: 40
smooth: true
cache: true
}]
}
}
}
}
}
Change backgroundLoading from true to false to see the effects between synchronous and asynchronous loading
title: "Application title"
width: 250
height: 400
scene: Scene {
content: VBox {
spacing: 10
content: bind for(i in [1..8]){
Group {
content: [
Rectangle{
fill: Color.BLUE
width: 100
height: 50
},
ImageView {
image: Image{
url: "http://www.google.com/intl/en_ALL/images/logo.gif"
backgroundLoading: true
}
fitWidth: 40
fitHeight: 40
smooth: true
cache: true
}]
}
}
}
}
}
Change backgroundLoading from true to false to see the effects between synchronous and asynchronous loading