[−][src]Struct qt_core::InputMethodHint
Flags that alter the behavior:
C++ enum: Qt::InputMethodHint
.
Flags that alter the behavior:
Flags that restrict input (exclusive flags):
Masks:
Note: If several exclusive flags are OR-ed together, the resulting character set will consist of the union of the specified sets. For instance specifying ImhNumbersOnly
and ImhUppercaseOnly
would yield a set consisting of numbers and uppercase letters.
The InputMethodHints type is a typedef for QFlags<InputMethodHint>. It stores an OR combination of InputMethodHint values.
See also QGraphicsItem::inputMethodHints().
Methods
impl InputMethodHint
[src]
impl InputMethodHint
[src]
pub const ImhNone: InputMethodHint
[src]
No hints. (C++ enum variant: ImhNone = 0
)
pub const ImhHiddenText: InputMethodHint
[src]
The input method should not show the characters while typing. This is automatically set when setting QLineEdit::echoMode to Password
. Note that setting ImhHiddenText
does not change the echo mode. (C++ enum variant: ImhHiddenText = 1
)
pub const ImhSensitiveData: InputMethodHint
[src]
Typed text should not be stored by the active input method in any persistent storage like predictive user dictionary. (C++ enum variant: ImhSensitiveData = 2
)
pub const ImhNoAutoUppercase: InputMethodHint
[src]
The input method should not try to automatically switch to upper case when a sentence ends. (C++ enum variant: ImhNoAutoUppercase = 4
)
pub const ImhPreferNumbers: InputMethodHint
[src]
Numbers are preferred (but not required). (C++ enum variant: ImhPreferNumbers = 8
)
pub const ImhPreferUppercase: InputMethodHint
[src]
Upper case letters are preferred (but not required). (C++ enum variant: ImhPreferUppercase = 16
)
pub const ImhPreferLowercase: InputMethodHint
[src]
Lower case letters are preferred (but not required). (C++ enum variant: ImhPreferLowercase = 32
)
pub const ImhNoPredictiveText: InputMethodHint
[src]
Do not use predictive text (i.e. dictionary lookup) while typing. (C++ enum variant: ImhNoPredictiveText = 64
)
pub const ImhDate: InputMethodHint
[src]
The text editor functions as a date field. (C++ enum variant: ImhDate = 128
)
pub const ImhTime: InputMethodHint
[src]
The text editor functions as a time field. (C++ enum variant: ImhTime = 256
)
pub const ImhPreferLatin: InputMethodHint
[src]
Latin characters are preferred (but not required). (C++ enum variant: ImhPreferLatin = 512
)
pub const ImhMultiLine: InputMethodHint
[src]
Multiple lines can be entered into the text field. (C++ enum variant: ImhMultiLine = 1024
)
pub const ImhDigitsOnly: InputMethodHint
[src]
Only digits are allowed. (C++ enum variant: ImhDigitsOnly = 65536
)
pub const ImhFormattedNumbersOnly: InputMethodHint
[src]
Only number input is allowed. This includes decimal point and minus sign. (C++ enum variant: ImhFormattedNumbersOnly = 131072
)
pub const ImhUppercaseOnly: InputMethodHint
[src]
Only upper case letter input is allowed. (C++ enum variant: ImhUppercaseOnly = 262144
)
pub const ImhLowercaseOnly: InputMethodHint
[src]
Only lower case letter input is allowed. (C++ enum variant: ImhLowercaseOnly = 524288
)
pub const ImhDialableCharactersOnly: InputMethodHint
[src]
Only characters suitable for phone dialing are allowed. (C++ enum variant: ImhDialableCharactersOnly = 1048576
)
pub const ImhEmailCharactersOnly: InputMethodHint
[src]
Only characters suitable for email addresses are allowed. (C++ enum variant: ImhEmailCharactersOnly = 2097152
)
pub const ImhUrlCharactersOnly: InputMethodHint
[src]
Only characters suitable for URLs are allowed. (C++ enum variant: ImhUrlCharactersOnly = 4194304
)
pub const ImhLatinOnly: InputMethodHint
[src]
Only latin based input is allowed. (C++ enum variant: ImhLatinOnly = 8388608
)
pub const ImhExclusiveInputMask: InputMethodHint
[src]
This mask yields nonzero if any of the exclusive flags are used. (C++ enum variant: ImhExclusiveInputMask = -65536
)
pub const ImhNoEditMenu: InputMethodHint
[src]
Do not use built-in edit menu. This flag was introduced in Qt 5.11. (C++ enum variant: ImhNoEditMenu = 2048
)
pub const ImhNoTextHandles: InputMethodHint
[src]
Do not use built-in text cursor and selection handles. This flag was introduced in Qt 5.11. (C++ enum variant: ImhNoTextHandles = 4096
)
Trait Implementations
impl From<i32> for InputMethodHint
[src]
impl From<InputMethodHint> for c_int
[src]
fn from(value: InputMethodHint) -> Self
[src]
impl From<InputMethodHint> for QFlags<InputMethodHint>
[src]
fn from(value: InputMethodHint) -> Self
[src]
impl Clone for InputMethodHint
[src]
fn clone(&self) -> InputMethodHint
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for InputMethodHint
[src]
impl Eq for InputMethodHint
[src]
impl PartialEq<InputMethodHint> for InputMethodHint
[src]
fn eq(&self, other: &InputMethodHint) -> bool
[src]
fn ne(&self, other: &InputMethodHint) -> bool
[src]
impl Debug for InputMethodHint
[src]
impl<T: Into<QFlags<InputMethodHint>>> BitOr<T> for InputMethodHint
[src]
type Output = QFlags<InputMethodHint>
The resulting type after applying the |
operator.
fn bitor(self, rhs: T) -> QFlags<InputMethodHint>
[src]
Auto Trait Implementations
impl Send for InputMethodHint
impl Sync for InputMethodHint
impl Unpin for InputMethodHint
impl UnwindSafe for InputMethodHint
impl RefUnwindSafe for InputMethodHint
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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, U> CastInto<U> for T where
U: CastFrom<T>,
[src]
U: CastFrom<T>,