QImageItem QML Type

Import Statement: import org.kde.kquickcontrols.addons

Properties

Signals

Detailed Description

Property Documentation

fillMode : FillMode

ConstantDescription
StretchThe image is scaled to fit.
PreserveAspectFitthe image is scaled uniformly to fit without cropping.
PreserveAspectCropThe image is scaled uniformly to fill, cropping if necessary.
TileThe image is duplicated horizontally and vertically.
TileVerticallyThe image is stretched horizontally and tiled vertically.
TileHorizontallyThe image is stretched vertically and tiled horizontally.
Pad (since 5.96)The image is not transformed.

image : QImage

nativeHeight : int

nativeWidth : int

null : bool

paintedHeight : int

paintedWidth : int

Signal Documentation

fillModeChanged()

Note: The corresponding handler is onFillModeChanged.

imageChanged()

Note: The corresponding handler is onImageChanged.

nativeHeightChanged()

Note: The corresponding handler is onNativeHeightChanged.

nativeWidthChanged()

Note: The corresponding handler is onNativeWidthChanged.

nullChanged()

Note: The corresponding handler is onNullChanged.

paintedHeightChanged()

Note: The corresponding handler is onPaintedHeightChanged.

paintedWidthChanged()

Note: The corresponding handler is onPaintedWidthChanged.