18#include <QtCore/qcoreapplication.h>
19#include <QtCore/qstring.h>
20#include <QtGui/qpixmap.h>
21#include <QtCore/qmutex.h>
22#include <QtCore/qurl.h>
23#include <private/qtquickglobal_p.h>
24#include <QtQuick/qquickimageprovider.h>
52 QQuickImageProvider::Flags
flags;
61 UsePluginDefaultTransform = -1,
63 DoNotApplyTransform = 1
74 AutoTransform autoTransform()
const;
75 void setAutoTransform(AutoTransform autoTransform);
77 bool preserveAspectRatioCrop()
const;
78 void setPreserveAspectRatioCrop(
bool preserveAspectRatioCrop);
80 bool preserveAspectRatioFit()
const;
81 void setPreserveAspectRatioFit(
bool preserveAspectRatioFit);
84 void setTargetColorSpace(
const QColorSpace &colorSpace);
86 QRectF sourceClipRect()
const;
90 QSharedDataPointer<QQuickImageProviderOptionsPrivate>
d;
110 Asynchronous = 0x00000001,
123 bool isReady()
const;
124 bool isError()
const;
125 bool isLoading()
const;
127 Status status()
const;
130 const QSize &implicitSize()
const;
131 const QRect &requestRegion()
const;
132 const QSize &requestSize()
const;
134 int frameCount()
const;
136 void setImage(
const QImage &);
153 qreal devicePixelRatio = 1.0);
155 const QRect &requestRegion,
const QSize &requestSize,
161 bool connectFinished(
QObject *,
const char *);
162 bool connectFinished(
QObject *,
int);
163 bool connectDownloadProgress(
QObject *,
const char *);
164 bool connectDownloadProgress(
QObject *,
int);
166 static void purgeCache();
167 static bool isCached(
const QUrl &
url,
const QRect &requestRegion,
const QSize &requestSize,
169 static bool isScalableImageFormat(
const QUrl &
url);
199 qreal devicePixelRatio = 1.0);
IOBluetoothDevice * device
The QColorSpace class provides a color space abstraction.
\inmodule QtCore \reentrant
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
The QQmlEngine class provides an environment for instantiating QML components.
ImageType
Defines the type of image supported by this image provider.
The QQuickAsyncImageProvider class provides an interface for asynchronous control of QML image reques...
QImage image() const override
Returns an image version of this texture.
QSize textureSize() const override
Returns the size of the texture.
int textureByteCount() const override
Returns the number of bytes of memory the texture consumes.
QQuickDefaultTextureFactory(const QImage &i)
QSGTexture * createTexture(QQuickWindow *window) const override
This function is called on the scene graph rendering thread to create a QSGTexture instance from the ...
The QQuickImageProviderOptions class provides options for QQuickImageProviderWithOptions image reques...
AutoTransform
Whether the image provider should apply transformation metadata on read().
QQuickImageProvider::ImageType type
bool isProviderWithOptions
QQuickImageProvider::Flags flags
The QQuickImageProvider class provides an interface for supporting pixmaps and threaded image request...
The QQuickImageResponse class provides an interface for asynchronous image loading in QQuickAsyncImag...
static const QLatin1String itemGrabberScheme
The QQuickTextureFactory class provides an interface for loading custom textures from QML....
\qmltype Window \instantiates QQuickWindow \inqmlmodule QtQuick
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
#define Q_DECLARE_TR_FUNCTIONS(context)
DBusConnection const char DBusError * error
#define Q_DECLARE_FLAGS(Flags, Enum)
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
GLint GLsizei GLsizei height
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum format
bool operator==(const QRandomGenerator &rng1, const QRandomGenerator &rng2)
QUrl url("example.com")
[constructor-url-reference]