[][src]Struct qt_core::InputMethodQuery

#[repr(transparent)]
pub struct InputMethodQuery(_);

Masks:

C++ enum: Qt::InputMethodQuery.

C++ documentation:

Masks:

The InputMethodQueries type is a typedef for QFlags<InputMethodQuery>. It stores an OR combination of InputMethodQuery values.

See also QInputMethodQueryEvent.

Methods

impl InputMethodQuery[src]

pub fn to_int(&self) -> c_int[src]

impl InputMethodQuery[src]

pub const ImEnabled: InputMethodQuery[src]

The widget accepts input method input. (C++ enum variant: ImEnabled = 1)

pub const ImCursorRectangle: InputMethodQuery[src]

The rectangle covering the area of the input cursor in widget coordinates. (C++ enum variant: ImCursorRectangle = 2)

pub const ImMicroFocus: InputMethodQuery[src]

This query is obsolete. Use ImCursorRectangle instead. (C++ enum variant: ImMicroFocus = 2)

pub const ImFont: InputMethodQuery[src]

The currently used font for text input. (C++ enum variant: ImFont = 4)

pub const ImCursorPosition: InputMethodQuery[src]

The logical position of the cursor within the text surrounding the input area (see ImSurroundingText). (C++ enum variant: ImCursorPosition = 8)

pub const ImSurroundingText: InputMethodQuery[src]

The plain text around the input area, for example the current paragraph. (C++ enum variant: ImSurroundingText = 16)

pub const ImCurrentSelection: InputMethodQuery[src]

The currently selected text. (C++ enum variant: ImCurrentSelection = 32)

pub const ImMaximumTextLength: InputMethodQuery[src]

The maximum number of characters that the widget can hold. If there is no limit, QVariant::QVariant() is returned. (C++ enum variant: ImMaximumTextLength = 64)

pub const ImAnchorPosition: InputMethodQuery[src]

The position of the selection anchor. This may be less or greater than ImCursorPosition, depending on which side of selection the cursor is. If there is no selection, it returns the same as ImCursorPosition. (C++ enum variant: ImAnchorPosition = 128)

pub const ImHints: InputMethodQuery[src]

The hints for input method on expected input. (See Qt::InputMethodHints) (C++ enum variant: ImHints = 256)

pub const ImPreferredLanguage: InputMethodQuery[src]

The preferred input language. (C++ enum variant: ImPreferredLanguage = 512)

pub const ImAbsolutePosition: InputMethodQuery[src]

The logical position of the cursor within the entire document. (C++ enum variant: ImAbsolutePosition = 1024)

pub const ImTextBeforeCursor: InputMethodQuery[src]

The plain text before the cursor. The widget can decide how much text to return, but must not return an empty string unless the cursor is at the start of the document. (C++ enum variant: ImTextBeforeCursor = 2048)

pub const ImTextAfterCursor: InputMethodQuery[src]

The plain text after the cursor. The widget can decide how much text to return, but must not return an empty string unless the cursor is at the end of the document. (C++ enum variant: ImTextAfterCursor = 4096)

pub const ImEnterKeyType: InputMethodQuery[src]

The Enter key type. (C++ enum variant: ImEnterKeyType = 8192)

pub const ImAnchorRectangle: InputMethodQuery[src]

The bounding rectangle of the selection anchor. This value has been added in Qt 5.7. (C++ enum variant: ImAnchorRectangle = 16384)

pub const ImInputItemClipRectangle: InputMethodQuery[src]

The actual exposed input item rectangle. Parts of the input item might be clipped. This value will take clipping into consideration and return the actual painted item rectangle. The rectangle is in widget coordinates. (C++ enum variant: ImInputItemClipRectangle = 32768)

pub const ImPlatformData: InputMethodQuery[src]

Platform specific data for input method. (C++ enum variant: ImPlatformData = -2147483648)

pub const ImQueryInput: InputMethodQuery[src]

Commonly changed properties on input. (C++ enum variant: ImQueryInput = 16570)

pub const ImQueryAll: InputMethodQuery[src]

Query for all input method properties. (C++ enum variant: ImQueryAll = -1)

Trait Implementations

impl<T: Into<QFlags<InputMethodQuery>>> BitOr<T> for InputMethodQuery[src]

type Output = QFlags<InputMethodQuery>

The resulting type after applying the | operator.

impl Clone for InputMethodQuery[src]

impl Copy for InputMethodQuery[src]

impl Debug for InputMethodQuery[src]

impl Eq for InputMethodQuery[src]

impl From<InputMethodQuery> for c_int[src]

impl From<InputMethodQuery> for QFlags<InputMethodQuery>[src]

impl From<i32> for InputMethodQuery[src]

impl PartialEq<InputMethodQuery> for InputMethodQuery[src]

impl StructuralEq for InputMethodQuery[src]

impl StructuralPartialEq for InputMethodQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.