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

KeyPanel QML Type

A base type of the styled keys.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

KeyPanel QML Type

  • Import Statement: import QtQuick.VirtualKeyboard.Styles

  • Inherits:: Item

  • Group: KeyPanel is part of qmlclass, qtvirtualkeyboard-styles-qml

Detailed Description

All the key delegates provided by the style should be based on this type.

Property Documentation

 

control : Item

Provides access to properties in BaseKey.

A list of available properties in control:

  • control.key Unicode code of the key.

  • control.text Unicode text of the key.

  • control.displayText Display text of the key.

  • control.smallText Small text of the key, usually rendered in the corner of the key.

  • control.smallTextVisible Visibility of the small text.

  • control.alternativeKeys List of alternative key sequences.

  • control.enabled Set to true when the key is enabled.

  • control.pressed Set to true when the key is currently pressed.

  • control.uppercased Set to true when the key is uppercased.

[since QtQuick.VirtualKeyboard.Styles 1.1] soundEffect : url

Sets the sound effect to be played on key press.

This property was introduced in QtQuick.VirtualKeyboard.Styles 1.1.

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