Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2012

    Calling a stackedwinow from another window


    I started to created a standard example and do not know how to proceed.

    I have created a new .qml file, ExitDialog.qml that contain a PageStackWindow with the id "myExitWindow"

    I want this window to be showed when the user press a button on the start window (main.qml)

    I tried a numerous variants to access it
    onClicked: {


    but always ends up with the runtime error

    ..../main.qml:24: ReferenceError: Can't find variable: myExitWindow

    How do I make main.qml aware of the PageStackWindow in the file ExitDialog.qml


  2. #2
    Registered User
    Join Date
    Sep 2012

    Re: Calling a stackedwinow from another window

    If your other .qml file is named ExitDialog.qml you do this for the button

    onClicked: {

Similar Threads

  1. Open new window when button on main-window is clicked
    By ShahriarNK in forum [Archived] Qt SDKs and Tools
    Replies: 4
    Last Post: 2010-12-23, 07:39
  2. calling like window
    By rokroff in forum Symbian
    Replies: 1
    Last Post: 2010-08-01, 09:06
  3. Replies: 7
    Last Post: 2009-02-04, 12:44
  4. Replies: 3
    Last Post: 2008-08-11, 05:11
  5. How to change call window instead of default window.....
    By parikhnirav.aits in forum Symbian
    Replies: 7
    Last Post: 2008-07-28, 05:38

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts