IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

ModeKey QML Type

Generic mode key for keyboard layouts.

This type was introduced in QtQuick.VirtualKeyboard 2.0.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ModeKey QML Type

  • Import Statement: import QtQuick.VirtualKeyboard.Components

  • Since:: QtQuick.VirtualKeyboard 2.0

  • Inherits:: Key

  • Group: ModeKey is part of qmlclass, qtvirtualkeyboard-components-qml, qtvirtualkeyboard-key-types

Detailed Description

This key provides generic mode button functionality.

A key press toggles the current mode without emitting key event for input method processing.

ModeKey can be used in situations where a particular mode is switched "ON / OFF", and where the mode change does not require changing the keyboard layout. When this component is used, the displayText should remain the same regardless of the mode, because the keyboard style visualizes the status.

Property Documentation

 

mode : bool

This property provides the current mode.

The default is false.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+