KStyles
OxygenStyleHelper Class Reference
#include <helper.h>

Public Member Functions | |
QColor | calcMidColor (const QColor &color) const |
TileSet * | dockFrame (const QColor &, int size) |
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) |
virtual void | invalidateCaches () |
OxygenStyleHelper (const QByteArray &componentName) | |
QPixmap | roundSlab (const QColor &, double shade, int size=7) |
QPixmap | roundSlabFocused (const QColor &, const QColor &glowColor, double shade, int size=7) |
TileSet * | scrollHole (const QColor &, Qt::Orientation orientation) |
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) |
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_dockFrameCache |
QCache< quint64, TileSet > | m_grooveCache |
QCache< quint64, TileSet > | m_holeCache |
QCache< quint64, TileSet > | m_holeFlatCache |
QCache< quint64, TileSet > | m_scrollHoleCache |
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 |
Static Protected Attributes | |
static const double | _slabThickness = 0.45 |
Detailed Description
Definition at line 36 of file helper.h.
Constructor & Destructor Documentation
OxygenStyleHelper::OxygenStyleHelper | ( | const QByteArray & | componentName | ) | [explicit] |
Definition at line 33 of file helper.cpp.
virtual OxygenStyleHelper::~OxygenStyleHelper | ( | ) | [inline, virtual] |
Member Function Documentation
Definition at line 42 of file helper.cpp.
Definition at line 660 of file helper.cpp.
void OxygenStyleHelper::drawHole | ( | QPainter & | p, | |
const QColor & | color, | |||
double | shade, | |||
int | r = 7 | |||
) | const [protected] |
Definition at line 167 of file helper.cpp.
void OxygenStyleHelper::drawInverseGlow | ( | QPainter & | p, | |
const QColor & | color, | |||
int | pad, | |||
int | size, | |||
int | rsize | |||
) | const [protected] |
Definition at line 252 of file helper.cpp.
void OxygenStyleHelper::drawInverseShadow | ( | QPainter & | p, | |
const QColor & | color, | |||
int | pad, | |||
int | size, | |||
double | fuzz | |||
) | const [protected] |
Definition at line 234 of file helper.cpp.
void OxygenStyleHelper::drawSlab | ( | QPainter & | p, | |
const QColor & | color, | |||
double | shade | |||
) | const [protected] |
Definition at line 199 of file helper.cpp.
Definition at line 287 of file helper.cpp.
Definition at line 272 of file helper.cpp.
Definition at line 594 of file helper.cpp.
Definition at line 493 of file helper.cpp.
Definition at line 527 of file helper.cpp.
TileSet * OxygenStyleHelper::holeFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 559 of file helper.cpp.
void OxygenStyleHelper::invalidateCaches | ( | ) | [virtual] |
Definition at line 75 of file helper.cpp.
QPixmap OxygenStyleHelper::roundSlabFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 136 of file helper.cpp.
Definition at line 714 of file helper.cpp.
Definition at line 293 of file helper.cpp.
Definition at line 61 of file helper.cpp.
TileSet * OxygenStyleHelper::slabFocused | ( | const QColor & | color, | |
const QColor & | glowColor, | |||
double | shade, | |||
int | size = 7 | |||
) |
Definition at line 324 of file helper.cpp.
Definition at line 389 of file helper.cpp.
Definition at line 358 of file helper.cpp.
Definition at line 628 of file helper.cpp.
Definition at line 445 of file helper.cpp.
Member Data Documentation
const double OxygenStyleHelper::_slabThickness = 0.45 [static, protected] |
QCache<quint64, TileSet> OxygenStyleHelper::m_dockFrameCache [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_scrollHoleCache [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] |
The documentation for this class was generated from the following files: