ouekah
6th March 2010, 16:38
Hi guys,
I have QStackedWidget object with 3 pages. There several different widgets in every pages and QStackedWidget ensures that only one page at a time is visible.
Nevertheless I would like these pages to share one common QListWidget. This list displays results that should be visible no matter in where page the user is. So I created one QListWidget that I passed in all pages. But it looks like only the last page displays the widget. Of course if I remove the widget from the last page, the widget is then visible in the second page but not in the first one.
I guess this is related to the QStackedWidget properties. But I'm wondering whether there is a way for this widget to be visible in all pages.
Any ideas ?
I have QStackedWidget object with 3 pages. There several different widgets in every pages and QStackedWidget ensures that only one page at a time is visible.
Nevertheless I would like these pages to share one common QListWidget. This list displays results that should be visible no matter in where page the user is. So I created one QListWidget that I passed in all pages. But it looks like only the last page displays the widget. Of course if I remove the widget from the last page, the widget is then visible in the second page but not in the first one.
I guess this is related to the QStackedWidget properties. But I'm wondering whether there is a way for this widget to be visible in all pages.
Any ideas ?