Background

This class contains the background properties of worksheet elements like worksheet background, plot background, the area filling in XYCurve, Histogram, etc.

Public Types

  • enum ColorStyle

  • enum ImageStyle

  • enum Position

  • enum Type

Public Methods

void

Background(const QString &name)

void

draw(QPainter *, const QPolygonF &, double radius=0) const

void

draw(QPainter *, const QPainterPath &) const

void

init(const KConfigGroup &)

bool

load(XmlStreamReader *, bool preview) override

void

loadThemeConfig(const KConfigGroup &)

void

loadThemeConfig(const KConfigGroup &, const QColor &)

const QString&

prefix() const

void

save(QXmlStreamWriter *) const override

void

saveThemeConfig(KConfigGroup &) const

void

setPrefix(const QString &)

Detailed Description

class Background : public AbstractAspect

This class contains the background properties of worksheet elements like worksheet background, plot background, the area filling in XYCurve, Histogram, etc.

Public Functions

virtual void save(QXmlStreamWriter*) const override

Save as XML.

virtual bool load(XmlStreamReader*, bool preview) override

Load from XML.