java.lang.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 class QQuickImageProvider
- Since:
- This class was introduced in Qt 5.0.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.qt.qml.QQmlImageProviderBase
QQmlImageProviderBase.Flag, QQmlImageProviderBase.Flags, QQmlImageProviderBase.ImageType
-
Constructor Summary
ConstructorDescriptionOverloaded 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)
. -
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
- Parameters:
type
-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.Flag ... flags) Overloaded constructor for
QQuickImageProvider(io.qt.qml.QQmlImageProviderBase.ImageType, io.qt.qml.QQmlImageProviderBase.Flags)
.
-
-
Method Details
-
flags
- Specified by:
flags
in interfaceQQmlImageProviderBase
- Returns:
-
imageType
- Specified by:
imageType
in interfaceQQmlImageProviderBase
- Returns:
-
requestImage
- Parameters:
id
-size
-requestedSize
-- Returns:
-
requestPixmap
- Parameters:
id
-size
-requestedSize
-- Returns:
-
requestTexture
@QtUninvokable public QQuickTextureFactory requestTexture(String id, QSize size, QSize requestedSize) - Parameters:
id
-size
-requestedSize
-- Returns:
-