On this page

HandleStyle QML Type

Defines the handle style for controls such as Switch, Slider and RangeSlider. More...

Import Statement: import Qt.labs.StyleKit
Inherits:

DelegateStyle

Status: Technology preview

This type is in technology preview and is subject to change.

Properties

Detailed Description

HandleStyle extends DelegateStyle with properties that are specific to styling a handle.

Some controls have more than one handle. For example, RangeSlider has both a first and a second handle. These can be styled independently using the first and second sub-handles, slider.handle.first and slider.handle.second. Properties not set on a sub-handle fall back to the handle itself.

Note: Types in Qt.labs modules are not guaranteed to remain compatible in future versions.

See also DelegateStyle, ControlStyle, ControlStateStyle, and FallbackStyle Reference.

Property Documentation

first : DelegateStyle

Grouped property for styling the first handle of for example a RangeSlider. Unset properties fall back to the HandleStyle itself.

second : DelegateStyle

Grouped property for styling the second handle of for example a RangeSlider. Unset properties fall back to the HandleStyle itself.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.