Hey, 2010/10/26 Raindog <[email protected]>: >> void navBarChanged(int tabClicked) >> { >> Wt::WLayoutItem *item = layout->itemAt(Wt::WBorderLayout::Center);
Does delete item work ? >> layout->removeItem(item); >> layout->addWidget(tabbedControls[tabClicked], >> Wt::WBorderLayout::Center); >> } >> > So I've done some more searching and it looks like what I would really > need is the ability to set the WStackedWidget in WTabWidget to one that > I have already constructed, and hence can give to a layout of my > choosing. Since the parts of the WTabWidget interface that are important > are private, besides copy paste and creating a MyTabWidget, does anyone > have any other suggestions that I can do to accomplish this? I think we should simply extend the API for this, if that helps you ? Regards koen ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
