kigo
themerenderer.cpp
Go to the documentation of this file.
void setOpacity(qreal opacity)
int width() const
void fill(const QColor &color)
void render(QPainter *painter)
qreal x() const
qreal y() const
bool isEmpty() const
QSizeF size() const
bool isValid() const
QSize elementSize(Element element) const
Retrieves the default size of a given theme element from the current SVG theme.
Definition: themerenderer.cpp:182
bool loadTheme(const QString &themeName)
Load the game theme specified by 'name'.
Definition: themerenderer.cpp:52
bool load(const QString &filename)
QSize toSize() const
void drawPixmap(const QRectF &target, const QPixmap &pixmap, const QRectF &source)
bool isEmpty() const
void themeChanged(const QString &)
bool isEmpty() const
QRectF boundsOnElement(const QString &id) const
Definition: themerenderer.h:61
qreal width() const
int height() const
qreal height() const
void renderElement(Element element, QPainter *painter, const QRectF &rect) const
Renders a specific element of the current SVG theme.
Definition: themerenderer.cpp:86
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.