On this page

Qt Labs StyleKit QML Types

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

The Qt Labs StyleKit module provides QML types for declarative styling of Qt Quick Controls. StyleKit lets you define a complete visual style for all your controls from a single Style object, including support for themes, state-based styling, and transitions.

The QML types can be imported into your application using the following import statement in your .qml file:

import Qt.labs.StyleKit

QML Types

AbstractStylableControls

Abstract base type containing the control types that can be styled

AbstractStyle

Abstract base type with properties common to both Style and Theme

BorderStyle

Defines the border style for a delegate

ControlStateStyle

Defines the style for a control in a given state

ControlStyle

Defines the style for a control in the normal state

CustomControl

Defines styling for a custom control type

CustomTheme

Defines a named custom theme

DelegateStyle

Defines the visual appearance of an element within a control

HandleStyle

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

ImageStyle

Defines the image style for a delegate

IndicatorStyle

Defines the style for a control's indicator

ShadowStyle

Defines the drop shadow style for a delegate

Style

Root type for a style definition

StyleAnimation

Animates style property changes during state transitions

StyleKit

A singleton for setting and accessing the current style

StyleKitDebug

Traces how style properties are resolved for a control

StyleReader

Provides access to control state and palette for styling

StyleVariation

Defines alternative styling for specific controls

StyledItem

Renders a DelegateStyle

SubIndicatorStyle

Defines the style for a sub-indicator delegate

TextStyle

Defines the text style for a control's label

Theme

Defines color and style overrides for a color scheme

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

© 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.