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
qquickdeliveryagent_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 QQUICKDELIVERYAGENT_P_H
5#define QQUICKDELIVERYAGENT_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 <QtQuick/private/qtquickglobal_p.h>
19
20#include <QtQml/qqml.h>
21#include <QtQml/private/qqmlglobal_p.h>
22
23#include <QtCore/qobject.h>
24#include <QtGui/qevent.h>
25
27
28class QQuickItem;
30
31class Q_QUICK_EXPORT QQuickDeliveryAgent : public QObject
32{
34 Q_DECLARE_PRIVATE(QQuickDeliveryAgent)
35
36public:
37 struct Q_QUICK_EXPORT Transform
38 {
39 virtual ~Transform();
40 virtual QPointF map(const QPointF &point) = 0;
41 };
42
44 virtual ~QQuickDeliveryAgent();
45
46 QQuickItem *rootItem() const;
47
49 void setSceneTransform(Transform *transform);
50 bool event(QEvent *ev) override;
51
53
54private:
55 Q_DISABLE_COPY(QQuickDeliveryAgent)
56};
57
58#ifndef QT_NO_DEBUG_STREAM
59QDebug Q_QUICK_EXPORT operator<<(QDebug debug, const QQuickDeliveryAgent *da);
60#endif
61
63
64#endif // QQUICKDELIVERYAGENT_P_H
\inmodule QtCore
\inmodule QtCore
Definition qcoreevent.h:45
\inmodule QtCore
Definition qobject.h:103
\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
Combined button and popup list for selecting options.
struct _cl_event * event
GLuint GLenum GLenum transform
QDebug Q_QUICK_EXPORT operator<<(QDebug debug, const QQuickDeliveryAgent *da)
const QQuickItem * rootItem(const I &item)
#define Q_OBJECT
#define Q_SIGNALS
rect sceneTransform().map(QPointF(0
virtual QPointF map(const QPointF &point)=0