This doesn't work. I have tried it..
This assigns the selected layout to the parent widget (instance of
QTabWidget) not to the tab-page.
tab page still shows Missing layout icon

Regards,
Ygesh Upreti

Message: 2
Date: Fri, 17 Sep 2010 08:27:37 +0200
From: "Nicolas Arnaud-Cormos" <[email protected]>
Subject: Re: [Qt-creator] How to assign Layout to Tab widget
To: [email protected]
Message-ID: <[email protected]>
Content-Type: Text/Plain;  charset="iso-8859-15"

On Friday 17 September 2010 00:38:10 yogesh upreti wrote:
> Hallo Group,
> I want in my application to add horizontal layout in one of the tab (part
> of a QTabWidget).
> Qt-Creator is not letting me do that.
> Is there any tricks there?
> I can select all widgets and put them in a Layout, but when I want to
> assign a layout to the whole tab (one of the tab of the tab widget), It's
> not working

Hi,

You need to select the tab (either by clicking on an empty area or in the
object panel), and then choose the layout you want.
You'll see the icon chnages in the object panel, with your new icon (instead
of the "missing layout" icon).

Cheers,
Nicolas
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to