Skip to content

Class QfParameterizedImage

ClassList > QfParameterizedImage

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

Public Properties Documentation

property fillColor [1/2]

QColor QfParameterizedImage::fillColor;

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


property parameters [1/2]

QVariantMap QfParameterizedImage::parameters;

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


property source [1/2]

QString QfParameterizedImage::source;

The source image.


property strokeColor [1/2]

QColor QfParameterizedImage::strokeColor;

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


property strokeWidth [1/2]

double QfParameterizedImage::strokeWidth;

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


Public Signals Documentation

signal fillColorChanged

void QfParameterizedImage::fillColorChanged;

signal parametersChanged

void QfParameterizedImage::parametersChanged;

signal sourceChanged

void QfParameterizedImage::sourceChanged;

signal strokeColorChanged

void QfParameterizedImage::strokeColorChanged;

signal strokeWidthChanged

void QfParameterizedImage::strokeWidthChanged;

Public Functions Documentation

function QfParameterizedImage

QfParameterizedImage::QfParameterizedImage (
    QQuickItem * parent=nullptr
) 

function fillColor [2/2]

QColor QfParameterizedImage::fillColor () const

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function paint

void QfParameterizedImage::paint (
    QPainter * painter
) override

function parameters [2/2]

QVariantMap QfParameterizedImage::parameters () const

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setFillColor

void QfParameterizedImage::setFillColor (
    const QColor & color
) 

The fill color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setParameters

void QfParameterizedImage::setParameters (
    const QVariantMap & parameters
) 

The parameters used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setSource

void QfParameterizedImage::setSource (
    const QString & source
) 

The source image.


function setStrokeColor

void QfParameterizedImage::setStrokeColor (
    const QColor & color
) 

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function setStrokeWidth

void QfParameterizedImage::setStrokeWidth (
    double width
) 

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


function source [2/2]

QString QfParameterizedImage::source () const

The source image.


function strokeColor [2/2]

QColor QfParameterizedImage::strokeColor () const

The stroke color used to paint an image.

Note:

Compatible with parameterized SVG images only.


function strokeWidth [2/2]

double QfParameterizedImage::strokeWidth () const

The stroke width used to paint an image.

Note:

Compatible with parameterized SVG images only.


function ~QfParameterizedImage

QfParameterizedImage::~QfParameterizedImage () = default


The documentation for this class was generated from the following file src/gui/qfparameterizedimage.h