pub struct QAccessibleObject { /* private fields */ }Expand description
C++ class: QAccessibleObject.
Implementations§
Source§impl QAccessibleObject
impl QAccessibleObject
Sourcepub unsafe fn child_at(&self, x: c_int, y: c_int) -> Ptr<QAccessibleInterface>
pub unsafe fn child_at(&self, x: c_int, y: c_int) -> Ptr<QAccessibleInterface>
Calls C++ function: virtual QAccessibleInterface* QAccessibleObject::childAt(int x, int y) const.
Sourcepub unsafe fn is_valid(&self) -> bool
pub unsafe fn is_valid(&self) -> bool
Calls C++ function: virtual bool QAccessibleObject::isValid() const.
Sourcepub unsafe fn object(&self) -> QPtr<QObject>
pub unsafe fn object(&self) -> QPtr<QObject>
Calls C++ function: virtual QObject* QAccessibleObject::object() const.
Methods from Deref<Target = QAccessibleInterface>§
Sourcepub unsafe fn action_interface(&self) -> Ptr<QAccessibleActionInterface>
pub unsafe fn action_interface(&self) -> Ptr<QAccessibleActionInterface>
Calls C++ function: QAccessibleActionInterface* QAccessibleInterface::actionInterface().
Sourcepub unsafe fn background_color(&self) -> CppBox<QColor>
pub unsafe fn background_color(&self) -> CppBox<QColor>
Calls C++ function: virtual QColor QAccessibleInterface::backgroundColor() const.
Sourcepub unsafe fn child(&self, index: c_int) -> Ptr<QAccessibleInterface>
pub unsafe fn child(&self, index: c_int) -> Ptr<QAccessibleInterface>
Calls C++ function: pure virtual QAccessibleInterface* QAccessibleInterface::child(int index) const.
Sourcepub unsafe fn child_at(&self, x: c_int, y: c_int) -> Ptr<QAccessibleInterface>
pub unsafe fn child_at(&self, x: c_int, y: c_int) -> Ptr<QAccessibleInterface>
Calls C++ function: pure virtual QAccessibleInterface* QAccessibleInterface::childAt(int x, int y) const.
Sourcepub unsafe fn child_count(&self) -> c_int
pub unsafe fn child_count(&self) -> c_int
Calls C++ function: pure virtual int QAccessibleInterface::childCount() const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QAccessibleInterface>>,
) -> Ref<QAccessibleInterface>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QAccessibleInterface>>, ) -> Ref<QAccessibleInterface>
Calls C++ function: QAccessibleInterface& QAccessibleInterface::operator=(const QAccessibleInterface& other).
Sourcepub unsafe fn editable_text_interface(
&self,
) -> Ptr<QAccessibleEditableTextInterface>
pub unsafe fn editable_text_interface( &self, ) -> Ptr<QAccessibleEditableTextInterface>
Calls C++ function: QAccessibleEditableTextInterface* QAccessibleInterface::editableTextInterface().
Sourcepub unsafe fn focus_child(&self) -> Ptr<QAccessibleInterface>
pub unsafe fn focus_child(&self) -> Ptr<QAccessibleInterface>
Calls C++ function: virtual QAccessibleInterface* QAccessibleInterface::focusChild() const.
Sourcepub unsafe fn foreground_color(&self) -> CppBox<QColor>
pub unsafe fn foreground_color(&self) -> CppBox<QColor>
Calls C++ function: virtual QColor QAccessibleInterface::foregroundColor() const.
Sourcepub unsafe fn index_of_child(
&self,
arg1: impl CastInto<Ptr<QAccessibleInterface>>,
) -> c_int
pub unsafe fn index_of_child( &self, arg1: impl CastInto<Ptr<QAccessibleInterface>>, ) -> c_int
Calls C++ function: pure virtual int QAccessibleInterface::indexOfChild(const QAccessibleInterface* arg1) const.
Sourcepub unsafe fn interface_cast(&self, arg1: InterfaceType) -> *mut c_void
pub unsafe fn interface_cast(&self, arg1: InterfaceType) -> *mut c_void
Calls C++ function: virtual void* QAccessibleInterface::interface_cast(QAccessible::InterfaceType arg1).
Sourcepub unsafe fn is_valid(&self) -> bool
pub unsafe fn is_valid(&self) -> bool
Calls C++ function: pure virtual bool QAccessibleInterface::isValid() const.
Sourcepub unsafe fn object(&self) -> QPtr<QObject>
pub unsafe fn object(&self) -> QPtr<QObject>
Calls C++ function: pure virtual QObject* QAccessibleInterface::object() const.
Sourcepub unsafe fn parent(&self) -> Ptr<QAccessibleInterface>
pub unsafe fn parent(&self) -> Ptr<QAccessibleInterface>
Calls C++ function: pure virtual QAccessibleInterface* QAccessibleInterface::parent() const.
Sourcepub unsafe fn rect(&self) -> CppBox<QRect>
pub unsafe fn rect(&self) -> CppBox<QRect>
Calls C++ function: pure virtual QRect QAccessibleInterface::rect() const.
Sourcepub unsafe fn relations_1a(
&self,
match_: QFlags<RelationFlag>,
) -> CppBox<QVectorOfQPairOfQAccessibleInterfaceQFlagsRelationFlag>
pub unsafe fn relations_1a( &self, match_: QFlags<RelationFlag>, ) -> CppBox<QVectorOfQPairOfQAccessibleInterfaceQFlagsRelationFlag>
Calls C++ function: virtual QVector<QPair<QAccessibleInterface*, QFlags<QAccessible::RelationFlag>>> QAccessibleInterface::relations(QFlags<QAccessible::RelationFlag> match = …) const.
Sourcepub unsafe fn relations_0a(
&self,
) -> CppBox<QVectorOfQPairOfQAccessibleInterfaceQFlagsRelationFlag>
pub unsafe fn relations_0a( &self, ) -> CppBox<QVectorOfQPairOfQAccessibleInterfaceQFlagsRelationFlag>
Calls C++ function: virtual QVector<QPair<QAccessibleInterface*, QFlags<QAccessible::RelationFlag>>> QAccessibleInterface::relations() const.
Sourcepub unsafe fn role(&self) -> Role
pub unsafe fn role(&self) -> Role
Calls C++ function: pure virtual QAccessible::Role QAccessibleInterface::role() const.
Sourcepub unsafe fn set_text(&self, t: Text, text: impl CastInto<Ref<QString>>)
pub unsafe fn set_text(&self, t: Text, text: impl CastInto<Ref<QString>>)
Calls C++ function: pure virtual void QAccessibleInterface::setText(QAccessible::Text t, const QString& text).
Sourcepub unsafe fn state(&self) -> CppBox<State>
pub unsafe fn state(&self) -> CppBox<State>
Calls C++ function: pure virtual QAccessible::State QAccessibleInterface::state() const.
Sourcepub unsafe fn table_cell_interface(&self) -> Ptr<QAccessibleTableCellInterface>
pub unsafe fn table_cell_interface(&self) -> Ptr<QAccessibleTableCellInterface>
Calls C++ function: QAccessibleTableCellInterface* QAccessibleInterface::tableCellInterface().
Sourcepub unsafe fn table_interface(&self) -> Ptr<QAccessibleTableInterface>
pub unsafe fn table_interface(&self) -> Ptr<QAccessibleTableInterface>
Calls C++ function: QAccessibleTableInterface* QAccessibleInterface::tableInterface().
Sourcepub unsafe fn text(&self, t: Text) -> CppBox<QString>
pub unsafe fn text(&self, t: Text) -> CppBox<QString>
Calls C++ function: pure virtual QString QAccessibleInterface::text(QAccessible::Text t) const.
Sourcepub unsafe fn text_interface(&self) -> Ptr<QAccessibleTextInterface>
pub unsafe fn text_interface(&self) -> Ptr<QAccessibleTextInterface>
Calls C++ function: QAccessibleTextInterface* QAccessibleInterface::textInterface().
Sourcepub unsafe fn value_interface(&self) -> Ptr<QAccessibleValueInterface>
pub unsafe fn value_interface(&self) -> Ptr<QAccessibleValueInterface>
Calls C++ function: QAccessibleValueInterface* QAccessibleInterface::valueInterface().
Sourcepub unsafe fn virtual_hook(&self, id: c_int, data: *mut c_void)
pub unsafe fn virtual_hook(&self, id: c_int, data: *mut c_void)
Calls C++ function: virtual void QAccessibleInterface::virtual_hook(int id, void* data).
Trait Implementations§
Source§impl Deref for QAccessibleObject
impl Deref for QAccessibleObject
Source§fn deref(&self) -> &QAccessibleInterface
fn deref(&self) -> &QAccessibleInterface
Calls C++ function: QAccessibleInterface* static_cast<QAccessibleInterface*>(QAccessibleObject* ptr).
Source§type Target = QAccessibleInterface
type Target = QAccessibleInterface
Source§impl DynamicCast<QAccessibleObject> for QAccessibleInterface
impl DynamicCast<QAccessibleObject> for QAccessibleInterface
Source§unsafe fn dynamic_cast(ptr: Ptr<QAccessibleInterface>) -> Ptr<QAccessibleObject>
unsafe fn dynamic_cast(ptr: Ptr<QAccessibleInterface>) -> Ptr<QAccessibleObject>
Calls C++ function: QAccessibleObject* dynamic_cast<QAccessibleObject*>(QAccessibleInterface* ptr).
Source§impl StaticDowncast<QAccessibleObject> for QAccessibleInterface
impl StaticDowncast<QAccessibleObject> for QAccessibleInterface
Source§unsafe fn static_downcast(
ptr: Ptr<QAccessibleInterface>,
) -> Ptr<QAccessibleObject>
unsafe fn static_downcast( ptr: Ptr<QAccessibleInterface>, ) -> Ptr<QAccessibleObject>
Calls C++ function: QAccessibleObject* static_cast<QAccessibleObject*>(QAccessibleInterface* ptr).
Source§impl StaticUpcast<QAccessibleInterface> for QAccessibleObject
impl StaticUpcast<QAccessibleInterface> for QAccessibleObject
Source§unsafe fn static_upcast(
ptr: Ptr<QAccessibleObject>,
) -> Ptr<QAccessibleInterface>
unsafe fn static_upcast( ptr: Ptr<QAccessibleObject>, ) -> Ptr<QAccessibleInterface>
Calls C++ function: QAccessibleInterface* static_cast<QAccessibleInterface*>(QAccessibleObject* ptr).