PlasmaCore
#include <svgitem.h>
Definition at line 29 of file svgitem.h.
Plasma::SvgItem::~SvgItem |
( |
| ) |
|
QString Plasma::SvgItem::elementId |
( |
| ) |
const |
void Plasma::SvgItem::elementIdChanged |
( |
| ) |
|
|
signal |
qreal Plasma::SvgItem::implicitHeight |
( |
| ) |
const |
void Plasma::SvgItem::implicitHeightChanged |
( |
| ) |
|
|
signal |
qreal Plasma::SvgItem::implicitWidth |
( |
| ) |
const |
void Plasma::SvgItem::implicitWidthChanged |
( |
| ) |
|
|
signal |
QSizeF Plasma::SvgItem::naturalSize |
( |
| ) |
const |
void Plasma::SvgItem::naturalSizeChanged |
( |
| ) |
|
|
signal |
void Plasma::SvgItem::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionGraphicsItem * |
option, |
|
|
QWidget * |
widget |
|
) |
| |
void Plasma::SvgItem::setElementId |
( |
const QString & |
elementID | ) |
|
void Plasma::SvgItem::setImplicitHeight |
( |
qreal |
height | ) |
|
void Plasma::SvgItem::setImplicitWidth |
( |
qreal |
width | ) |
|
void Plasma::SvgItem::setSmooth |
( |
const bool |
smooth | ) |
|
void Plasma::SvgItem::setSvg |
( |
Plasma::Svg * |
svg | ) |
|
bool Plasma::SvgItem::smooth |
( |
| ) |
const |
void Plasma::SvgItem::smoothChanged |
( |
| ) |
|
|
signal |
Plasma::Svg* Plasma::SvgItem::svg |
( |
| ) |
const |
void Plasma::SvgItem::svgChanged |
( |
| ) |
|
|
signal |
void Plasma::SvgItem::updateNeeded |
( |
| ) |
|
|
protectedslot |
QString Plasma::SvgItem::elementId |
|
readwrite |
The sub element of the svg we want to render.
If empty the whole svg document will be painted.
Definition at line 36 of file svgitem.h.
qreal Plasma::SvgItem::implicitHeight |
|
readwrite |
suggested default size hint for height (default to naturalSize.height)
Definition at line 68 of file svgitem.h.
qreal Plasma::SvgItem::implicitWidth |
|
readwrite |
suggested default size hint for width (default to naturalSize.width)
Definition at line 63 of file svgitem.h.
QSizeF Plasma::SvgItem::naturalSize |
|
read |
The natural, unscaled size of the svg document or the element.
useful if a pixel perfect rendering of outlines is needed.
Definition at line 53 of file svgitem.h.
bool Plasma::SvgItem::smooth |
|
readwrite |
If true enable antialiasing in paint: default off, better quality but less performance.
Definition at line 58 of file svgitem.h.
Plasma::Svg * Plasma::SvgItem::svg |
|
readwrite |
Svg class that is the source of the image, use it like that: SvgItem { svg: Svg {imagePath: "widgets/arrows"} elementId: "arrow-left" }
Instead of a Svg declaration it can also be the id of a Svg declared elsewhere, useful to share Svg instances.
Definition at line 48 of file svgitem.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:02:42 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.