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

ToggleButtonStyle QML Type

Provides custom styling for ToggleButton.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ToggleButtonStyle QML Type

  • Import Statement: import QtQuick.Controls.Styles 1.4

  • Since: Qt 5.5

  • Group: ToggleButtonStyle is part of Styling Controls

Detailed Description

You can create a custom toggle button by replacing the same delegates that ButtonStyle provides.

Property Documentation

 

checkedDropShadowColor : color

The color that is used for the drop shadow below the checked state indicator.

See Also

checkedGradient : Gradient

The gradient that is displayed on the checked state indicator.

See Also

[read-only] control : ToggleButton

The ToggleButton that this style is attached to.

inactiveGradient : Gradient

The gradient that is displayed on the inactive state indicator. The inactive state indicator will be the checked gradient when the button is unchecked, and the unchecked gradient when the button is checked.

See Also

uncheckedDropShadowColor : color

The color that is used for the drop shadow below the checked state indicator.

See Also

uncheckedGradient : Gradient

The gradient that is displayed on the unchecked state indicator.

See Also

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