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

Hans Meine meine at informatik.uni-hamburg.de
Wed Nov 17 07:54:33 GMT 2010


Op den Dingsdag 16 November 2010 Klock 19:21:08 hett James Polk schreven:
> I'm trying to figure out how embed a pushButton (with iconic image
> preferrably) in the first column of a TableView (or TreeView in
> QSortFilterProxyModel).

AFAIK, this is exactly what widget delegates are for.
  http://doc.qt.nokia.com/4.4/model-view-delegate.html

HTH,
  Hans


More information about the PyQt mailing list