Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qgraphicstransform_p.h
Go to the documentation of this file.
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
24
25class QGraphicsItem;
26
28public:
29 Q_DECLARE_PUBLIC(QGraphicsTransform)
30
32 : QObjectPrivate(), item(nullptr) {}
34
36
38 static void updateItem(QGraphicsItem *item);
39};
40
42
43#endif // QGRAPHICSTRANSFORM_P_H
The QGraphicsItem class is the base class for all graphical items in a QGraphicsScene.
void setItem(QGraphicsItem *item)
static void updateItem(QGraphicsItem *item)
The QGraphicsTransform class is an abstract base class for building advanced transformations on QGrap...
Combined button and popup list for selecting options.
#define QT_REQUIRE_CONFIG(feature)