[−][src]Struct qt_gui::QAccessibleEditableTextInterface
The QAccessibleEditableTextInterface class implements support for objects with editable text.
C++ class: QAccessibleEditableTextInterface
.
The QAccessibleEditableTextInterface class implements support for objects with editable text.
When implementing this interface you will almost certainly also want to implement QAccessibleTextInterface.
Methods
impl QAccessibleEditableTextInterface
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QAccessibleEditableTextInterface>>
) -> Ref<QAccessibleEditableTextInterface>
[src]
&self,
other: impl CastInto<Ref<QAccessibleEditableTextInterface>>
) -> Ref<QAccessibleEditableTextInterface>
The QAccessibleEditableTextInterface class implements support for objects with editable text.
Calls C++ function: QAccessibleEditableTextInterface& QAccessibleEditableTextInterface::operator=(const QAccessibleEditableTextInterface& other)
.
The QAccessibleEditableTextInterface class implements support for objects with editable text.
When implementing this interface you will almost certainly also want to implement QAccessibleTextInterface.
pub unsafe fn delete_text(&self, start_offset: c_int, end_offset: c_int)
[src]
Deletes the text from startOffset to endOffset.
Calls C++ function: pure virtual void QAccessibleEditableTextInterface::deleteText(int startOffset, int endOffset)
.
Deletes the text from startOffset to endOffset.
pub unsafe fn insert_text(
&self,
offset: c_int,
text: impl CastInto<Ref<QString>>
)
[src]
&self,
offset: c_int,
text: impl CastInto<Ref<QString>>
)
Inserts text at position offset.
Calls C++ function: pure virtual void QAccessibleEditableTextInterface::insertText(int offset, const QString& text)
.
Inserts text at position offset.
pub unsafe fn replace_text(
&self,
start_offset: c_int,
end_offset: c_int,
text: impl CastInto<Ref<QString>>
)
[src]
&self,
start_offset: c_int,
end_offset: c_int,
text: impl CastInto<Ref<QString>>
)
Removes the text from startOffset to endOffset and instead inserts text.
Calls C++ function: pure virtual void QAccessibleEditableTextInterface::replaceText(int startOffset, int endOffset, const QString& text)
.
Removes the text from startOffset to endOffset and instead inserts text.
Trait Implementations
impl CppDeletable for QAccessibleEditableTextInterface
[src]
unsafe fn delete(&self)
[src]
Destroys the QAccessibleEditableTextInterface.
Calls C++ function: virtual [destructor] void QAccessibleEditableTextInterface::~QAccessibleEditableTextInterface()
.
Destroys the QAccessibleEditableTextInterface.
Auto Trait Implementations
impl RefUnwindSafe for QAccessibleEditableTextInterface
impl Send for QAccessibleEditableTextInterface
impl Sync for QAccessibleEditableTextInterface
impl Unpin for QAccessibleEditableTextInterface
impl UnwindSafe for QAccessibleEditableTextInterface
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>,