[PyQt] table model and pixmap

Scott Frankel frankel at circlesfx.com
Tue Sep 9 05:56:50 BST 2008


Hello,

Can anyone point me to documentation &/or examples for setting pixmaps  
in a table view that gets its data from a table model?

I have a table view I populate from a QSqlRelationalTableModel  
instance.  One of the model's data fields is an absolute path to small  
thumbnail images on disk.  I'd like to intercept the model's data for  
the image paths and paint the images as pixmaps in one of the columns  
of cells of the table view.

Thanks in advance!
Scott




More information about the PyQt mailing list