[PyQt] embedding iconic pushButton in TableView and/or TreeView

James Polk jpolk5001 at yahoo.com
Wed Nov 24 03:00:15 GMT 2010


Hans, I'm sure you're right, but I'm still a little dense about this, lol...

All the examples of spinDelegates that I've seen are using integers,
and are present in every cell...usually in QTableView...

I'm using QTreeView, and I only want a pushButton/Icon in the first
column,...I've spent about six hours trying different things...
I have a simple example using a TreeWidget just by itself...but I can't
seem to incorporate that into the larger program (QTreeView, and 
QSortFilterProxyModel).  I guess I'll back to my SummerField book
and start reading about delegates again...

Any help or advice would be very greatly appreciated,..
Cheers,
-James



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20101123/635792f3/attachment.html>


More information about the PyQt mailing list