[Qt-interest] QDataWidgetMapper unable to deal with NULL values?

bar tomas bartomas at gmail.com
Wed Jan 20 12:22:02 CET 2010


Hi,

I'm using QDataWidgetMapper to navigate through the records of a
database table with a form-like interface with mappings between the
widgets and the table columns.
The problem is that whenever any of the table columns that are mapped
to a widget in the form have a NULL value, the record isn't displayed
at all. When I navigate to the next record the QDataWidgetMapper just
skips a record if it contains any NULL values.Is this a bug or is
QDataWidgetMapper unable to deal with NULL  values?
Many thanks



More information about the Qt-interest-old mailing list