yetien
20th August 2010, 22:41
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: 5091
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: 5092
Thanks in advance!
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: 5091
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: 5092
Thanks in advance!