[Development] QTreeView: vertical bar between columns

Laszlo Papp lpapp at kde.org
Tue May 17 15:19:50 CEST 2022


>
> As mentioned in the JIRA ticket: perhaps a treeview, which is designed to
> show rows of data, not cells of data, is not the right UI component for the
> job, and the problem you try to solve seems very application specific (I’m
> not aware of a native tree view on macOS or Windows that provides a strong
> visual border between columns; ie macOS’s folder has a specific Column view
> mode for that). Override the delegate and make each cell stand out more if
> you want, or override the view’s paintEvent and render whatever you want
> after the view is done. I don’t think this belongs into QTreeView.
>

I appreciate your views and answers, but hope you allow me to mention that
when you say it is not "cells of data", I start thinking... Actually, a
QHeaderView is "cells of data".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20220517/50033bf2/attachment.htm>


More information about the Development mailing list