[Development] QTreeView: vertical bar between columns

Laszlo Papp lpapp at kde.org
Tue May 17 17:51:14 CEST 2022

> What is required is a widget or mode of a widget that combines both
> abilities.
QTreeView already sort of does that, although badly. Basically, a header
makes it look like a table, but it is also a tree. That is why I think the
feature request is valid. It should either not have a header or header
formatting for this, and then you can argue body formatting is moot, or if
it has header and header formatting, then the body formatting ought to be

As explained on Jira, I personally feel like this is either in Qt proper or
nowhere. I do not think anyone in an app would like to add this code,
simply because of maintenance overhead for everyone. But if it is in the
library itself done in one place and once, not in potentially many places,
the same repetitive code, then I think everyone, needing it, would be keen
to use it.

I mean it is not accidental that multiple people request this. To be
honest, I did not care, but my customers did.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220517/0e40d69a/attachment.htm>

More information about the Development mailing list