QPixMapItem QML Type
| Import Statement: | import org.kde.kquickcontrols.addons |
Properties
- fillMode : FillMode
- nativeHeight : int
- nativeWidth : int
- null : bool
- paintedHeight : int
- paintedWidth : int
- pixmap : QPixMap
Signals
- fillModeChanged()
- nativeHeightChanged()
- nativeWidthChanged()
- nullChanged()
- paintedHeightChanged()
- paintedWidthChanged()
- pixmapChanged()
Detailed Description
Property Documentation
fillMode : FillMode
| Constant | Description |
|---|---|
Stretch | The image is scaled to fit. |
PreserveAspectFit | the image is scaled uniformly to fit without cropping. |
PreserveAspectCrop | The image is scaled uniformly to fill, cropping if necessary. |
Tile | The image is duplicated horizontally and vertically. |
TileVertically | The image is stretched horizontally and tiled vertically. |
TileHorizontally | The image is stretched vertically and tiled horizontally. |
nativeHeight : int
nativeWidth : int
null : bool
paintedHeight : int
paintedWidth : int
pixmap : QPixMap
Signal Documentation
fillModeChanged()
Note: The corresponding handler is onFillModeChanged.
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.
pixmapChanged()
Note: The corresponding handler is onPixmapChanged.