Thank you, wysota.
But why do the following delegate doesn't work just for changing index:
mapper->setModel(model);
mapper->addMapping(comboCheckBox, model->fieldIndex("inj1"), "currentIndex");
mapper = new QDataWidgetMapper(this);
mapper->setModel(model);
mapper->setItemDelegate(new QSqlRelationalDelegate(this));
mapper->addMapping(comboCheckBox, model->fieldIndex("inj1"), "currentIndex");
To copy to clipboard, switch view to plain text mode
What is the use of manual delegate?
My editor (a la combo check box has the model already). To which another model I should delegate it?

Originally Posted by
anda_skoa
What is a combo check box?
It is a combo box with checkable items expect the title (first item).
Bookmarks