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:
model = new jobItemSortFilterProxyModel(); model->setSourceModel(sourcemodel); sourcemodel->setTable("jobitem"); 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
Bookmarks