[PyKDE] QTableView cell

Dave Fancella dave at davefancella.com
Fri Dec 29 05:09:37 GMT 2006


On Thursday 28 December 2006 11:06 pm, Aljosa Mohorovic wrote:
> i'm using QSqlTableModel and QTableView to display and edit database table
> data. is it possible for a QTableView cell to display richtextbox or
> similar instead of current "one-line-input" box?
>
> any guidelines howto create something similar?

Check out QItemDelegate, that's what you're wanting.  You can use it in a 
QTreeView too.  Really nice.  :)

Dave




More information about the PyQt mailing list