Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickpincharea_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 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
4#ifndef QQUICKPINCHAREA_P_H
5#define QQUICKPINCHAREA_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <qevent.h>
19
20#include "qquickitem_p.h"
21#include "qquickpincharea_p.h"
22
24
25class QQuickPinch;
27{
28 Q_DECLARE_PUBLIC(QQuickPinchArea)
29public:
32 {
33 }
34
36
37 void init()
38 {
39 Q_Q(QQuickPinchArea);
40 q->setAcceptTouchEvents(true);
41 q->setFiltersChildMouseEvents(true);
42 }
43
44 bool enabled : 1;
45 bool inPinch : 1;
46 bool pinchRejected : 1;
48 bool initPinch : 1;
49 int id1 = -1;
50 QQuickPinch *pinch = nullptr;
67};
68
70
71#endif // QQUICKPINCHAREA_P_H
72
Definition qlist.h:74
\inmodule QtCore\reentrant
Definition qpoint.h:214
QList< QEventPoint > touchPoints
Combined button and popup list for selecting options.
GLenum GLenum GLsizei const GLuint GLboolean enabled
GLdouble GLdouble GLdouble GLdouble q
Definition qopenglext.h:259
double qreal
Definition qtypes.h:92