View Single Post
Posts: 207 | Thanked: 552 times | Joined on Jul 2011
#30
Originally Posted by Fuzzillogic View Post
Then you will reach nirvana when you try QML :P Example:

Code:
Label {
  text:  myImage.status != Image.Error ? "Loading..." : "Error :("
  visible: myImage.status != Image.Ready
}

Image {
  id: myImage // See? No quotes! A new language construct!
  source: "http://example.com/image.png"
}
You're preaching to the converted