PDA

View Full Version : QGraphicsTextItem mousePressEvent Right button creates a non desired menu



jano_alex_es
15th February 2010, 11:47
Hi,

I have created some QGraphicsTextItem and I'm having problems with them. I want to capture the right mouse clicks events in order to launch my own menu. But sometimes it launches another menu, one with the options"copy", "paste", "undo", "redo"...

How can I disable this menu? seems to be launched when the user clicks on the bounding rectangle but not in the text itself, how I can manage those events?

thanks!