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
>
21
#
include
"qquickvectorimage_p.h"
22
23
QT_BEGIN_NAMESPACE
24
25
class
QQuickVectorImageIncubator;
26
27
class
QQuickVectorImagePrivate
:
public
QQuickItemPrivate
28
{
29
Q_DECLARE_PUBLIC(QQuickVectorImage)
30
public
:
31
QQuickVectorImagePrivate
() =
default
;
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
41
QUrl
sourceFile
;
42
QQuickItem
*
rootItem
=
nullptr
;
43
QQuickVectorImage
::
FillMode
fillMode
=
QQuickVectorImage
::
Stretch
;
44
QQuickVectorImage
::
RendererType
preferredRendererType
=
QQuickVectorImage
::
GeometryRenderer
;
45
bool
assumeTrustedSource
=
false
;
46
bool
m_asyncShapes
=
false
;
47
bool
asynchronous
=
false
;
48
bool
retainWhileLoading
=
false
;
49
std
::
unique_ptr
<
QQmlContext
>
context
;
50
QQuickVectorImageAnimations *
animations
=
nullptr
;
51
QQuickVectorImageIncubator *
incubator
=
nullptr
;
52
};
53
54
QT_END_NAMESPACE
55
56
#
endif
// QQUICKVECTORIMAGE_P_P_H
QQuickVectorImageAnimations
Definition
qquickvectorimage_p.h:113
QQuickVectorImagePrivate
Definition
qquickvectorimage_p_p.h:28
QQuickVectorImagePrivate::get
static QQuickVectorImagePrivate * get(QQuickVectorImage *q)
Definition
qquickvectorimage_p_p.h:36
QQuickVectorImagePrivate::loadFile
void loadFile()
Definition
qquickvectorimage.cpp:55
QQuickVectorImagePrivate::asynchronous
bool asynchronous
Definition
qquickvectorimage_p_p.h:47
QQuickVectorImagePrivate::m_asyncShapes
bool m_asyncShapes
Definition
qquickvectorimage_p_p.h:46
QQuickVectorImagePrivate::retainWhileLoading
bool retainWhileLoading
Definition
qquickvectorimage_p_p.h:48
QQuickVectorImagePrivate::assumeTrustedSource
bool assumeTrustedSource
Definition
qquickvectorimage_p_p.h:45
QQuickVectorImagePrivate::sourceFile
QUrl sourceFile
Definition
qquickvectorimage_p_p.h:41
QQuickVectorImagePrivate::context
std::unique_ptr< QQmlContext > context
Definition
qquickvectorimage_p_p.h:49
QQuickVectorImagePrivate::animations
QQuickVectorImageAnimations * animations
Definition
qquickvectorimage_p_p.h:50
QQuickVectorImagePrivate::rootItem
QQuickItem * rootItem
Definition
qquickvectorimage_p_p.h:42
QQuickVectorImagePrivate::setSource
void setSource(const QUrl &source)
\qmlmodule QtQuick.VectorImage \title Qt Quick Vector Image QML Types
Definition
qquickvectorimage.cpp:44
QQuickVectorImagePrivate::incubator
QQuickVectorImageIncubator * incubator
Definition
qquickvectorimage_p_p.h:51
QQuickVectorImage
Definition
qquickvectorimage_p.h:28
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qrandomaccessasyncfile_darwin.mm:17
qtdeclarative
src
quickvectorimage
qquickvectorimage_p_p.h
Generated on
for Qt by
1.16.1