Provides a property to manipulate the appearance of Enter key on an on-screen keyboard. 更多...
import 语句: | import QtQuick 2.12 |
Since: | Qt 5.6 |
The EnterKey attached property is used to manipulate the appearance and behavior of the Enter key on an on-screen keyboard.
EnterKey.type : enumeration |
Holds the type of the Enter key.
注意: Not all of these values are supported on all platforms. For unsupported values the default key is used instead.
常量 | 描述 |
---|---|
Qt.EnterKeyDefault
|
The default Enter key. This can be either a button to accept the input and close the keyboard, or a 返回 button to enter a newline in case of a multi-line input field. |
Qt.EnterKeyReturn
|
Show a 返回 button that inserts a newline. |
Qt.EnterKeyDone
|
Show a "Done" button. Typically, the keyboard is expected to close when the button is pressed. |
Qt.EnterKeyGo
|
Show a "转到" button. Typically used in an address bar when entering a URL. |
Qt.EnterKeySend
|
Show a "Send" button. |
Qt.EnterKeySearch
|
Show a "Search" button. |
Qt.EnterKeyNext
|
Show a "Next" button. Typically used in a form to allow navigating to the next input field without the keyboard closing. |
Qt.EnterKeyPrevious
|
Show a "Previous" button. |