PDA

View Full Version : hover event issue



sajis997
1st August 2011, 17:14
Hello forum,

I have a customized QGraphicsItem where i have set the following options to accept hover events:



setAcceptHoverEvents(true);


The idea is that when i drag the item into the customized QGraphicsView it should be selected and the corresponding brush effect will be shown. When the user hover the mouse over the selected item, another color will be chosen for the brush.


The strange thing is that when i run the application while debugging i see the effect i am looking for, but when i run the application i do not get the effect.


Any hint?


Regards
Sajjad