Advertisement
tasuku

index.qml

Sep 12th, 2012
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. import QtQuick.Http 2.0
  2.  
  3. Http {
  4. id: root
  5. status: 200
  6. contentType: 'text/html'
  7.  
  8. Html {
  9. Head { title: 'QtQuick.Http 2.0 demo!' }
  10.  
  11. Body {
  12. H1 {
  13. Img { src: '/qt-logo.png'; style: 'vertical-align:middle' }
  14. Text { text: 'Have you ever thought about webpages written in QML?' }
  15. }
  16. Pre { text: "import QtQuick.Http 2.0
  17.  
  18. Http {
  19. id: root
  20. status: 200
  21. contentType: 'text/html'
  22.  
  23. Html {
  24. Head { title: 'QtQuick.Http 2.0 demo!' }
  25.  
  26. Body {
  27. H1 {
  28. Img { src: '/qt-logo.png'; style: 'vertical-align:middle' }
  29. Text { text: 'Have you ever thought about webpages written in QML?' }
  30. }
  31. Pre { text: '...' }
  32. Text { text: '<< Back' }
  33. Text { text: ' | ' }
  34. A { href: 'index2.qml'; text: 'Next >>' }
  35. }
  36. }
  37. }
  38. "
  39. }
  40. Text { text: '<< Back' }
  41. Text { text: ' | ' }
  42. A { href: 'index2.qml'; text: 'Next >>' }
  43. }
  44. }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement