pub struct QAccessibleTextInterface { /* private fields */ }Expand description
C++ class: QAccessibleTextInterface.
Implementations§
Source§impl QAccessibleTextInterface
impl QAccessibleTextInterface
Sourcepub unsafe fn add_selection(&self, start_offset: c_int, end_offset: c_int)
pub unsafe fn add_selection(&self, start_offset: c_int, end_offset: c_int)
Calls C++ function: pure virtual void QAccessibleTextInterface::addSelection(int startOffset, int endOffset).
Sourcepub unsafe fn attributes(
&self,
offset: c_int,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> CppBox<QString>
pub unsafe fn attributes( &self, offset: c_int, start_offset: *mut c_int, end_offset: *mut c_int, ) -> CppBox<QString>
Calls C++ function: pure virtual QString QAccessibleTextInterface::attributes(int offset, int* startOffset, int* endOffset) const.
Sourcepub unsafe fn character_count(&self) -> c_int
pub unsafe fn character_count(&self) -> c_int
Calls C++ function: pure virtual int QAccessibleTextInterface::characterCount() const.
Sourcepub unsafe fn character_rect(&self, offset: c_int) -> CppBox<QRect>
pub unsafe fn character_rect(&self, offset: c_int) -> CppBox<QRect>
Calls C++ function: pure virtual QRect QAccessibleTextInterface::characterRect(int offset) const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QAccessibleTextInterface>>,
) -> Ref<QAccessibleTextInterface>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QAccessibleTextInterface>>, ) -> Ref<QAccessibleTextInterface>
Calls C++ function: QAccessibleTextInterface& QAccessibleTextInterface::operator=(const QAccessibleTextInterface& other).
Sourcepub unsafe fn cursor_position(&self) -> c_int
pub unsafe fn cursor_position(&self) -> c_int
Calls C++ function: pure virtual int QAccessibleTextInterface::cursorPosition() const.
Sourcepub unsafe fn offset_at_point(&self, point: impl CastInto<Ref<QPoint>>) -> c_int
pub unsafe fn offset_at_point(&self, point: impl CastInto<Ref<QPoint>>) -> c_int
Calls C++ function: pure virtual int QAccessibleTextInterface::offsetAtPoint(const QPoint& point) const.
Sourcepub unsafe fn remove_selection(&self, selection_index: c_int)
pub unsafe fn remove_selection(&self, selection_index: c_int)
Calls C++ function: pure virtual void QAccessibleTextInterface::removeSelection(int selectionIndex).
Sourcepub unsafe fn scroll_to_substring(&self, start_index: c_int, end_index: c_int)
pub unsafe fn scroll_to_substring(&self, start_index: c_int, end_index: c_int)
Calls C++ function: pure virtual void QAccessibleTextInterface::scrollToSubstring(int startIndex, int endIndex).
Sourcepub unsafe fn selection(
&self,
selection_index: c_int,
start_offset: *mut c_int,
end_offset: *mut c_int,
)
pub unsafe fn selection( &self, selection_index: c_int, start_offset: *mut c_int, end_offset: *mut c_int, )
Calls C++ function: pure virtual void QAccessibleTextInterface::selection(int selectionIndex, int* startOffset, int* endOffset) const.
Sourcepub unsafe fn selection_count(&self) -> c_int
pub unsafe fn selection_count(&self) -> c_int
Calls C++ function: pure virtual int QAccessibleTextInterface::selectionCount() const.
Sourcepub unsafe fn set_cursor_position(&self, position: c_int)
pub unsafe fn set_cursor_position(&self, position: c_int)
Calls C++ function: pure virtual void QAccessibleTextInterface::setCursorPosition(int position).
Sourcepub unsafe fn set_selection(
&self,
selection_index: c_int,
start_offset: c_int,
end_offset: c_int,
)
pub unsafe fn set_selection( &self, selection_index: c_int, start_offset: c_int, end_offset: c_int, )
Calls C++ function: pure virtual void QAccessibleTextInterface::setSelection(int selectionIndex, int startOffset, int endOffset).
Sourcepub unsafe fn text(
&self,
start_offset: c_int,
end_offset: c_int,
) -> CppBox<QString>
pub unsafe fn text( &self, start_offset: c_int, end_offset: c_int, ) -> CppBox<QString>
Calls C++ function: pure virtual QString QAccessibleTextInterface::text(int startOffset, int endOffset) const.
Sourcepub unsafe fn text_after_offset(
&self,
offset: c_int,
boundary_type: TextBoundaryType,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> CppBox<QString>
pub unsafe fn text_after_offset( &self, offset: c_int, boundary_type: TextBoundaryType, start_offset: *mut c_int, end_offset: *mut c_int, ) -> CppBox<QString>
Calls C++ function: virtual QString QAccessibleTextInterface::textAfterOffset(int offset, QAccessible::TextBoundaryType boundaryType, int* startOffset, int* endOffset) const.
Sourcepub unsafe fn text_at_offset(
&self,
offset: c_int,
boundary_type: TextBoundaryType,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> CppBox<QString>
pub unsafe fn text_at_offset( &self, offset: c_int, boundary_type: TextBoundaryType, start_offset: *mut c_int, end_offset: *mut c_int, ) -> CppBox<QString>
Calls C++ function: virtual QString QAccessibleTextInterface::textAtOffset(int offset, QAccessible::TextBoundaryType boundaryType, int* startOffset, int* endOffset) const.
Sourcepub unsafe fn text_before_offset(
&self,
offset: c_int,
boundary_type: TextBoundaryType,
start_offset: *mut c_int,
end_offset: *mut c_int,
) -> CppBox<QString>
pub unsafe fn text_before_offset( &self, offset: c_int, boundary_type: TextBoundaryType, start_offset: *mut c_int, end_offset: *mut c_int, ) -> CppBox<QString>
Calls C++ function: virtual QString QAccessibleTextInterface::textBeforeOffset(int offset, QAccessible::TextBoundaryType boundaryType, int* startOffset, int* endOffset) const.