java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.quick.QQuickImageProvider
- All Implemented Interfaces:
QQmlImageProviderBase
,QtObjectInterface
- Direct Known Subclasses:
QQuickAsyncImageProvider
Interface for supporting pixmaps and threaded image requests in QML
Java wrapper for Qt's class QQuickImageProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
Nested classes/interfaces inherited from interface io.qt.qml.QQmlImageProviderBase
QQmlImageProviderBase.Flag, QQmlImageProviderBase.Flags, QQmlImageProviderBase.ImageType, QQmlImageProviderBase.Impl
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
withflags = new io.qt.qml.QQmlImageProviderBase.Flags(0)
.Overloaded constructor forQQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
.protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionflags()
requestImage
(String id, QSize size, QSize requestedSize) requestPixmap
(String id, QSize size, QSize requestedSize) requestTexture
(String id, QSize size, QSize requestedSize) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
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
-
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)
-