The item has a sceneEventFilter() method not eventFilter(). And you have to install an event filter to use it. But I'd really suggest to use mousePressEvent(). Intercepting events for yourself in the event filter doesn't make much sense. Is there any particular reason why you don't want to implement the functionality in the event handler?





Reply With Quote

Bookmarks