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
qquickvectorimage_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2024 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 QQUICKVECTORIMAGE_P_P_H
5#define QQUICKVECTORIMAGE_P_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 <QQuickPaintedItem>
19#include <QSvgRenderer>
20#include <private/qquickitem_p.h>
22
24
25class QQuickVectorImageIncubator;
26
28{
29 Q_DECLARE_PUBLIC(QQuickVectorImage)
30public:
32
33 void setSource(const QUrl &source);
34 void loadFile();
35
36 static QQuickVectorImagePrivate *get(QQuickVectorImage *q)
37 {
38 return q->d_func();
39 }
40
42 QQuickItem *rootItem = nullptr;
45 bool assumeTrustedSource = false;
46 bool m_asyncShapes = false;
47 bool asynchronous = false;
48 bool retainWhileLoading = false;
50 QQuickVectorImageAnimations *animations = nullptr;
51 QQuickVectorImageIncubator *incubator = nullptr;
52};
53
54QT_END_NAMESPACE
55
56#endif // QQUICKVECTORIMAGE_P_P_H
static QQuickVectorImagePrivate * get(QQuickVectorImage *q)
std::unique_ptr< QQmlContext > context
QQuickVectorImageAnimations * animations
void setSource(const QUrl &source)
\qmlmodule QtQuick.VectorImage \title Qt Quick Vector Image QML Types
QQuickVectorImageIncubator * incubator
Combined button and popup list for selecting options.