[−][src]Struct qt_core::EnterKeyType
This can be used to alter the appearance of the Return key on an on-screen keyboard.
C++ enum: Qt::EnterKeyType
.
This can be used to alter the appearance of the Return key on an on-screen keyboard.
Note: Not all of these values are supported on all platforms. For unsupported values the default key will be used instead.
This enum was introduced or modified in Qt 5.6.
Methods
impl EnterKeyType
[src]
impl EnterKeyType
[src]
pub const EnterKeyDefault: EnterKeyType
[src]
The default Enter key. This can either be a button closing the keyboard, or a Return button causing a new line in case of a multi-line input field. (C++ enum variant: EnterKeyDefault = 0
)
pub const EnterKeyReturn: EnterKeyType
[src]
Show a Return button that inserts a new line. The keyboard will not close when this button is pressed. (C++ enum variant: EnterKeyReturn = 1
)
pub const EnterKeyDone: EnterKeyType
[src]
Show a "Done" button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeyDone = 2
)
pub const EnterKeyGo: EnterKeyType
[src]
Show a "Go" button. Typically used in an address bar when entering a URL; the keyboard will close when this button is pressed. (C++ enum variant: EnterKeyGo = 3
)
pub const EnterKeySend: EnterKeyType
[src]
Show a "Send" button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeySend = 4
)
pub const EnterKeySearch: EnterKeyType
[src]
Show a "Search" button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeySearch = 5
)
pub const EnterKeyNext: EnterKeyType
[src]
Show a "Next" button. Typically used in a form to allow navigating to the next input field; the keyboard will not close when this button is pressed. (C++ enum variant: EnterKeyNext = 6
)
pub const EnterKeyPrevious: EnterKeyType
[src]
Show a "Previous" button. The keyboard will not close when this button is pressed. (C++ enum variant: EnterKeyPrevious = 7
)
Trait Implementations
impl Clone for EnterKeyType
[src]
fn clone(&self) -> EnterKeyType
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EnterKeyType
[src]
impl Debug for EnterKeyType
[src]
impl Eq for EnterKeyType
[src]
impl From<EnterKeyType> for c_int
[src]
fn from(value: EnterKeyType) -> Self
[src]
impl From<i32> for EnterKeyType
[src]
impl PartialEq<EnterKeyType> for EnterKeyType
[src]
fn eq(&self, other: &EnterKeyType) -> bool
[src]
fn ne(&self, other: &EnterKeyType) -> bool
[src]
impl StructuralEq for EnterKeyType
[src]
impl StructuralPartialEq for EnterKeyType
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnterKeyType
impl Send for EnterKeyType
impl Sync for EnterKeyType
impl Unpin for EnterKeyType
impl UnwindSafe for EnterKeyType
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> 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>,