[Development] New class for QtWidgets: ColumnResizer

Aurélien Gâteau agateau at kde.org
Thu Jun 12 16:08:17 CEST 2014


Olivier Goffart wrote:

> On Thursday 12 June 2014 15:46:42 Aurélien Gâteau wrote:
>> Great to hear!
>> 
>> Any suggestion for the class name? I have been told ColumnResizer is not
>> very intuitive.
> 
> Perhaps QLayoutAligner?

I have the feeling this does not convey the idea that the class adjusts 
widths of widgets inside layouts rather than adjusting layouts themselves.

> But just wondering if it would not be better to have that as an API within
> QGridLayout such as
>   QGridLayout::setAlignedWith(QGridLayout*)

The class works with QFormLayout as well, so I don't think moving the 
feature into QGridLayout would be a good idea.

Aurélien





More information about the Development mailing list