QQuickImageResponse Class
The QQuickImageResponse class provides an interface for asynchronous image loading in QQuickAsyncImageProvider. More...
| Header: | #include <QQuickImageResponse> |
| qmake: | QT += quick |
| Since: | Qt 5.6 |
| Inherits: | QObject |
This class was introduced in Qt 5.6.
Detailed Description
The purpose of an image response is to provide a way for image provider jobs to be executed in an asynchronous way.
Responses are deleted via deleteLater once the finished() signal has been emitted. If you are using QRunnable as base for your QQuickImageResponse ensure automatic deletion is disabled.
See the Image Response Provider Example for a complete implementation.
See also QQuickImageProvider.