i am using the QTreeView with my custom model, and i need to know when the user triggers edit on the view, so i could send the data.
the problem is that QTreeView seems to send Qt::displayRole for both display and edit.
this is rather problematic, since i am also using some custom data types - i want to send a QString for displayRole and the real data for editRole (to send to my custom delegate)

is there a workaround this ? i'd prefer not to write an entire view just for this tiny detail...