[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: Reginald Stadlbauer <reggie () troll ! no>
Date: 1999-08-04 8:48:27
[Download RAW message or body]
On Wed, 04 Aug 1999, Stephan Kulow wrote:
>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.
He doesn't blame anyone, it's just a hint :-))
--
Reggie
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic