PDA

View Full Version : Menu Screen in Qt



royal121
18th February 2013, 12:36
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

Lykurg
18th February 2013, 13:18
Have a look at QStackedWidget.

alrawab
18th February 2013, 13:25
mythtv had perfect screen menu if you asking for screen menu
if not check mainmenu examples for your Qt
http://code.mythtv.org/trac

royal121
18th February 2013, 16:36
Thanks for you replies.

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

Thank you!