[Interest] Disable highlighting in QTreeView

Igor Mironchik igor.mironchik at gmail.com
Tue Nov 13 16:34:35 CET 2018


Hi,

You can override

[virtual protected] voidQTreeView::drawRow(QPainter*painter, const 
QStyleOptionViewItem&option, const QModelIndex&index) const

On 13.11.2018 18:12, Nicolas Krieger wrote:
>
> Hi,
>
> Another question about QTreeView, how to disable row highlighting ?
>
> I could'nt find any solution without using css.
>
> -- 
> *Nicolas Krieger*
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181113/f3bdd7fb/attachment.html>


More information about the Interest mailing list