En esta página

EnterKey QML Type

Proporciona una propiedad para manipular la apariencia de la tecla Intro en un teclado en pantalla. Más...

Import Statement: import QtQuick

Propiedades adjuntas

  • type : enumeration

Descripción detallada

La propiedad adjunta EnterKey se utiliza para manipular la apariencia y el comportamiento de la tecla Enter en un teclado en pantalla.

Documentación de la propiedad adjunta

EnterKey.type : enumeration

Indica el tipo de la tecla Intro.

Nota: No todos estos valores están soportados en todas las plataformas. Para los valores no soportados se utiliza la tecla por defecto.

ConstanteDescripción
Qt.EnterKeyDefaultLa tecla Intro por defecto. Puede ser un botón para aceptar la entrada y cerrar el teclado, o un botón Retorno para introducir una nueva línea en el caso de un campo de entrada multilínea.
Qt.EnterKeyReturnMostrar un botón Retorno que inserte una nueva línea.
Qt.EnterKeyDoneMostrar un botón "Listo". Normalmente, se espera que el teclado se cierre al pulsar el botón.
Qt.EnterKeyGoMostrar un botón "Ir". Suele utilizarse en una barra de direcciones cuando se introduce una URL.
Qt.EnterKeySendMostrar un botón "Enviar".
Qt.EnterKeySearchMostrar un botón "Buscar".
Qt.EnterKeyNextMostrar un botón "Siguiente". Se utiliza normalmente en los formularios para pasar al campo siguiente sin cerrar el teclado.
Qt.EnterKeyPreviousMostrar un botón "Anterior ".

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.