parley
#include <themedbackgroundrenderer.h>

Public Types | |
| enum | Align { Corner, LeftTop, Centered, Repeated, RightBottom } |
| enum | Edge { Top, Bottom, Left, Right, Center } |
| enum | ScaleBase { NoScale, Horizontal, Vertical, Rect } |
Public Slots | |
| void | addRect (const QString &name, const QRect &rect) |
| void | clearRects () |
| void | renderingFinished () |
| void | updateBackground () |
| void | updateBackgroundTimeout () |
Signals | |
| void | backgroundChanged (QPixmap pixmap) |
Public Member Functions | |
| ThemedBackgroundRenderer (QObject *parent, const QString &cacheFilename) | |
| ~ThemedBackgroundRenderer () | |
| QMargins | contentMargins () |
| QColor | fontColor (const QString &context, const QColor &fallback) |
| QPixmap | getPixmapForId (const QString &id, QSize size=QSize()) |
| QRectF | getRectForId (const QString &id) |
| QPixmap | getScaledBackground () |
| QSizeF | getSizeForId (const QString &id) |
| void | setTheme (const QString &theme) |
Detailed Description
Definition at line 30 of file themedbackgroundrenderer.h.
Member Enumeration Documentation
| Enumerator | |
|---|---|
| Corner | |
| LeftTop | |
| Centered | |
| Repeated | |
| RightBottom | |
Definition at line 50 of file themedbackgroundrenderer.h.
| Enumerator | |
|---|---|
| Top | |
| Bottom | |
| Left | |
| Right | |
| Center | |
Definition at line 42 of file themedbackgroundrenderer.h.
| Enumerator | |
|---|---|
| NoScale | |
| Horizontal | |
| Vertical | |
| Rect | |
Definition at line 35 of file themedbackgroundrenderer.h.
Constructor & Destructor Documentation
| ThemedBackgroundRenderer::ThemedBackgroundRenderer | ( | QObject * | parent, |
| const QString & | cacheFilename | ||
| ) |
Definition at line 29 of file themedbackgroundrenderer.cpp.
| ThemedBackgroundRenderer::~ThemedBackgroundRenderer | ( | ) |
Definition at line 40 of file themedbackgroundrenderer.cpp.
Member Function Documentation
|
slot |
Definition at line 69 of file themedbackgroundrenderer.cpp.
|
signal |
|
slot |
Definition at line 63 of file themedbackgroundrenderer.cpp.
| QMargins ThemedBackgroundRenderer::contentMargins | ( | ) |
Definition at line 190 of file themedbackgroundrenderer.cpp.
| QColor ThemedBackgroundRenderer::fontColor | ( | const QString & | context, |
| const QColor & | fallback | ||
| ) |
Definition at line 106 of file themedbackgroundrenderer.cpp.
| QPixmap ThemedBackgroundRenderer::getPixmapForId | ( | const QString & | id, |
| QSize | size = QSize() |
||
| ) |
Definition at line 168 of file themedbackgroundrenderer.cpp.
| QRectF ThemedBackgroundRenderer::getRectForId | ( | const QString & | id | ) |
Definition at line 161 of file themedbackgroundrenderer.cpp.
| QPixmap ThemedBackgroundRenderer::getScaledBackground | ( | ) |
Definition at line 78 of file themedbackgroundrenderer.cpp.
| QSizeF ThemedBackgroundRenderer::getSizeForId | ( | const QString & | id | ) |
Definition at line 154 of file themedbackgroundrenderer.cpp.
|
slot |
Definition at line 144 of file themedbackgroundrenderer.cpp.
| void ThemedBackgroundRenderer::setTheme | ( | const QString & | theme | ) |
Definition at line 50 of file themedbackgroundrenderer.cpp.
|
slot |
Definition at line 119 of file themedbackgroundrenderer.cpp.
|
slot |
Definition at line 128 of file themedbackgroundrenderer.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference