KStyles
OxygenStyleHelper Class Reference
#include <helper.h>

Detailed Description
Definition at line 35 of file helper.h.
Public Member Functions | |
QColor | calcMidColor (const QColor &color) const |
TileSet * | groove (const QColor &, double shade, int size=7) |
TileSet * | hole (const QColor &, double shade, int size=7) |
TileSet * | holeFlat (const QColor &, double shade, int size=7) |
TileSet * | holeFocused (const QColor &, const QColor &glowColor, double shade, int size=7) |
TileSet * | horizontalScrollBar (const QColor &, int width, int offset, int size=6) |
virtual void | invalidateCaches () |
OxygenStyleHelper (const QByteArray &componentName) | |
TileSet * | progressBar (const QColor &, QRect rect, Qt::Orientation orient=Qt::Horizontal, int size=6) |
QPixmap | roundSlab (const QColor &, double shade, int size=7) |
QPixmap | roundSlabFocused (const QColor &, const QColor &glowColor, double shade, int size=7) |
TileSet * | slab (const QColor &, double shade, int size=7) |
TileSet * | slabFocused (const QColor &, const QColor &glowColor, double shade, int size=7) |
TileSet * | slabInverted (const QColor &, double shade, int size=7) |
TileSet * | slabSunken (const QColor &, double shade, int size=7) |
TileSet * | slitFocused (const QColor &) |
TileSet * | slope (const QColor &, double shade, int size=7) |
TileSet * | verticalScrollBar (const QColor &, int width, int offset, int size=6) |
virtual | ~OxygenStyleHelper () |
Static Public Member Functions | |
static void | fillHole (QPainter &, const QRect &, int size=7) |
static void | fillSlab (QPainter &, const QRect &, int size=7) |
Protected Member Functions | |
void | drawHole (QPainter &, const QColor &, double shade, int r=7) const |
void | drawInverseGlow (QPainter &, const QColor &, int pad, int size, int rsize) const |
void | drawInverseShadow (QPainter &, const QColor &, int pad, int size, double fuzz) const |
void | drawSlab (QPainter &, const QColor &, double shade) const |
SlabCache * | slabCache (const QColor &) |
Protected Attributes | |
QCache< quint64, TileSet > | m_grooveCache |
QCache< quint64, TileSet > | m_holeCache |
QCache< quint64, TileSet > | m_holeFlatCache |
QCache< quint64, TileSet > | m_horizontalScrollBarCache |
QCache< quint64, TileSet > | m_progressBarCache |
QCache< quint64, SlabCache > | m_slabCache |
QCache< quint64, TileSet > | m_slabInvertedCache |
QCache< quint64, TileSet > | m_slabSunkenCache |
QCache< quint64, TileSet > | m_slitCache |
QCache< quint64, TileSet > | m_slopeCache |
QCache< quint64, TileSet > | m_verticalScrollBarCache |
Static Protected Attributes | |
static const double | _slabThickness = 0.45 |
Constructor & Destructor Documentation
OxygenStyleHelper::OxygenStyleHelper | ( | const QByteArray & | componentName | ) | [explicit] |
Definition at line 34 of file helper.cpp.
virtual OxygenStyleHelper::~OxygenStyleHelper | ( | ) | [inline, virtual] |
Member Function Documentation
Definition at line 39 of file helper.cpp.
void OxygenStyleHelper::drawHole | ( | QPainter & | p, | |
const QColor & | color, | |||
double | shade, | |||
int | r = 7 | |||
) | const [protected] |
Definition at line 165 of file helper.cpp.
void OxygenStyleHelper::drawInverseGlow | ( | QPainter & | p, | |
const QColor & | color, | |||
int | pad, | |||
int | size, | |||
int | rsize | |||
) | const [protected] |
Definition at line 250 of file helper.cpp.
void OxygenStyleHelper::drawInverseShadow | ( | QPainter & | p, | |
const QColor & | color, | |||
int | pad, | |||
int | size, | |||
double | fuzz | |||
) | const [protected] |
Definition at line 232 of file helper.cpp.
void OxygenStyleHelper::drawSlab | ( | QPainter & | p, | |
const QColor & | color, | |||
double | shade | |||
) | const [protected] |
Definition at line 197 of file helper.cpp.
Definition at line 285 of file helper.cpp.
Definition at line 270 of file helper.cpp.
Definition at line 592 of file helper.cpp.
Definition at line 491 of file helper.cpp.
Definition at line 525 of file helper.cpp.
TileSet * OxygenStyleHelper::holeFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 557 of file helper.cpp.
TileSet * OxygenStyleHelper::horizontalScrollBar | ( | const QColor & | color, | |
int | width, | |||
int | offset, | |||
int | size = 6 | |||
) |
Definition at line 673 of file helper.cpp.
void OxygenStyleHelper::invalidateCaches | ( | ) | [virtual] |
TileSet * OxygenStyleHelper::progressBar | ( | const QColor & | color, | |
QRect | rect, | |||
Qt::Orientation | orient = Qt::Horizontal , |
|||
int | size = 6 | |||
) |
Definition at line 688 of file helper.cpp.
Definition at line 73 of file helper.cpp.
QPixmap OxygenStyleHelper::roundSlabFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 134 of file helper.cpp.
Definition at line 291 of file helper.cpp.
Definition at line 59 of file helper.cpp.
TileSet * OxygenStyleHelper::slabFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 322 of file helper.cpp.
Definition at line 387 of file helper.cpp.
Definition at line 356 of file helper.cpp.
Definition at line 626 of file helper.cpp.
Definition at line 443 of file helper.cpp.
TileSet * OxygenStyleHelper::verticalScrollBar | ( | const QColor & | color, | |
int | width, | |||
int | offset, | |||
int | size = 6 | |||
) |
Definition at line 658 of file helper.cpp.
Member Data Documentation
const double OxygenStyleHelper::_slabThickness = 0.45 [static, protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_grooveCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_holeCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_holeFlatCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_horizontalScrollBarCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_progressBarCache [protected] |
QCache<quint64, SlabCache> OxygenStyleHelper::m_slabCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_slabInvertedCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_slabSunkenCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_slitCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_slopeCache [protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_verticalScrollBarCache [protected] |
The documentation for this class was generated from the following files: