Struct qt_core::EnterKeyType
source · pub struct EnterKeyType(/* private fields */);
Expand description
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.
Implementations§
source§impl EnterKeyType
impl EnterKeyType
sourcepub const EnterKeyDefault: EnterKeyType = _
pub const EnterKeyDefault: EnterKeyType = _
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
)
sourcepub const EnterKeyReturn: EnterKeyType = _
pub const EnterKeyReturn: EnterKeyType = _
Show a Return button that inserts a new line. The keyboard will not close when this button is pressed. (C++ enum variant: EnterKeyReturn = 1
)
sourcepub const EnterKeyDone: EnterKeyType = _
pub const EnterKeyDone: EnterKeyType = _
Show a “Done” button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeyDone = 2
)
sourcepub const EnterKeyGo: EnterKeyType = _
pub const EnterKeyGo: EnterKeyType = _
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
)
sourcepub const EnterKeySend: EnterKeyType = _
pub const EnterKeySend: EnterKeyType = _
Show a “Send” button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeySend = 4
)
sourcepub const EnterKeySearch: EnterKeyType = _
pub const EnterKeySearch: EnterKeyType = _
Show a “Search” button. The keyboard will close when this button is pressed. (C++ enum variant: EnterKeySearch = 5
)
sourcepub const EnterKeyNext: EnterKeyType = _
pub const EnterKeyNext: EnterKeyType = _
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
)
sourcepub const EnterKeyPrevious: EnterKeyType = _
pub const EnterKeyPrevious: EnterKeyType = _
Show a “Previous” button. The keyboard will not close when this button is pressed. (C++ enum variant: EnterKeyPrevious = 7
)
Trait Implementations§
source§impl Clone for EnterKeyType
impl Clone for EnterKeyType
source§fn clone(&self) -> EnterKeyType
fn clone(&self) -> EnterKeyType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnterKeyType
impl Debug for EnterKeyType
source§impl From<EnterKeyType> for c_int
impl From<EnterKeyType> for c_int
source§fn from(value: EnterKeyType) -> Self
fn from(value: EnterKeyType) -> Self
source§impl From<i32> for EnterKeyType
impl From<i32> for EnterKeyType
source§impl PartialEq for EnterKeyType
impl PartialEq for EnterKeyType
source§fn eq(&self, other: &EnterKeyType) -> bool
fn eq(&self, other: &EnterKeyType) -> bool
self
and other
values to be equal, and is used
by ==
.