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
qquickpresshandler_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 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 QQUICKPRESSHANDLER_P_P_H
5#define QQUICKPRESSHANDLER_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
18#include <QtCore/qpoint.h>
19#include <QtCore/qbasictimer.h>
20#include <QtCore/private/qglobal_p.h>
21
22#include <memory>
23
25
26class QQuickItem;
27class QMouseEvent;
28class QTimerEvent;
29
31{
36
38 bool isActive();
39
40 static bool isSignalConnected(QQuickItem *item, const char *signalName, int &signalIndex);
41
42 QQuickItem *control = nullptr;
45 bool longPress = false;
49 std::unique_ptr<QMouseEvent> delayedMousePressEvent = nullptr;
50};
51
53
54#endif // QQUICKPRESSHANDLER_P_P_H
\inmodule QtCore
Definition qbasictimer.h:18
\inmodule QtGui
Definition qevent.h:196
\inmodule QtCore\reentrant
Definition qpoint.h:217
The QQuickItem class provides the most basic of all visual items in \l {Qt Quick}.
Definition qquickitem.h:63
\inmodule QtCore
Definition qcoreevent.h:366
auto signalIndex
Combined button and popup list for selecting options.
struct _cl_event * event
QGraphicsItem * item
void mousePressEvent(QMouseEvent *event)
void timerEvent(QTimerEvent *event)
void mouseMoveEvent(QMouseEvent *event)
void mouseReleaseEvent(QMouseEvent *event)
std::unique_ptr< QMouseEvent > delayedMousePressEvent
static bool isSignalConnected(QQuickItem *item, const char *signalName, int &signalIndex)