ImageStyle QML Type

Defines the image style for a delegate. More...

Import Statement: import Qt.labs.StyleKit

Properties

Detailed Description

ImageStyle provides properties for placing an image inside a DelegateStyle. It is available as the image grouped property on any delegate.

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

color : color

A color overlay applied to the image. This is typically used to tint monochrome icons to match the style's color scheme.

fillMode : enumeration

How the image should be scaled or tiled within the delegate. The value is one of the Image.fillMode enum values.

source : url

The URL of the image to display inside the delegate.