I have a table view within a window with many other widgets, and would like to disable other widgets if a field is edited within the table view. I would like to enable a commit button also.

Qt Code:
  1. sourcemodel = new QSqlRelationalTableModel();
  2. sourcemodel->setEditStrategy(QSqlTableModel::OnManualSubmit);
  3. model = new jobItemSortFilterProxyModel();
  4. model->setSourceModel(sourcemodel);
  5. sourcemodel->setTable("jobitem");
  6. sourcemodel->select();
To copy to clipboard, switch view to plain text mode 

Pretty straight forward. How can I pick up when the various delegates, ie. text edit or spin box change the data?

The dataChanged() signal fires when setData is called, not when editing begins.

Derek