Qt 5.6 | Qt Quick Controls | QML Types | ScrollViewStyle QML Type

Qt 5.6.2 Reference Documentation

# ScrollViewStyle QML Type

Provides custom styling for ScrollView More...

Import Statement: | import QtQuick.Controls.Styles 1.4
Since: | Qt 5.1
Inherited By: | BasicTableViewStyle and TextAreaStyle

- List of all members, including inherited members

## Properties

- control : ScrollView
- corner : Component
- decrementControl : Component
- frame : Component
- handle : Component
- handleOverlap : int
- incrementControl : Component
- minimumHandleLength : int
- scrollBarBackground : Component
- scrollToClickedPosition : bool
- transientScrollBars : bool

## 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`.

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.