Pergunta

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

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top