PDA

View Full Version : Drawing multiple screens with some widgets in it



arunvv
17th March 2008, 23:37
How to draw multiple screens using designer?
I will be using three Buttons, when I click on each button it has to show a screen related to that button, erasing previous screen. Screen will have some widgets like labels and text fields in it to display images or values.

One screen with some widgets can be drawn using MainWindow, but for multiple screens with the same ui form without using tabwidgets, I have no idea. I should not use tabs, it has to show a screen on clicking a button, if I click another button previous screen has to be erased completely(but not buttons) and redraw the screen related that clicked button.

How can I do that?
Please help me out.

Thanks & Regards,
Arun.

jacek
17th March 2008, 23:43
Try QStackedWidget.

arunvv
17th March 2008, 23:49
Thanks jacek, this is what I exactly looking for.

Thanks & Regards,
Arun.