Hello all,
I've created a QTreeView with a custom model (so I can't use QTreeWidget) and I'd like to use a custom widget I've made for one of the columns. I saw a previous post in the forums that said that the best method is to use a delegate (rather than setIndexWidget() which will be slow for many items). I've written a custom delegate, and by reimplementing the paint event for the delegate, I'm able to get my widget drawn properly in the column. However, when I click on the widget, it doesn't do anything (not getting mouse events?). My custom widget is somewhat similar to a QComboBox, you can click on it and a custom popup will come up. In any case, does anyone know have any ideas about how to get my widget to receive mouse events?
Thanks!
Bookmarks