[Qt-interest] QComboBox and QDataWidgetMapper

Timothy Reaves treaves at silverfieldstech.com
Sun Dec 27 21:37:19 CET 2009


	I have a form that uses a QDataWidgetMapper backed by a sql table.  On this form is a QComboBox.  I have a QItemDelegate subclass set as the delegate.  When a new row is selected in the table, the form updates.  Including the combo box.  So the delegate method setEditorData is being called.  However, when I select a new value in the combo box, the delegates setModelData method is not called.

	Do I need to do anything else to make this happen?



More information about the Qt-interest-old mailing list