[Qt-interest] How to Make a TabWidget a `CentralWidget' ?

Robin Krahl robin at rkrahl.de
Thu Apr 8 13:28:24 CEST 2010


On 08.04.2010 13:15, Aaron Lewis wrote:
> That's my Problem , how to set make another Widget inside TabWidget be
> central ?

One way that will work should be using e. g. a QHBoxLayout for your
TabWidget with another Widget as the only widget using this layout (and
setting the Widget’s size policy to Expanding). But maybe there’s a
nicer method?

-- 
Robin Krahl <robin at rkrahl.de>
http://rkrahl.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100408/23e62e1c/attachment.bin 


More information about the Qt-interest-old mailing list