[Development] QTreeView: vertical bar between columns

André Somers andre at familiesomers.nl
Tue May 17 12:00:54 CEST 2022


Hi,

On 16-05-2022 23:26, Laszlo Papp wrote:
> Hi,
>
> Was just wondering if it was okay to add a property for drawing 
> vertical bar between columns in the body of the QTreeView. Our 
> customer has requested this as otherwise it was challenging to 
> visually separate the columns.
>
> It looks like jpn had a fairly trivial paintEvent implementation for 
> this, so should not be hard to add: 
> https://www.qtcentre.org/threads/8684-how-to-show-vertical-lines-between-colums
>
> Kind regards,
> László
>
Doesn't this belong in the style instead?

Cheers,

André



More information about the Development mailing list