[Qt-interest] QGridLayout

Constantin Makshin cmakshin at gmail.com
Mon Dec 14 19:12:38 CET 2009


Use addLayout() method of the parent layout.

On Mon, 14 Dec 2009 07:32:08 +0300, MacUser S <macos_user at yahoo.com> wrote:
> Hi,
>
> I've a problem converting QGridLayout from Qt3 to Qt4. All works fine  
> but I
> don't know how to handle Q3GridLayout::Q3GridLayout(QLayout *  
> parentLayout,
> int nRows = 1, int nCols = 1, int spacing = -1, const char * name = 0)  
> since
> there is no constructor QGridLayout::QGridLayout(QLayout  
> *parentLayout).Is there any method to setParent Layout?
>
> Please help me.
>
> Thanks.

-- 
Constantin Makshin



More information about the Qt-interest-old mailing list