Re: [Qt-creator] How to assign Layout to Tab widget

2010-09-17 Thread Nicolas Arnaud-Cormos
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

-- 
Nicolas Arnaud-Cormos | nicolas.arnaud-cor...@kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to assign Layout to Tab widget

2010-09-17 Thread yogesh upreti
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 nicolas.arnaud-cor...@kdab.com
Subject: Re: [Qt-creator] How to assign Layout to Tab widget
To: qt-creator@trolltech.com
Message-ID: 201009170827.38707.nicolas.arnaud-cor...@kdab.com
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
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] How to assign Layout to Tab widget

2010-09-17 Thread Coda Highland
Did you try selecting the tab page in the object inspector?

/s/ Adam

On Fri, Sep 17, 2010 at 6:02 AM, yogesh upreti yogesh.upr...@gmail.com wrote:
 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 nicolas.arnaud-cor...@kdab.com
 Subject: Re: [Qt-creator] How to assign Layout to Tab widget
 To: qt-creator@trolltech.com
 Message-ID: 201009170827.38707.nicolas.arnaud-cor...@kdab.com
 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
 Qt-creator@trolltech.com
 http://lists.trolltech.com/mailman/listinfo/qt-creator



___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


[Qt-creator] How to assign Layout to Tab widget

2010-09-16 Thread yogesh upreti
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

If someone put some light in this issue?

Regds,
Yogesh Upreti
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator