Skip to content

Class ParametizedImage

ClassList > ParametizedImage

Inherits the following classes: QQuickPaintedItem

Public Properties

Type Name
property QColor fillColor
property QVariantMap parameters
property QString source
property QColor strokeColor
property double strokeWidth

Public Signals

Type Name
signal void fillColorChanged
signal void parametersChanged
signal void sourceChanged
signal void strokeColorChanged
signal void strokeWidthChanged

Public Functions

Type Name
ParametizedImage (QQuickItem * parent=nullptr)
QColor fillColor () const
void paint (QPainter * painter) override
QVariantMap parameters () const
void setFillColor (const QColor & color)
void setParameters (const QVariantMap & parameters)
void setSource (const QString & source)
void setStrokeColor (const QColor & color)
void setStrokeWidth (double width)
QString source () const
QColor strokeColor () const
double strokeWidth () const
~ParametizedImage () = default

Public Properties Documentation

property fillColor [1/2]

QColor ParametizedImage::fillColor;

The fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


property parameters [1/2]

QVariantMap ParametizedImage::parameters;

The parameters used to paint an image.

Note:

Compatible with parametized SVG images only.


property source [1/2]

QString ParametizedImage::source;

The source image.


property strokeColor [1/2]

QColor ParametizedImage::strokeColor;

The stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


property strokeWidth [1/2]

double ParametizedImage::strokeWidth;

The stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


Public Signals Documentation

signal fillColorChanged

void ParametizedImage::fillColorChanged;

signal parametersChanged

void ParametizedImage::parametersChanged;

signal sourceChanged

void ParametizedImage::sourceChanged;

signal strokeColorChanged

void ParametizedImage::strokeColorChanged;

signal strokeWidthChanged

void ParametizedImage::strokeWidthChanged;

Public Functions Documentation

function ParametizedImage

ParametizedImage::ParametizedImage (
    QQuickItem * parent=nullptr
) 

function fillColor [2/2]

QColor ParametizedImage::fillColor () const

The fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


function paint

void ParametizedImage::paint (
    QPainter * painter
) override

function parameters [2/2]

QVariantMap ParametizedImage::parameters () const

The parameters used to paint an image.

Note:

Compatible with parametized SVG images only.


function setFillColor

void ParametizedImage::setFillColor (
    const QColor & color
) 

The fill color used to paint an image.

Note:

Compatible with parametized SVG images only.


function setParameters

void ParametizedImage::setParameters (
    const QVariantMap & parameters
) 

The parameters used to paint an image.

Note:

Compatible with parametized SVG images only.


function setSource

void ParametizedImage::setSource (
    const QString & source
) 

The source image.


function setStrokeColor

void ParametizedImage::setStrokeColor (
    const QColor & color
) 

The stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


function setStrokeWidth

void ParametizedImage::setStrokeWidth (
    double width
) 

The stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


function source [2/2]

QString ParametizedImage::source () const

The source image.


function strokeColor [2/2]

QColor ParametizedImage::strokeColor () const

The stroke color used to paint an image.

Note:

Compatible with parametized SVG images only.


function strokeWidth [2/2]

double ParametizedImage::strokeWidth () const

The stroke width used to paint an image.

Note:

Compatible with parametized SVG images only.


function ~ParametizedImage

ParametizedImage::~ParametizedImage () = default


The documentation for this class was generated from the following file src/core/parametizedimage.h