views:

38

answers:

1

How do i set a custom background color for certain rows in a QFileSystemModel applied on a QTreeView?

+1  A: 

you can use setData method and Qt::BackgroundColorRole to achieve that. This should work.

Kamil Klimek