Results 1 to 4 of 4

Thread: Menu Screen in Qt

  1. #1
    Join Date
    Feb 2013
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Menu Screen in Qt

    Hello all!

    This is my first post in this community. I hope to have a nice time here.

    Okay now about my problem I am facing while working with Qt.

    I am trying to make a menu screen for my Desktop application. The menu screen would have options like 'New', 'Settings', 'About' and 'Exit'. I am able to handle the about option by making a popup when the button is clicked. But for the 'New' option, I want that the menu screen goes away and some other screen appears on the same window. How can I do that?

    I tried to hide the window and open a new window but that doesn't look nice. Can you please suggest me how can I do that? A code example would be very much appreciated.

    Thanks in Advance
    Vijay

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Menu Screen in Qt

    Have a look at QStackedWidget.

  3. #3
    Join Date
    May 2008
    Location
    Tripoli Libya
    Posts
    70
    Thanks
    10
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Menu Screen in Qt

    mythtv had perfect screen menu if you asking for screen menu
    if not check mainmenu examples for your Qt
    http://code.mythtv.org/trac

  4. #4
    Join Date
    Feb 2013
    Posts
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Menu Screen in Qt

    Thanks for you replies.

    I'll try it myself now and would let you know.

    Thank you!

Similar Threads

  1. Closing out a animated context menu from any active screen
    By bob2oneil in forum Qt Programming
    Replies: 5
    Last Post: 25th February 2011, 17:46
  2. Replies: 3
    Last Post: 25th January 2011, 13:36
  3. Replies: 0
    Last Post: 19th January 2011, 03:29
  4. Replies: 2
    Last Post: 11th June 2010, 07:23
  5. Replies: 0
    Last Post: 13th April 2010, 19:27

Tags for this Thread

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.