[][src]Struct qt_core::EnterKeyType

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

This can be used to alter the appearance of the Return key on an on-screen keyboard.

C++ enum: Qt::EnterKeyType.

C++ documentation:

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]

pub fn to_int(&self) -> c_int[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 From<i32> for EnterKeyType[src]

impl From<EnterKeyType> for c_int[src]

impl Clone for EnterKeyType[src]

impl Copy for EnterKeyType[src]

impl Eq for EnterKeyType[src]

impl PartialEq<EnterKeyType> for EnterKeyType[src]

impl Debug for EnterKeyType[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<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.

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

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

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

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

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