[−][src]Struct qt_gui::QInputMethodQueryEvent
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
C++ class: QInputMethodQueryEvent
.
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
It is used by the input method to query a set of properties of the object to be able to support complex input method operations as support for surrounding text and reconversions.
queries() specifies which properties are queried.
The object should call setValue() on the event to fill in the requested data before calling accept().
Methods
impl QInputMethodQueryEvent
[src]
pub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QInputMethodQueryEvent>>
) -> Ref<QInputMethodQueryEvent>
[src]
&self,
other: impl CastInto<Ref<QInputMethodQueryEvent>>
) -> Ref<QInputMethodQueryEvent>
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
Calls C++ function: QInputMethodQueryEvent& QInputMethodQueryEvent::operator=(const QInputMethodQueryEvent& other)
.
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
It is used by the input method to query a set of properties of the object to be able to support complex input method operations as support for surrounding text and reconversions.
queries() specifies which properties are queried.
The object should call setValue() on the event to fill in the requested data before calling accept().
pub unsafe fn new(
queries: QFlags<InputMethodQuery>
) -> CppBox<QInputMethodQueryEvent>
[src]
queries: QFlags<InputMethodQuery>
) -> CppBox<QInputMethodQueryEvent>
Constructs a query event for properties given by queries.
Calls C++ function: [constructor] void QInputMethodQueryEvent::QInputMethodQueryEvent(QFlags<Qt::InputMethodQuery> queries)
.
Constructs a query event for properties given by queries.
pub unsafe fn new_copy(
other: impl CastInto<Ref<QInputMethodQueryEvent>>
) -> CppBox<QInputMethodQueryEvent>
[src]
other: impl CastInto<Ref<QInputMethodQueryEvent>>
) -> CppBox<QInputMethodQueryEvent>
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
Calls C++ function: [constructor] void QInputMethodQueryEvent::QInputMethodQueryEvent(const QInputMethodQueryEvent& other)
.
The QInputMethodQueryEvent class provides an event sent by the input context to input objects.
It is used by the input method to query a set of properties of the object to be able to support complex input method operations as support for surrounding text and reconversions.
queries() specifies which properties are queried.
The object should call setValue() on the event to fill in the requested data before calling accept().
pub unsafe fn queries(&self) -> QFlags<InputMethodQuery>
[src]
Returns the properties queried by the event.
Calls C++ function: QFlags<Qt::InputMethodQuery> QInputMethodQueryEvent::queries() const
.
Returns the properties queried by the event.
pub unsafe fn set_value(
&self,
query: InputMethodQuery,
value: impl CastInto<Ref<QVariant>>
)
[src]
&self,
query: InputMethodQuery,
value: impl CastInto<Ref<QVariant>>
)
Sets property query to value.
Calls C++ function: void QInputMethodQueryEvent::setValue(Qt::InputMethodQuery query, const QVariant& value)
.
Sets property query to value.
See also value().
pub unsafe fn value(&self, query: InputMethodQuery) -> CppBox<QVariant>
[src]
Returns value of the property query.
Calls C++ function: QVariant QInputMethodQueryEvent::value(Qt::InputMethodQuery query) const
.
Returns value of the property query.
See also setValue().
Trait Implementations
impl CppDeletable for QInputMethodQueryEvent
[src]
unsafe fn delete(&self)
[src]
Calls C++ function: virtual [destructor] void QInputMethodQueryEvent::~QInputMethodQueryEvent()
.
impl Deref for QInputMethodQueryEvent
[src]
type Target = QEvent
The resulting type after dereferencing.
fn deref(&self) -> &QEvent
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QInputMethodQueryEvent* ptr)
.
impl DynamicCast<QInputMethodQueryEvent> for QEvent
[src]
unsafe fn dynamic_cast(ptr: Ptr<QEvent>) -> Ptr<QInputMethodQueryEvent>
[src]
Calls C++ function: QInputMethodQueryEvent* dynamic_cast<QInputMethodQueryEvent*>(QEvent* ptr)
.
impl StaticDowncast<QInputMethodQueryEvent> for QEvent
[src]
unsafe fn static_downcast(ptr: Ptr<QEvent>) -> Ptr<QInputMethodQueryEvent>
[src]
Calls C++ function: QInputMethodQueryEvent* static_cast<QInputMethodQueryEvent*>(QEvent* ptr)
.
impl StaticUpcast<QEvent> for QInputMethodQueryEvent
[src]
unsafe fn static_upcast(ptr: Ptr<QInputMethodQueryEvent>) -> Ptr<QEvent>
[src]
Calls C++ function: QEvent* static_cast<QEvent*>(QInputMethodQueryEvent* ptr)
.
Auto Trait Implementations
impl RefUnwindSafe for QInputMethodQueryEvent
impl Send for QInputMethodQueryEvent
impl Sync for QInputMethodQueryEvent
impl Unpin for QInputMethodQueryEvent
impl UnwindSafe for QInputMethodQueryEvent
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>,