#[repr(C)]pub struct QQmlImageProviderBase { /* private fields */ }Expand description
Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.
C++ class: QQmlImageProviderBase.
Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.
Implementations§
Source§impl QQmlImageProviderBase
impl QQmlImageProviderBase
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QQmlImageProviderBase>>,
) -> Ref<QQmlImageProviderBase>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlImageProviderBase>>, ) -> Ref<QQmlImageProviderBase>
Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.
Calls C++ function: QQmlImageProviderBase& QQmlImageProviderBase::operator=(const QQmlImageProviderBase& other).
Image providers must be registered with the QML engine. The only information the QML engine knows about image providers is the type of image data they provide. To use an image provider to acquire image data, you must cast the QQmlImageProviderBase pointer to a QQuickImageProvider pointer.
Sourcepub unsafe fn flags(&self) -> QFlags<Flag>
pub unsafe fn flags(&self) -> QFlags<Flag>
Implement this to return the properties of this image provider.
Calls C++ function: pure virtual QFlags<QQmlImageProviderBase::Flag> QQmlImageProviderBase::flags() const.
Implement this to return the properties of this image provider.
Sourcepub unsafe fn image_type(&self) -> ImageType
pub unsafe fn image_type(&self) -> ImageType
Implement this method to return the image type supported by this image provider.
Calls C++ function: pure virtual QQmlImageProviderBase::ImageType QQmlImageProviderBase::imageType() const.
Implement this method to return the image type supported by this image provider.