[−][src]Struct qt_qml::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.
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.
Methods
impl QQmlImageProviderBase
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QQmlImageProviderBase>>
) -> Ref<QQmlImageProviderBase>
[src]
&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.
pub unsafe fn flags(&self) -> QFlags<Flag>
[src]
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.
pub unsafe fn image_type(&self) -> ImageType
[src]
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.
Trait Implementations
impl CppDeletable for QQmlImageProviderBase
[src]
Auto Trait Implementations
impl RefUnwindSafe for QQmlImageProviderBase
impl Send for QQmlImageProviderBase
impl Sync for QQmlImageProviderBase
impl Unpin for QQmlImageProviderBase
impl UnwindSafe for QQmlImageProviderBase
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> StaticUpcast<T> for T
[src]
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,