<div dir="ltr"><div><div><div>Hi,<br><br></div>I'm trying to grab gestures (pan, pinch) in a QML item I made by subclassing QDeclarativeItem and then qmlregistertype-ing it to import it in the QML code. I managed to get the item drawing implementing the "paint" slot and everything is just fine, except that I cannot grab any gesture on it.<br>
<br></div>I have included grabGesture(Qt::PanGesture) in the class constructor and implemented the "event" slot, but I get no gesture events!<br><br>Is there something I am missing? I followed the guidelines at <a href="http://www.developer.nokia.com/Community/Wiki/Custom_Swipe_Gestures_in_Qt">http://www.developer.nokia.com/Community/Wiki/Custom_Swipe_Gestures_in_Qt</a> but had no luck at all.<br>
<br></div>Any help is appreciated.<br><br>Thanks in advance, regards...<br><div><div><div><br><br><br clear="all"><div><div>...Mariano Boragno...</div>
</div></div></div></div></div>