Guest User

push deleting object

a guest
May 2nd, 2013
31
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // main.qml
  2.  
  3. ApplicationWindow{
  4. initialPage: InitialPage { }
  5. }
  6.  
  7.  
  8. // InitialPage.qml
  9.  
  10. Page {
  11. PullDownMenu{
  12. MenuItem{
  13. text: "Add page to stack"
  14. onClicked: pageStack.push(Qt.resolvedUrl("SomeOtherPage.qml"))
  15. }
  16. }
  17.  
  18. Component.onCompleted: console.log(controller.getSomeQObject("identifier"))
  19. }
RAW Paste Data