Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickwheelhandler_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
4#ifndef QQUICKWHEELHANDLER_P_P_H
5#define QQUICKWHEELHANDLER_P_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
20#include <QtCore/qbasictimer.h>
21
23
25{
26 Q_DECLARE_PUBLIC(QQuickWheelHandler)
27
28public:
29 static QQuickWheelHandlerPrivate* get(QQuickWheelHandler *q) { return q->d_func(); }
30 static const QQuickWheelHandlerPrivate* get(const QQuickWheelHandler *q) { return q->d_func(); }
31
33
34 QMetaProperty &targetMetaProperty() const;
35
37 qreal activeTimeout = 0.1;
38 qreal rotationScale = 1;
39 qreal rotation = 0; // in units of degrees
40 qreal targetScaleMultiplier = 1.25992104989487; // qPow(2, 1/3)
44 mutable bool metaPropertyDirty = true;
45 bool invertible = true;
46 bool targetTransformAroundCursor = true;
47 bool blocking = true;
49};
50
52
53#endif // QQUICKWHEELHANDLER_P_P_H
\inmodule QtCore
Definition qbasictimer.h:18
\inmodule QtCore
\qmlproperty real QtQuick::MouseEvent::x \qmlproperty real QtQuick::MouseEvent::y
static QQuickWheelHandlerPrivate * get(QQuickWheelHandler *q)
static const QQuickWheelHandlerPrivate * get(const QQuickWheelHandler *q)
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
Orientation
Definition qnamespace.h:98
@ Vertical
Definition qnamespace.h:100
GLdouble GLdouble GLdouble GLdouble q
Definition qopenglext.h:259
double qreal
Definition qtypes.h:187