PDA

View Full Version : multi page Application



ilpaso
3rd September 2010, 08:35
Hi all,
I'm developing a multi page application.
For example I've 3 pages: Main, settings, actions. Each page have some textfield and buttons, example: BackButton, OkButton, SaveButton. As you can understand when the user presses a button there is an action that involves a page change.
I designed the 3 panels with QtDesigner and now I need to implement the logic flow.
I do not know how to menage the pages flow with signals and slots.
Do I need a Main class where there are the 3 page istances?

What is the better and standard way in order to develop an application like this?

Thank you in advance

ilpaso

Lykurg
3rd September 2010, 08:53
Have a look at QStackedWidget or QWizzard, depending what you need.

ilpaso
3rd September 2010, 09:36
Thanks Lykurg,
sorry for the stupid question but often the only way to solve with an easy solution is ask to experts.

ilpaso