Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickmultipointhandler_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QQUICKPOINTERMULTIHANDLER_P_H
6#define QQUICKPOINTERMULTIHANDLER_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
22
24
25class Q_QUICK_EXPORT QQuickMultiPointHandlerPrivate : public QQuickPointerDeviceHandlerPrivate
26{
27 Q_DECLARE_PUBLIC(QQuickMultiPointHandler)
28
29public:
30 static QQuickMultiPointHandlerPrivate* get(QQuickMultiPointHandler *q) { return q->d_func(); }
31 static const QQuickMultiPointHandlerPrivate* get(const QQuickMultiPointHandler *q) { return q->d_func(); }
32
33 QQuickMultiPointHandlerPrivate(int minPointCount, int maxPointCount);
34
35 QMetaProperty &xMetaProperty() const;
36 QMetaProperty &yMetaProperty() const;
37
38 QVector<QQuickHandlerPoint> currentPoints;
39 QQuickHandlerPoint centroid;
40 int minimumPointCount;
41 int maximumPointCount;
42 mutable QMetaProperty xProperty;
43 mutable QMetaProperty yProperty;
44};
45
46QT_END_NAMESPACE
47
48#endif // QQUICKPOINTERMULTIHANDLER_P_H