SubIndicatorStyle QML Type

Defines the style for a sub-indicator delegate. 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

SubIndicatorStyle extends DelegateStyle with a foreground property. It is used for styling sub-indicator delegates such as indicator.first and indicator.second in controls with multiple indicators, like SpinBox. For SpinBox, indicator.first styles the increment button, and indicator.second styles the decrement button. It is equivalent to IndicatorStyle, but does not itself contain sub-indicators.

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

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

Property Documentation

foreground : DelegateStyle

Grouped property for styling the foreground element of this indicator. The foreground typically represents a checkmark, icon or arrow rendered inside the indicator.