Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1.  
  2. CompletingComponent.qml
  3.  
  4. import Qt 4.7
  5.  
  6. Rectangle {
  7. width: 50
  8. height: 50
  9.  
  10. function fun2() { console.log("this too is so much fun!")}
  11. }
  12.  
  13.  
  14.  
  15.  
  16.  
  17. import Qt 4.7
  18.  
  19. Rectangle {
  20. id: root
  21. width: 640
  22. height: 480
  23.  
  24. function fun() { console.log("oh it's so fun!")}
  25.  
  26. CompletingComponent {
  27. id: inner
  28. }
  29.  
  30. Component.onCompleted: inner.fun2()
  31. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement