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

Dial QML Type

A circular dial that is rotated to set a value.

This type was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Dial QML Type▲

  • Import Statement: import QtQuick.Extras 1.4

  • Since: Qt 5.5

  • Inherits: FocusScope

  • Group: Dial is part of extras, extras-interactive

Detailed Description▲

A Dial

The Dial is similar to a traditional dial knob that is found on devices such as stereos or industrial equipment. It allows the user to specify a value within a range.

Like https://, Dial can display tickmarks to give an indication of the current value. When a suitable https:// is combined with https://, the dial "snaps" to each tickmark.

You can create a custom appearance for a Dial by assigning a https://.

Property Documentation▲

 

activeFocusOnPress : bool▲

This property specifies whether the dial should gain active focus when pressed.

The default value is false.

See Also▲

See also https://

[read-only] hovered : real▲

This property holds whether the button is being hovered.

maximumValue : real▲

The largest value allowed by the dial.

The default value is 1.0.

See Also▲

See also https://, https://

minimumValue : real▲

The smallest value allowed by the dial.

The default value is 0.0.

See Also▲

See also https://, https://

[read-only] pressed : bool▲

Returns true if the dial is pressed.

See Also▲

See also https://

stepSize : real▲

The default value is 0.0.

style : Component▲

The style Component for this control.

See Also▲

See also Qt Quick Controls Styles QML Types

tickmarksVisible : bool▲

This property determines whether or not the dial displays tickmarks, minor tickmarks, and labels.

For more fine-grained control over what is displayed, the following style components of https:// can be used:

  • https://

  • https://

  • https://

The default value is true.

value : real▲

The angle of the handle along the dial, in the range of 0.0 to 1.0.

The default value is 0.0.

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

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.