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
qquickvectorimagesource.cpp
Go to the documentation of this file.
1
// Copyright (C) 2026 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
#
include
"qquickvectorimagesource_p.h"
5
#
include
"qquickgenerator_p.h"
6
7
#
include
<
QtCore
/
qbuffer
.
h
>
8
#
include
<
QtCore
/
qdebug
.
h
>
9
#
include
<
QtCore
/
qfile
.
h
>
10
11
QT_BEGIN_NAMESPACE
12
13
QQuickVectorImageSource::QQuickVectorImageSource(
const
QString &fileName,
const
QByteArray &data)
14
: m_fileName(fileName)
15
, m_data(data)
16
{
17
}
18
19
QQuickVectorImageSource::~QQuickVectorImageSource() =
default
;
20
21
#
ifndef
QT_NO_DEBUG_STREAM
22
QDebug operator<<(QDebug debug,
const
QQuickVectorImageSource &source)
23
{
24
QDebugStateSaver saver(debug);
25
debug.nospace() <<
"QQuickVectorImageSource("
;
26
if
(source.isFile())
27
debug <<
"file "
<< source.fileName();
28
else
29
debug << source.data().size() <<
" bytes of data"
;
30
debug <<
')'
;
31
return
debug;
32
}
33
#
endif
34
35
QT_END_NAMESPACE
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
quickvectorimage
generator
qquickvectorimagesource.cpp
Generated on
for Qt by
1.16.1