Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickdesignersupportitems_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 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
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
30
31class Q_QUICK_EXPORT QQuickDesignerSupportItems
32{
33public:
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
46QT_END_NAMESPACE
47
48#endif // DESIGNERSUPPORTITEM_H
static QT_BEGIN_NAMESPACE void(* fixResourcePathsForObjectCallBack)(QObject *)
static bool isCrashingType(const QQmlType &type)
static void makeLoaderSynchronous(QObject *object)
static void stopAnimation(QObject *object)
static void allSubObjects(QObject *object, QObjectList &objectList)
static bool isWindow(QObject *object)
static QObject * createDummyWindow(QQmlEngine *engine)
static bool isWindowMetaObject(const QMetaObject *metaObject)