I have a treemodel implemented where I can edit the fields, basically copied the Qt example. How can I call getOpenFileName when I double click on a field, instead of editing the field? I don't know where to look?
thanks.
I have a treemodel implemented where I can edit the fields, basically copied the Qt example. How can I call getOpenFileName when I double click on a field, instead of editing the field? I don't know where to look?
thanks.
look for edit triggers and signals. Disable the first and with the second "call" a custom slot where you call getOpenFileName.
thanks, this worked. I was attempting to change something in the model instead of in the view!
Bookmarks