Results 1 to 4 of 4

Thread: Qt Window navigation

  1. #1
    Join Date
    Jul 2010
    Posts
    23
    Thanks
    5

    Default Qt Window navigation

    Hi there!

    I am a relatively newbie in Qt, and I am developing a small application that has 5 screens. We can navigate back and forth within the screens. We have first the main window and then some screens that we can reach pushing some buttons.

    MainWindow <-------> Window 1 <----------> Window 4
    |
    |<---> Window 2 <----------> Window 5
    |
    |<---> Window 3

    How can I implement this?? A "parent" MainWindow and some "child" Dialogs perhaps?? Is there any example implementing a navigation between some windows??

    Thanks and kind regards!

  2. #2
    Join Date
    Sep 2009
    Location
    Wroclaw, Poland
    Posts
    1,394
    Thanked 342 Times in 324 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Qt Window navigation


  3. #3
    Join Date
    Jul 2010
    Posts
    23
    Thanks
    5

    Default Re: Qt Window navigation

    Quote Originally Posted by stampede View Post
    Thanks for the early response stampede.

    One question about the QStackedWidget, are the added widgets active in memory?? I mean, if I have a widget that has some timers and slots inside, are they executing from the moment that are added to the stacked widget??

    Thakns again!

  4. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt Window navigation

    Quote Originally Posted by jbarrena View Post
    One question about the QStackedWidget, are the added widgets active in memory??
    Yes, all widgets that have been created and have not been destroyed yet are "alive".

    Cheers,
    _

Similar Threads

  1. QML screen navigation how to
    By anish in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 27th October 2013, 21:08
  2. Replies: 1
    Last Post: 21st February 2012, 09:30
  3. QML webview navigation
    By snake91 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 3rd December 2011, 13:22
  4. Replies: 3
    Last Post: 4th November 2011, 09:38
  5. page navigation
    By ningoji in forum Newbie
    Replies: 2
    Last Post: 5th April 2011, 11:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.