C

SafePicture QML Type

Provides a QML Picture type which can be rendered in the Qt Safe Renderer runtime. More...

Import Statement: import Qt.SafeRenderer

Detailed Description

SafePicture is an indicator that displays the colorized scalable vector QPicture in the Safe Renderer runtime.

The following code provides an example how to use the SafePicture type:

SafePicture {
    id: iconCoolant
    objectName: "iconCoolant"
    width: 30
    height: 30
    color: "#e41e25"
    fillColor: "white"  // optional, but recommended to use fillColor for controlled background color
    source: "qrc:/iso-icons/iso_grs_7000_4_2426.dat"
}

Available under certain Qt licenses.
Find out more.