Hi all, I would like to use item delegates to both display and edit items using QAbstractTableModel/QTableView. I was able to get my specialised widget used when the user *edit* the field but I would like to have the same widget used for displaying the field as well.
My QStyledItemDelegate based delegated reimplements these functions: - createEditor - setEditorData - setModelData - updateEditorGeometry I would like to know if the only way to have my widget used for both the display role and the edit role is to reimplement as well paint() and sizeHint(). If not, can anyone point me at docs or example? Thanks, Chris _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest