Project

General

Profile

Actions

Support #3553

closed

navigation

Added by Anonymous about 10 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Anonymous
Target version:
Start date:
08/30/2014
Due date:
% Done:

0%

Estimated time:

Description

Hello,

I would need some help in navigation topic. I read this:

http://www.webtoolkit.eu/widgets/navigation and some other articles from here:

http://redmine.webtoolkit.eu/projects/wt/wiki and I still don't know one thing and without that I cannot go on.

I did a simple page which a menu on the left side and three forms on the right side like you can see here:

Menu:

  • searching * 3 forms *
  • register * according to *
  • login * menu *

If the user is ready with the registration (for example) presses the OK button.

At this point I want a totally new page using 0y newPage_widget_container from newPage.h which is never used.

I mean I want to remove the current menu and the three forms.

Which architecture should I use? Do you have a simple example code?

Should I init the newPage.h somehow? Set a link in that? Or should I add to the previous widget tree and play with the visibility?

In the gallery I didn't find it. And there are lots of page with lots of good example, but I cannot understand it's dynamic, which architecture the best.

I'm new and I don't have Qt experience.

PLease if you have any idea write me.

Thanks, Tamás

Actions #1

Updated by Wim Dumon about 10 years ago

  • Status changed from New to Resolved

Hi Tamas,

It sounds like you want to clear WApplication::root(). This would be like:

wApp->root()->clear();
new newPage_widget_container(wApp->root());

Best regards,

Wim.

Actions #2

Updated by Koen Deforche about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF