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 DESIGNERSUPPORTITEM_H |
5 | #define DESIGNERSUPPORTITEM_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 "qquickdesignersupport_p.h" |
19 | |
20 | #include <QObject> |
21 | #include <QString> |
22 | #include <QVariant> |
23 | #include <QList> |
24 | #include <QByteArray> |
25 | #include <QTypeRevision> |
26 | #include <QQmlContext> |
27 | #include <QQmlListReference> |
28 | |
29 | QT_BEGIN_NAMESPACE |
30 | |
31 | class Q_QUICK_EXPORT QQuickDesignerSupportItems |
32 | { |
33 | public: |
34 | static QObject *createPrimitive(const QString &typeName, QTypeRevision version, QQmlContext *context); |
35 | static QObject *createComponent(const QUrl &componentUrl, QQmlContext *context); |
36 | static void tweakObjects(QObject *object); |
37 | static bool objectWasDeleted(QObject *object); |
38 | static void disableNativeTextRendering(QQuickItem *item); |
39 | static void disableTextCursor(QQuickItem *item); |
40 | static void disableTransition(QObject *object); |
41 | static void disableBehaivour(QObject *object); |
42 | static void stopUnifiedTimer(); |
43 | static void registerFixResourcePathsForObjectCallBack(void (*callback)(QObject *)); |
44 | }; |
45 | |
46 | QT_END_NAMESPACE |
47 | |
48 | #endif // DESIGNERSUPPORTITEM_H |
49 |