Results 1 to 3 of 3

Thread: Multi Window Application in QT

  1. #1
    Join Date
    Dec 2010
    Posts
    2
    Qt products
    Qt4
    Platforms
    Maemo/MeeGo

    Default Multi Window Application in QT

    Hi all,
    I am very new to QT. I have to develop a three window application. The first window is a home window. I need to go to the other two windows from the home window and need to do some processing. and at any time it should be possible to come back to the home window from these two windows. At any time only one window should be shown by the application. Which way should I use. I have searched in the Net and I could not find any question in need of such a case. Am I wrong? Please help me.

  2. #2
    Join Date
    May 2010
    Posts
    61
    Thanks
    2
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Multi Window Application in QT

    Hi,

    Have a look at QStackedWidget. You can add multiple widgets (application screens) to it and you can change at any time to the desired one.

    Also check the Config Dialog Example.

    regards,
    wladek
    One second is long, everything longer than two seconds is definitely too long.

  3. #3
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Multi Window Application in QT

    use a QStackedWidget as your top main window and put all the other three windows in the stackwidget. then you can move between them easily.

    EDIT: too late.

Similar Threads

  1. multi page Application
    By ilpaso in forum Qt Programming
    Replies: 2
    Last Post: 3rd September 2010, 09:36
  2. A multi-windowed application with Qt
    By ouekah in forum Newbie
    Replies: 4
    Last Post: 13th April 2010, 15:44
  3. multi layer application
    By gpuntoni in forum Newbie
    Replies: 2
    Last Post: 11th January 2010, 17:30
  4. Multi-window document structure
    By JariV in forum Newbie
    Replies: 2
    Last Post: 16th February 2009, 20:42
  5. Multi Window Application in QT/C++
    By pshah.mumbai in forum Newbie
    Replies: 8
    Last Post: 8th July 2008, 17:21

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.