On 06/30/2013 06:31 PM, Den Jean wrote:
On Sunday, June 30, 2013 11:17:57 AM zeljko wrote:
I have some apps that uses touchscreen too (qtlcl), and there's nothing
I do not get touch events with qt lcl embedded (beaglebone),
I know about,
   QWidget_SetAttribute(QtHandle, QtWA_AcceptTouchEvents);
   QWidget_setAttribute(QtHandle,QtWA_StaticContents);
apparently it works under Windows (qt lcl again)

so where (OS ?) did you get touch event with qt lcl

I didn't say that I'm handling touch events, context was about resized some controls for easy handling with touch screens (scrollbars, buttons, height of list items etc etc).

I am now looking at all the qt lcl eventfilters, perhaps
something there could be the cause, but it is not clear

in a straight fpc qt4 binding program I get touch
events without problems.

I'm using only standard mouse events: click/dbl click atm, for more we must go with bindings to at least 4.6 (gestures and other stuff added).

zeljko


--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to