java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.quick.QQuickImageProvider
- All Implemented Interfaces:
QQmlImageProviderBase
,QtObjectInterface
- Direct Known Subclasses:
QQuickAsyncImageProvider
public class QQuickImageProvider extends QtObject implements QQmlImageProviderBase
Interface for supporting pixmaps and threaded image requests in QML
Java wrapper for Qt class QQuickImageProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.qml.QQmlImageProviderBase
QQmlImageProviderBase.Flag, QQmlImageProviderBase.Flags, QQmlImageProviderBase.ImageType, QQmlImageProviderBase.Impl
-
Constructor Summary
Constructors Modifier Constructor Description QQuickImageProvider(QQmlImageProviderBase.ImageType type)
Overloaded constructor forQQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
withflags = new io.qt.qml.QQmlImageProviderBase.Flags(0)
.QQuickImageProvider(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flag... flags)
Overloaded constructor forQQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
.QQuickImageProvider(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flags flags)
protected
QQuickImageProvider(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description QQmlImageProviderBase.Flags
flags()
QQmlImageProviderBase.ImageType
imageType()
QImage
requestImage(String id, QSize size, QSize requestedSize)
QPixmap
requestPixmap(String id, QSize size, QSize requestedSize)
QQuickTextureFactory
requestTexture(String id, QSize size, QSize requestedSize)
-
Constructor Details
-
QQuickImageProvider
public QQuickImageProvider(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flag... flags)Overloaded constructor for
QQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
. -
QQuickImageProvider
Overloaded constructor for
QQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
withflags = new io.qt.qml.QQmlImageProviderBase.Flags(0)
. -
QQuickImageProvider
public QQuickImageProvider(QQmlImageProviderBase.ImageType type, QQmlImageProviderBase.Flags flags) -
QQuickImageProvider
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
flags
- Specified by:
flags
in interfaceQQmlImageProviderBase
-
imageType
- Specified by:
imageType
in interfaceQQmlImageProviderBase
-
requestImage
-
requestPixmap
-
requestTexture
@QtUninvokable public QQuickTextureFactory requestTexture(String id, QSize size, QSize requestedSize)
-