Skip to content

Instantly share code, notes, and snippets.

@dridk
Created November 25, 2012 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dridk/4144537 to your computer and use it in GitHub Desktop.
Save dridk/4144537 to your computer and use it in GitHub Desktop.
main.qml
// Default empty project template
import bb.cascades 1.0
import org.labsquare 1.0
// creates one page with a label
Page {
Container {
layout: DockLayout {}
WebImageView {
id:img
url:"http://syvolc.briolet.fr/wp-uploads/2010/11/qt-logo1.jpg"
horizontalAlignment: HorizontalAlignment.Center
}
ProgressIndicator {
value: img.loading
verticalAlignment: VerticalAlignment.Center
horizontalAlignment: HorizontalAlignment.Center
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment