Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickimagebase_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2019 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 QQUICKIMAGEBASE_P_P_H
5#define QQUICKIMAGEBASE_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
19#include "qquickimagebase_p.h"
20
21#include <QtQuick/private/qquickpixmapcache_p.h>
22
24
25class QNetworkReply;
26class Q_QUICK_PRIVATE_EXPORT QQuickImageBasePrivate : public QQuickImplicitSizeItemPrivate
27{
28 Q_DECLARE_PUBLIC(QQuickImageBase)
29
30public:
32 : async(false),
33 cache(true),
34 mirrorHorizontally(false),
35 mirrorVertically(false),
36 oldAutoTransform(false)
37 {
38 }
39
40 virtual bool updateDevicePixelRatio(qreal targetDevicePixelRatio);
41
42 void setStatus(QQuickImageBase::Status value);
43 void setProgress(qreal value);
44
52
53 int currentFrame = 0;
54 int frameCount = 0;
55 qreal progress = 0;
56 qreal devicePixelRatio = 1;
58
59 bool async : 1;
60 bool cache : 1;
64};
65
67
68#endif // QQUICKIMAGEBASE_P_P_H
The QColorSpace class provides a color space abstraction.
Definition qcolorspace.h:21
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QQuickImageProviderOptions providerOptions
The QQuickImageProviderOptions class provides options for QQuickImageProviderWithOptions image reques...
\inmodule QtCore\reentrant
Definition qrect.h:483
\inmodule QtCore
Definition qsize.h:25
\inmodule QtCore
Definition qurl.h:94
QCache< int, Employee > cache
[0]
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
double qreal
Definition qtypes.h:92