Struct qt_core::InputMethodQuery
source · pub struct InputMethodQuery(/* private fields */);
Expand description
Masks:
C++ enum: Qt::InputMethodQuery
.
Masks:
The InputMethodQueries type is a typedef for QFlags<InputMethodQuery>. It stores an OR combination of InputMethodQuery values.
See also QInputMethodQueryEvent.
Implementations§
source§impl InputMethodQuery
impl InputMethodQuery
sourcepub const ImEnabled: InputMethodQuery = _
pub const ImEnabled: InputMethodQuery = _
The widget accepts input method input. (C++ enum variant: ImEnabled = 1
)
sourcepub const ImCursorRectangle: InputMethodQuery = _
pub const ImCursorRectangle: InputMethodQuery = _
The rectangle covering the area of the input cursor in widget coordinates. (C++ enum variant: ImCursorRectangle = 2
)
sourcepub const ImMicroFocus: InputMethodQuery = _
pub const ImMicroFocus: InputMethodQuery = _
This query is obsolete. Use ImCursorRectangle
instead. (C++ enum variant: ImMicroFocus = 2
)
sourcepub const ImFont: InputMethodQuery = _
pub const ImFont: InputMethodQuery = _
The currently used font for text input. (C++ enum variant: ImFont = 4
)
sourcepub const ImCursorPosition: InputMethodQuery = _
pub const ImCursorPosition: InputMethodQuery = _
The logical position of the cursor within the text surrounding the input area (see ImSurroundingText
). (C++ enum variant: ImCursorPosition = 8
)
sourcepub const ImSurroundingText: InputMethodQuery = _
pub const ImSurroundingText: InputMethodQuery = _
The plain text around the input area, for example the current paragraph. (C++ enum variant: ImSurroundingText = 16
)
sourcepub const ImCurrentSelection: InputMethodQuery = _
pub const ImCurrentSelection: InputMethodQuery = _
The currently selected text. (C++ enum variant: ImCurrentSelection = 32
)
sourcepub const ImMaximumTextLength: InputMethodQuery = _
pub const ImMaximumTextLength: InputMethodQuery = _
The maximum number of characters that the widget can hold. If there is no limit, QVariant::QVariant() is returned. (C++ enum variant: ImMaximumTextLength = 64
)
sourcepub const ImAnchorPosition: InputMethodQuery = _
pub const ImAnchorPosition: InputMethodQuery = _
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
)
sourcepub const ImHints: InputMethodQuery = _
pub const ImHints: InputMethodQuery = _
The hints for input method on expected input. (See Qt::InputMethodHints) (C++ enum variant: ImHints = 256
)
sourcepub const ImPreferredLanguage: InputMethodQuery = _
pub const ImPreferredLanguage: InputMethodQuery = _
The preferred input language. (C++ enum variant: ImPreferredLanguage = 512
)
sourcepub const ImAbsolutePosition: InputMethodQuery = _
pub const ImAbsolutePosition: InputMethodQuery = _
The logical position of the cursor within the entire document. (C++ enum variant: ImAbsolutePosition = 1024
)
sourcepub const ImTextBeforeCursor: InputMethodQuery = _
pub const ImTextBeforeCursor: InputMethodQuery = _
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
)
sourcepub const ImTextAfterCursor: InputMethodQuery = _
pub const ImTextAfterCursor: InputMethodQuery = _
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
)
sourcepub const ImEnterKeyType: InputMethodQuery = _
pub const ImEnterKeyType: InputMethodQuery = _
The Enter key type. (C++ enum variant: ImEnterKeyType = 8192
)
sourcepub const ImAnchorRectangle: InputMethodQuery = _
pub const ImAnchorRectangle: InputMethodQuery = _
The bounding rectangle of the selection anchor. This value has been added in Qt 5.7. (C++ enum variant: ImAnchorRectangle = 16384
)
sourcepub const ImInputItemClipRectangle: InputMethodQuery = _
pub const ImInputItemClipRectangle: InputMethodQuery = _
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
)
sourcepub const ImPlatformData: InputMethodQuery = _
pub const ImPlatformData: InputMethodQuery = _
Platform specific data for input method. (C++ enum variant: ImPlatformData = -2147483648
)
sourcepub const ImQueryInput: InputMethodQuery = _
pub const ImQueryInput: InputMethodQuery = _
Commonly changed properties on input. (C++ enum variant: ImQueryInput = 16570
)
sourcepub const ImQueryAll: InputMethodQuery = _
pub const ImQueryAll: InputMethodQuery = _
Query for all input method properties. (C++ enum variant: ImQueryAll = -1
)
Trait Implementations§
source§impl<T: Into<QFlags<InputMethodQuery>>> BitOr<T> for InputMethodQuery
impl<T: Into<QFlags<InputMethodQuery>>> BitOr<T> for InputMethodQuery
§type Output = QFlags<InputMethodQuery>
type Output = QFlags<InputMethodQuery>
|
operator.source§impl Clone for InputMethodQuery
impl Clone for InputMethodQuery
source§fn clone(&self) -> InputMethodQuery
fn clone(&self) -> InputMethodQuery
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InputMethodQuery
impl Debug for InputMethodQuery
source§impl From<InputMethodQuery> for QFlags<InputMethodQuery>
impl From<InputMethodQuery> for QFlags<InputMethodQuery>
source§fn from(value: InputMethodQuery) -> Self
fn from(value: InputMethodQuery) -> Self
source§impl From<InputMethodQuery> for c_int
impl From<InputMethodQuery> for c_int
source§fn from(value: InputMethodQuery) -> Self
fn from(value: InputMethodQuery) -> Self
source§impl From<i32> for InputMethodQuery
impl From<i32> for InputMethodQuery
source§impl PartialEq for InputMethodQuery
impl PartialEq for InputMethodQuery
source§fn eq(&self, other: &InputMethodQuery) -> bool
fn eq(&self, other: &InputMethodQuery) -> bool
self
and other
values to be equal, and is used
by ==
.