[Qt-interest] QTableView doesn't use delegate
Timothy Reaves
treaves at silverfieldstech.com
Fri Dec 11 19:46:40 CET 2009
On Dec 11, 2009, at 1:35 PM, Timothy Reaves wrote:
> --snip--
> Well, it looks like the main differences are I call setItemDelegate(), not setItemDelegateForColumn(). I also don't implement updateEditorGeometry(). I'll play around with your code as see what I get.
>
Well, I was mistaken; the methods are being called. My error was in thinking the delegate methods would be called for display; that's not the case. They are called for editing. When called for editing, the widgets are over-layed on the display widget.
Now, I need to figure out how to get the widgets to be used for display as well.
More information about the Qt-interest-old
mailing list