Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-17 Thread Aurélien Gâteau
Saether Jan-Arve wrote: > Hi > > I would really like to welcome the feature you present here, but I can see > that your idea has some caveats (some are sensible restrictions though), > but the API doesn't give any indication of that. > > The main caveats are: > > 1. The implementation is limite

Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-17 Thread Aurélien Gâteau
Oswald Buddenhagen wrote: > On Fri, Jun 13, 2014 at 04:46:34PM +0200, Aurélien Gâteau wrote: >> Oswald Buddenhagen wrote: >> > the default orientation is meant to link the width, as i think that's >> > the by far more common case. whether one calls that horizonta

Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-13 Thread Aurélien Gâteau
Oswald Buddenhagen wrote: > On Fri, Jun 13, 2014 at 10:39:34AM +0200, Aurélien Gâteau wrote: >> Oswald Buddenhagen wrote: >> > On Thu, Jun 12, 2014 at 04:08:17PM +0200, Aurélien Gâteau wrote: >> >> Olivier Goffart wrote: >> >> > But just wondering if

Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-13 Thread Aurélien Gâteau
Oswald Buddenhagen wrote: > On Thu, Jun 12, 2014 at 04:08:17PM +0200, Aurélien Gâteau wrote: >> Olivier Goffart wrote: >> > But just wondering if it would not be better to have that as an API >> > within QGridLayout such as >> > QGridLayout::setAlignedWith(

Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-12 Thread Aurélien Gâteau
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 n

Re: [Development] New class for QtWidgets: ColumnResizer

2014-06-12 Thread Aurélien Gâteau
> > Cheers, > Lars > > On 12/06/14 14:40, "Aurélien Gâteau" wrote: > >>Hi, >> >>Some time ago I created a class to help keeping columns of widgets to the >>same width across layouts, so that if you have two QGroupBoxes on top of >>each oth

[Development] New class for QtWidgets: ColumnResizer

2014-06-12 Thread Aurélien Gâteau
Hi, Some time ago I created a class to help keeping columns of widgets to the same width across layouts, so that if you have two QGroupBoxes on top of each others with form layouts, then you can ensure the label columns of both boxes are the same width. I proposed it for inclusion in the KWidg