You don't have to subclass anything. You just need to connect some signals of your choice to a custom slot which will create a QDialog based dialog and fill it with widgets to edit the fields. All field data can be taken from the model itself using the record() method.
Bookmarks