When I replace my delegate by a simple QItemDelegate, the 'check' behavior is as I excepted, but when I had only the method:
def editorEvent(self, event, proxyModel, option, proxyIndex):
eventType = event.type()
if eventType
== QtCore.
QEvent.
MouseButtonDblClick: [...] # <- we do not care
return True
return False
def editorEvent(self, event, proxyModel, option, proxyIndex):
eventType = event.type()
if eventType == QtCore.QEvent.MouseButtonDblClick:
[...] # <- we do not care
return True
return False
To copy to clipboard, switch view to plain text mode
The check do not work anymore...
Any idea ?
Bookmarks