Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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/qquickpixmap_p.h>
22
24
25class QNetworkReply;
27{
28 Q_DECLARE_PUBLIC(QQuickImageBase)
29
30public:
32 : async(false),
33 cache(true),
34 mirrorHorizontally(false),
35 mirrorVertically(false),
36 oldAutoTransform(false),
37 retainWhileLoading(false)
38 {
39 pendingPix = &pix1;
40 currentPix = &pix1;
41 }
42
43 virtual bool updateDevicePixelRatio(qreal targetDevicePixelRatio);
44
45 void setStatus(QQuickImageBase::Status value);
46 void setProgress(qreal value);
47
49 QQuickPixmap *pendingPix = nullptr;
50 QQuickPixmap *currentPix = nullptr;
58
59 int currentFrame = 0;
60 int frameCount = 0;
61 qreal progress = 0;
62 qreal devicePixelRatio = 1;
64
65 bool async : 1;
66 bool cache : 1;
71};
72
74
75#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:484
\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:187