Hey,
from the doc of QTouchEvent read this:
Has anyone an idea, how to disable the default behaviour of translating the fist non-primary touch point into a mouse event?Event Delivery and Propagation
By default, QWidget::event() translates the first non-primary touch point in a QTouchEvent into a QMouseEvent. This makes it possible to enable touch events on existing widgets that do not normally handle QTouchEvent. See below for information on some special considerations needed when doing this.
Further the docs explains:
How to interpretMouse Events and the Primary Touch Point
QTouchEvent delivery is independent from that of QMouseEvent. On some windowing systems, mouse events are also sent for the primary touch point. This means it is possible for your widget to receive both QTouchEvent and QMouseEvent for the same user interaction point. You can use the QTouchEvent::TouchPoint::isPrimary() function to identify the primary touch point.How can i identify the way my OS(Win7) handles this?On some windowing systems, mouse events are also sent for the primary touch point.
Anyone any ideas on this?
Thanks for help
Bookmarks