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

ScrollViewStyle QML Type

Provides custom styling for ScrollView.

This type was introduced in Qt 5.1.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

ScrollViewStyle QML Type

Detailed Description

 

Property Documentation

 

[read-only] control : ScrollView

The ScrollView this style is attached to.

corner : Component

This Component paints the corner area between scroll bars

decrementControl : Component

This component controls the appearance of the scroll bar decrement button.

You can access the following state properties:

property bool styleData.hovered

property bool styleData.pressed

property bool styleData.horizontal

frame : Component

This Component paints the frame around scroll bars.

handle : Component

This component controls the appearance of the scroll bar handle.

You can access the following state properties:

property bool styleData.hovered

property bool styleData.pressed

property bool styleData.horizontal

handleOverlap : int

This property controls the edge overlap between the handle and the increment/decrement buttons.

The default value is 30.

incrementControl : Component

This component controls the appearance of the scroll bar increment button.

You can access the following state properties:

property bool styleData.hovered

property bool styleData.pressed

property bool styleData.horizontal

minimumHandleLength : int

This is the minimum extent of the scroll bar handle.

The default value is 30.

padding group

padding.bottom : int

padding.left : int

padding.right : int

padding.top : int

This grouped property holds the top, left, right and bottom padding.

scrollBarBackground : Component

This component controls the appearance of the scroll bar background.

You can access the following state properties:

property bool styleData.hovered

property bool styleData.horizontal

scrollToClickedPosition : bool

This component determines if the flickable should reposition itself at the mouse location when clicked.

transientScrollBars : bool

This property holds whether the scroll bars are transient. Transient scroll bars appear when the content is scrolled and disappear when they are no longer needed.

The default value is platform dependent.

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