#[repr(C)]pub struct QQmlPropertyValueSource { /* private fields */ }
Expand description
See Property Value Sources for information on writing custom property value sources.
C++ class: QQmlPropertyValueSource
.
See Property Value Sources for information on writing custom property value sources.
Implementations§
Source§impl QQmlPropertyValueSource
impl QQmlPropertyValueSource
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QQmlPropertyValueSource>>,
) -> Ref<QQmlPropertyValueSource>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QQmlPropertyValueSource>>, ) -> Ref<QQmlPropertyValueSource>
See Property Value Sources for information on writing custom property value sources.
Calls C++ function: QQmlPropertyValueSource& QQmlPropertyValueSource::operator=(const QQmlPropertyValueSource& other)
.
See Property Value Sources for information on writing custom property value sources.
Sourcepub unsafe fn set_target(&self, arg1: impl CastInto<Ref<QQmlProperty>>)
pub unsafe fn set_target(&self, arg1: impl CastInto<Ref<QQmlProperty>>)
Set the target property for the value source. This method will be called by the QML engine when assigning a value source.
Calls C++ function: pure virtual void QQmlPropertyValueSource::setTarget(const QQmlProperty& arg1)
.
Set the target property for the value source. This method will be called by the QML engine when assigning a value source.