PDA

View Full Version : Example for QMouseEvent Transistion



gunturrohith
10th November 2015, 04:51
Hi

I am trying to implement the QMouseEventTransition Class in my sample program but i am unable to write in a correct way.
I am looking for some examples that can help me to learn about the implementation of QMouseEventTransition,can any one please share me the example code that can help me to understand about QMouseEventTransition Class.

Thanks in advance,
Rohith.G

anda_skoa
10th November 2015, 09:00
I don't think there is a QMouseEventTransition class, but if you mean using QEventTransition to trigger on a certain mouse event then you need to derive from that class and implement eventTest() so that it returns true when the event that you are looking for is passed to the function.

Cheers,
_