Hi,
I am trying to develop and application that uses QStackedWidget and with the help of the toolbar the transition from one page to the other is achieved. Precisely, for the interface a central QStackedWidget object named mainWidow is used and the change from the currently active page [indicated by an icon in the toolbar] is achieved with the help of the toolbar. In one of the page [indicated by an icon in the toolbar] i want to add a tab widget/ tab bar. Each tab will contain a table QTableWidget.

I want to know how to do that and if anyone can share some example/skeleton codes. I have been able to make the QTWidget consiting of QTableWidget as a part of the mainWidow working, however when i am clueless on including these tables in a tab widget [QTabWidget] and the tab widget in turn as part of the central QStackedWidget controlled by the toolbar.


Any help is greatly appreciated..
Cheers