[Qt-interest] ***SPAM*** Re: How to Make a TabWidget a `CentralWidget' ?

Ramesh ramesh.bs at robosoftin.com
Thu Apr 8 14:34:30 CEST 2010


I think,
You can create a frame, then make your table-widget as child of frame. Set
the frame as central widget
Try this, hope it might be helpful :)

-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Robin Krahl
Sent: Thursday, April 08, 2010 4:58 PM
To: qt-interest at trolltech.com
Subject: ***SPAM*** Re: [Qt-interest] How to Make a TabWidget a
`CentralWidget' ?

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


-----------------------------------------------
Robosoft Technologies - Come home to Technology

Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.



More information about the Qt-interest-old mailing list