[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Usage of QLayout and QGroupBox in KDE
From:       Stephan Kulow <coolo () caldera ! de>
Date:       1999-08-04 7:58:26
[Download RAW message or body]

Matthias Ettrich wrote:
> 
> Hi,
> 
> I noticed one slightly annoying thing with KDE-2.0's layout management: very
> few groupboxes get the layout right.
> 
> Problem: the very first row often overlaps with the group box text.
> 
> Qt-2.0 makes groupbox layouting finally easier. Simply remove all your custom
> layout code for the groupbox and create the groupbox  with the new constructor:
> 
> 
> /*!
>   Constructs a group box with a \a title. Child widgets will be arranged
>   in \a strips rows or columns (depending on \a orientation).
> 
>   The \e parent and \e name arguments are passed to the QWidget constructor.
> */
> 
> QGroupBox::QGroupBox( int strips, Orientation orientation,
>                     const QString &title, QWidget *parent,
>                     const char *name )
> 
> That's it. Less code in KDE and looks nicer :-)
> 
Well, but you can hardly blame KDE programmers.

Greetings, Stephan

-- 
Better give your hours some more life than
your life some more hours. - anonymous

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic