Ok that's what I want...I try to use it and works fine. I 've only 2 problems...when I put a widget on the top, and I try to modify the properties of a qlabel of it, for example, the application crash! I don' know if this behaviour is releted to the wrong management of the qwidgetstack or no.
The other problem, may be related to the first, is using the method raiseWidget ( QWidget * w ).
I create:
MyWidget * myWid = new MyWidget (widgetStack)
widgetStack->addWidget(myWid, id)
but when I call
widgetStack-> raiseWidget (myWid)
to put the widget on top the application crash.
The only way is to use:
widgetStack-> raiseWidget (id)
Why?





Reply With Quote
Bookmarks