[−][src]Struct qt_core::InputMethodQuery
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.
Methods
impl InputMethodQuery
[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.
fn bitor(self, rhs: T) -> QFlags<InputMethodQuery>
[src]
impl Clone for InputMethodQuery
[src]
fn clone(&self) -> InputMethodQuery
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputMethodQuery
[src]
impl Debug for InputMethodQuery
[src]
impl Eq for InputMethodQuery
[src]
impl From<InputMethodQuery> for c_int
[src]
fn from(value: InputMethodQuery) -> Self
[src]
impl From<InputMethodQuery> for QFlags<InputMethodQuery>
[src]
fn from(value: InputMethodQuery) -> Self
[src]
impl From<i32> for InputMethodQuery
[src]
impl PartialEq<InputMethodQuery> for InputMethodQuery
[src]
fn eq(&self, other: &InputMethodQuery) -> bool
[src]
fn ne(&self, other: &InputMethodQuery) -> bool
[src]
impl StructuralEq for InputMethodQuery
[src]
impl StructuralPartialEq for InputMethodQuery
[src]
Auto Trait Implementations
impl RefUnwindSafe for InputMethodQuery
impl Send for InputMethodQuery
impl Sync for InputMethodQuery
impl Unpin for InputMethodQuery
impl UnwindSafe for InputMethodQuery
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]
unsafe fn static_upcast_mut(ptr: MutPtr<T>) -> MutPtr<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,