TouchPointsTracer QML Type

The mouse/touches tracer for Neptune 3 UI. More...

Since: Qt 5.13



Detailed Description

The tracer is used to visualize touch points to help developers see if a touch-device was configured correctly. To enable this object, set the SHOW_TOUCH_POINTS environment variable to yes.

The code snippet below shows how to use TouchPointsTracer:

import QtQuick 2.10
import shared.utils 1.0

Window {
    id: root

    width: 80
    height: 80

    TouchPointsTracer {
        id: eventsListener
        target: root

Property Documentation

showCoords : bool

This property controls whether coordinates of touch visible or not.

target : var

This property contains the object that was added for event listening. If the target is changed, the previous one is unsubscribed.

© 2019 Luxoft Sweden AB. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.