Hi!

I've got a custom model and a custom delegate. The delegate (for Qt.DisplayRole) instantiates a widget with a label and a button. See the attached screenshot for visualization: screenshot.png

If the widget is shown f.ex. in a listview I cannot press the button. Is there a way that I can interact with a control on the widget if it is not shown in edit-mode?

The other attachment is a show case for the issue in PyQt code: showcase_listview_mouse.py

Thanks in advance!