1// Copyright (C) 2016 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 QGRAPHICSTRANSFORM_P_H
5#define QGRAPHICSTRANSFORM_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 for the convenience
12// of other Qt classes. 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 <QtWidgets/private/qtwidgetsglobal_p.h>
19#include "private/qobject_p.h"
20
21QT_REQUIRE_CONFIG(graphicsview);
22
23QT_BEGIN_NAMESPACE
24
25class QGraphicsItem;
26
27class QGraphicsTransformPrivate : public QObjectPrivate {
28public:
29 Q_DECLARE_PUBLIC(QGraphicsTransform)
30
31 QGraphicsTransformPrivate()
32 : QObjectPrivate(), item(nullptr) {}
33 ~QGraphicsTransformPrivate();
34
35 QGraphicsItem *item;
36
37 void setItem(QGraphicsItem *item);
38 static void updateItem(QGraphicsItem *item);
39};
40
41QT_END_NAMESPACE
42
43#endif // QGRAPHICSTRANSFORM_P_H
44

source code of qtbase/src/widgets/graphicsview/qgraphicstransform_p.h