try this
Qt Code:
graphicsView->viewport()->setMouseTracking(true);To copy to clipboard, switch view to plain text mode
try this
Qt Code:
graphicsView->viewport()->setMouseTracking(true);To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
graphicsView->viewport()->setMouseTracking(true); doesn't help too...
then, prepare compilable example which reproduces the problem and post it.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
I have fixed the problem. The reason was that I implemented my own GrpahicsView and I had implemented the mouse events in my GraphicsView too.
It works perfect as soon as I remove the mouse events from MyGraphicsView.
Thanks for your answers.
Bookmarks