HI,
i have designed a WidgetStack (with qtDesigner) with two page and I assinged them a name: page1 and page2 (this pages are QWidget, from desinger 'object explorer' I see this) .
I'd like to do this:
[code]
Qt Code:
  1. QHBoxLayout *l = new QHBoxLayout(this->Page1);
  2. l->addWidget(myWidget3,0,0);
  3. this->WidgetStack->raiseWidget(Page1);
To copy to clipboard, switch view to plain text mode 
This don't work and MultipleView appear blank and mywidget3 appear in a small square on toolbar! Page2 is visible but I have insert on it a mywidget from designer...
Why this?

This below works but I'd like make different...
Qt Code:
  1. WidgetStack->raiseWidget( myWidget3 );
To copy to clipboard, switch view to plain text mode 
Thanks