[Qt-interest] problem with custom widget and qdatamapperwidget
wim delvaux
wim.delvaux at adaptiveplanet.com
Wed Nov 23 12:26:57 CET 2011
Hi all,
I have this custom widget (subclass of QWidget) that groups together some
other widgets (checkbox and pushbutton).
That custom widget is used in a QDataMapperWidget to map some column of a
model to my custom widget.
I have a property that has read and write properties and also a notify
What I see is that the QDataMapperWidget does not seem to detect if my widget
loses focus. I.e. when the widget changes and I 'tab' to the next widget my
data does not get pushed to the underlying model.
I use a delegate of subclass type of QStyledItemDelegate.
What can be wrong here ?
W
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111123/2689f1c7/attachment.html
More information about the Qt-interest-old
mailing list