PDA

View Full Version : Multi Window Application in QT



GopakumarG
20th April 2011, 07:22
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.:(

wladek
20th April 2011, 07:41
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 (http://doc.qt.nokia.com/latest/dialogs-configdialog.html).

regards,
wladek

nish
20th April 2011, 07:42
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.