Saether Jan-Arve schreef op 15-6-2014 01:17:
> With the above caveats in mind, I am therefore wondering if it isn't a better
> API to either strictly limit it to QGroupBox+QFormLayout hierarchies or
> create a separate QWidget subclass that ensures this.
>
That would make it much less useful, IMH
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
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 horizontal or
>> > vertical is an awesome bi
development@qt-project.org
Emne: [Development] New class for QtWidgets: ColumnResizer
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
On 2014-06-13 12:48, Oswald Buddenhagen 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 horizontal or
>>> vertical is an awesome bikeshed, as we have seen in various discussions
>>>
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 horizontal or
> > vertical is an awesome bikeshed, as we have seen in variou
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 it would not be better to have that as an API
>
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 it would not be better to have that as an API
> >> > within QGridLayout such as
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(QGridLayout*)
>>
>> The class works wi
Ziller Eike schreef op 13-6-2014 09:51:
> On Jun 12, 2014, at 6:51 PM, 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
On Jun 12, 2014, at 6:51 PM, 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(QGridLayout
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(QGridLayout*)
>
> The class works with QFormLayout as well, so I don't
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 adjus
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?
But just wondering if it would not be better to have that as an API within
QGridLayout such as
QGrid
Great to hear!
Any suggestion for the class name? I have been told ColumnResizer is not
very intuitive.
Aurélien
Knoll Lars wrote:
> Hi Aurélien,
>
> Nice. I like the idea of having something that keeps the widths
> consistent. So a +1 to take it into Qt Widgets from my side :)
>
> Cheers,
>
Hi Aurélien,
Nice. I like the idea of having something that keeps the widths
consistent. So a +1 to take it into Qt Widgets from my side :)
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 ac
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
17 matches
Mail list logo