Re: Showing different pages
You don't really need a different "page" for each team. What you probably need to think about is having one page, but changing the contents to reflect whichever team is currently selected. If you make a unique page for each team, then it makes it very hard for you to add new teams without rebuilding your program with new page widgets, new menus, etc.
If you want to be able to load and display the information for all of the teams at the same time, then using a QTabWidget as the "central widget" for your QMainWindow class would work, but each tab should still contain an instance of the same page widget that you fill with that team's information.
If you only want the information for a single team at a time, then don't use the tab widget, simply make the page widget the central widget for the main window. Use the slots connected to the menu items to change the content of this page according to which team was selected.
Re: Showing different pages
You can also use a QStackedWidget as the main window's central widget and then show the respective page on demand.
It is a bit like tab widget, just without visible tabs.
Cheers,
_
Re: Showing different pages
Thank you both for the suggestions. Maybe I described the problem from different point of view. I thought about static webpages where contents can be reached on different pages. I do actually want one page that can be used for every team, like d_stranz proposed. I know loocked up more detail on QStackedWidgetand I think this is what I am looking for. So if I design first page of the Stacked Widget than I can assign that this page is shown if "Team" is clicked, right ? And if I click "Transfer Market" than my second page will be shown with is design and contens. So if I design let's say 20 pages (for each menu and sub menu point), is this okay to do or will this make problems later when python programming will be applied?
Re: Showing different pages
That should be ok.
Cheers,
_