How to detect data changes in Widgets and to transfer them to DB? QDataWidgetMapper and QSqlTableModel are used.
Now changes are detect manually through connect textChanged(QString &) - for QLineEdit, editTextChanged(QString &) - for QComboBox, etc. It is possible to automate or make uniform detecting data changes?
Now changes are transfer through QSqlTableModel::setRecord(int,const QSqlRecord &). It is possible to make it through the delegate?