Quote Originally Posted by stan_fr View Post
Well : it would be a very clever solution but QTextEdit does not have any signal related to mouse buttons ...

I can find in which QTextEdit I am by mapping the cursor position to global coordinates and finding which QTextEdit it belongs to but I envisonned something "cleaner" ...

Thanks anyway.
Yes, that's why I suggested emitting the signal from an event handler.

And again, you should have a look at QSignalMapper before going too much further.