[Qt-interest] custom data in a Delegate
Oszkar Ambrus
oszkar.ambrus at deri.org
Fri May 14 19:00:43 CEST 2010
Hi,
I'm writing a Delegate that uses a Widget to display and allow editing
of extra data that are not in the Model (I know this somewhat violates
the MVC pattern, but I still need it).
Should I do this with the createEditor() and editorEvent() functions?
(I obviously can not use setEditorData and setModelData as I work with
data that does not belong to the Model).
Is there a recommended way of doing this?
Thanks a lot,
Oszkar
More information about the Qt-interest-old
mailing list