Skip to content

Class ParameterizedImage

ClassList > ParameterizedImage

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
ParameterizedImage (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
~ParameterizedImage () = default

Public Properties Documentation

property fillColor [1/2]

QColor ParameterizedImage::fillColor;

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


property parameters [1/2]

QVariantMap ParameterizedImage::parameters;

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


property source [1/2]

QString ParameterizedImage::source;

The source image.


property strokeColor [1/2]

QColor ParameterizedImage::strokeColor;

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


property strokeWidth [1/2]

double ParameterizedImage::strokeWidth;

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


Public Signals Documentation

signal fillColorChanged

void ParameterizedImage::fillColorChanged;

signal parametersChanged

void ParameterizedImage::parametersChanged;

signal sourceChanged

void ParameterizedImage::sourceChanged;

signal strokeColorChanged

void ParameterizedImage::strokeColorChanged;

signal strokeWidthChanged

void ParameterizedImage::strokeWidthChanged;

Public Functions Documentation

function ParameterizedImage

ParameterizedImage::ParameterizedImage (
    QQuickItem * parent=nullptr
) 

function fillColor [2/2]

QColor ParameterizedImage::fillColor () const

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function paint

void ParameterizedImage::paint (
    QPainter * painter
) override

function parameters [2/2]

QVariantMap ParameterizedImage::parameters () const

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setFillColor

void ParameterizedImage::setFillColor (
    const QColor & color
) 

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setParameters

void ParameterizedImage::setParameters (
    const QVariantMap & parameters
) 

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setSource

void ParameterizedImage::setSource (
    const QString & source
) 

The source image.


function setStrokeColor

void ParameterizedImage::setStrokeColor (
    const QColor & color
) 

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setStrokeWidth

void ParameterizedImage::setStrokeWidth (
    double width
) 

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


function source [2/2]

QString ParameterizedImage::source () const

The source image.


function strokeColor [2/2]

QColor ParameterizedImage::strokeColor () const

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function strokeWidth [2/2]

double ParameterizedImage::strokeWidth () const

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


function ~ParameterizedImage

ParameterizedImage::~ParameterizedImage () = default


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