parley
themedbackgroundrenderer.h
Go to the documentation of this file.
88 void renderItem(const QString& idBase, const QString& idSuffix, const QRect& rect, QPainter *p, bool fastScale, ScaleBase scaleBase, Qt::AspectRatioMode aspectRatio, Edge edge, Align align, bool inside);
89 QRect scaleRect(QRectF itemRect, const QRect& baseRect, ScaleBase scaleBase, Qt::AspectRatioMode aspectRatio);
99 QList<QPair<QString, QRect> > m_lastScaledRenderRects; // the rects used for the last scaled render
void updateBackgroundTimeout()
Definition: themedbackgroundrenderer.cpp:128
QPixmap getScaledBackground()
Definition: themedbackgroundrenderer.cpp:78
QMargins contentMargins()
Definition: themedbackgroundrenderer.cpp:190
QColor fontColor(const QString &context, const QColor &fallback)
Definition: themedbackgroundrenderer.cpp:106
const char * name() const
void addRect(const QString &name, const QRect &rect)
Definition: themedbackgroundrenderer.cpp:69
Definition: imagecache.h:28
QSizeF getSizeForId(const QString &id)
Definition: themedbackgroundrenderer.cpp:154
QRectF getRectForId(const QString &id)
Definition: themedbackgroundrenderer.cpp:161
void setTheme(const QString &theme)
Definition: themedbackgroundrenderer.cpp:50
ThemedBackgroundRenderer(QObject *parent, const QString &cacheFilename)
Definition: themedbackgroundrenderer.cpp:29
void backgroundChanged(QPixmap pixmap)
void updateBackground()
Definition: themedbackgroundrenderer.cpp:119
QPixmap getPixmapForId(const QString &id, QSize size=QSize())
Definition: themedbackgroundrenderer.cpp:168
~ThemedBackgroundRenderer()
Definition: themedbackgroundrenderer.cpp:40
void clearRects()
Definition: themedbackgroundrenderer.cpp:63
QObject * parent() const
void renderingFinished()
Definition: themedbackgroundrenderer.cpp:144
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:15:56 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:15:56 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.