Struct qt_gui::QAccessibleValueChangeEvent
source · #[repr(C)]pub struct QAccessibleValueChangeEvent { /* private fields */ }
Expand description
The QAccessibleValueChangeEvent describes a change in value for an accessible object.
C++ class: QAccessibleValueChangeEvent
.
The QAccessibleValueChangeEvent describes a change in value for an accessible object.
It contains the new value.
This class is used with QAccessible::updateAccessibility().
Implementations§
source§impl QAccessibleValueChangeEvent
impl QAccessibleValueChangeEvent
sourcepub unsafe fn from_q_object_q_variant(
obj: impl CastInto<Ptr<QObject>>,
val: impl CastInto<Ref<QVariant>>
) -> CppBox<QAccessibleValueChangeEvent>
pub unsafe fn from_q_object_q_variant( obj: impl CastInto<Ptr<QObject>>, val: impl CastInto<Ref<QVariant>> ) -> CppBox<QAccessibleValueChangeEvent>
Constructs a new QAccessibleValueChangeEvent for object. The event contains the new value.
Calls C++ function: [constructor] void QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QObject* obj, const QVariant& val)
.
Constructs a new QAccessibleValueChangeEvent for object. The event contains the new value.
sourcepub unsafe fn from_q_accessible_interface_q_variant(
iface: impl CastInto<Ptr<QAccessibleInterface>>,
val: impl CastInto<Ref<QVariant>>
) -> CppBox<QAccessibleValueChangeEvent>
pub unsafe fn from_q_accessible_interface_q_variant( iface: impl CastInto<Ptr<QAccessibleInterface>>, val: impl CastInto<Ref<QVariant>> ) -> CppBox<QAccessibleValueChangeEvent>
Constructs a new QAccessibleValueChangeEvent for iface. The event contains the new value val.
Calls C++ function: [constructor] void QAccessibleValueChangeEvent::QAccessibleValueChangeEvent(QAccessibleInterface* iface, const QVariant& val)
.
Constructs a new QAccessibleValueChangeEvent for iface. The event contains the new value val.
Methods from Deref<Target = QAccessibleEvent>§
sourcepub unsafe fn accessible_interface(&self) -> Ptr<QAccessibleInterface>
pub unsafe fn accessible_interface(&self) -> Ptr<QAccessibleInterface>
Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.
Calls C++ function: virtual QAccessibleInterface* QAccessibleEvent::accessibleInterface() const
.
Returns the QAccessibleInterface associated with the event. The caller of this function takes ownership of the returned interface.
sourcepub unsafe fn child(&self) -> c_int
pub unsafe fn child(&self) -> c_int
Returns the child index.
Calls C++ function: int QAccessibleEvent::child() const
.
Returns the child index.
See also setChild().
sourcepub unsafe fn object(&self) -> QPtr<QObject>
pub unsafe fn object(&self) -> QPtr<QObject>
Returns the event object.
Calls C++ function: QObject* QAccessibleEvent::object() const
.
Returns the event object.
sourcepub unsafe fn set_child(&self, chld: c_int)
pub unsafe fn set_child(&self, chld: c_int)
Sets the child index to child.
Calls C++ function: void QAccessibleEvent::setChild(int chld)
.
Sets the child index to child.
See also child().
Trait Implementations§
source§impl Deref for QAccessibleValueChangeEvent
impl Deref for QAccessibleValueChangeEvent
source§fn deref(&self) -> &QAccessibleEvent
fn deref(&self) -> &QAccessibleEvent
Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleValueChangeEvent* ptr)
.
§type Target = QAccessibleEvent
type Target = QAccessibleEvent
source§impl DynamicCast<QAccessibleValueChangeEvent> for QAccessibleEvent
impl DynamicCast<QAccessibleValueChangeEvent> for QAccessibleEvent
source§unsafe fn dynamic_cast(
ptr: Ptr<QAccessibleEvent>
) -> Ptr<QAccessibleValueChangeEvent>
unsafe fn dynamic_cast( ptr: Ptr<QAccessibleEvent> ) -> Ptr<QAccessibleValueChangeEvent>
Calls C++ function: QAccessibleValueChangeEvent* dynamic_cast<QAccessibleValueChangeEvent*>(QAccessibleEvent* ptr)
.
source§impl StaticDowncast<QAccessibleValueChangeEvent> for QAccessibleEvent
impl StaticDowncast<QAccessibleValueChangeEvent> for QAccessibleEvent
source§unsafe fn static_downcast(
ptr: Ptr<QAccessibleEvent>
) -> Ptr<QAccessibleValueChangeEvent>
unsafe fn static_downcast( ptr: Ptr<QAccessibleEvent> ) -> Ptr<QAccessibleValueChangeEvent>
Calls C++ function: QAccessibleValueChangeEvent* static_cast<QAccessibleValueChangeEvent*>(QAccessibleEvent* ptr)
.
source§impl StaticUpcast<QAccessibleEvent> for QAccessibleValueChangeEvent
impl StaticUpcast<QAccessibleEvent> for QAccessibleValueChangeEvent
source§unsafe fn static_upcast(
ptr: Ptr<QAccessibleValueChangeEvent>
) -> Ptr<QAccessibleEvent>
unsafe fn static_upcast( ptr: Ptr<QAccessibleValueChangeEvent> ) -> Ptr<QAccessibleEvent>
Calls C++ function: QAccessibleEvent* static_cast<QAccessibleEvent*>(QAccessibleValueChangeEvent* ptr)
.