[Development] New class for QtWidgets: ColumnResizer

Matthew Woehlke mw_triad at users.sourceforge.net
Fri Jun 13 22:18:46 CEST 2014

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
>>> about splitters. my thinking was "width is horizontal on the screen".
> a workable solution would be adding a new
> enum Dimension { Width, Height }.
> conveniently, this would also apply to the splitter case.

FWIW, that was also my knee-jerk reaction. (Similar, anyway... I
actually like your names better than what I came up with initially.)

(p.s. Bonus points if this can be set up and visualized in Designer!)


More information about the Development mailing list