[Qt-interest] QTreeView change item color howto

André Somers andre at familiesomers.nl
Thu Mar 5 09:01:55 CET 2009


Hi,

"Paulo Jnkml" <paulo.jnkml at gmail.com> schreef in bericht 
news:49AE8FDC.7040706 at gmail.com...
> Hi,
> in a QTreeView, is it possible to change the row item color individually? 
> How?

Yes. You do that by setting the appropriate data roles from your model.

André
 




More information about the Qt-interest-old mailing list