I am trying to create a button delegate in the first column of a tableview that launches a dialog to edit the data in the row of the button.
I get the delegate button. But, since setEditorData is not called by the clicked event of the button, I don't see how to get the data to fill in on the dialog.
I can't see that the clicked event has access to the index or the model.
Can anyone give me some tips or point me to an example?
All the examples I've found are either just creating a button delegate or a spin box for a particular cell of the table.
Regards,
Mac
Bookmarks