• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KStyles

OxygenStyleHelper Class Reference

#include <helper.h>

Inheritance diagram for OxygenStyleHelper:

Inheritance graph
[legend]

List of all members.


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]

Definition at line 40 of file helper.h.


Member Function Documentation

QColor OxygenStyleHelper::calcMidColor ( const QColor &  color  )  const

Definition at line 42 of file helper.cpp.

TileSet * OxygenStyleHelper::dockFrame ( const QColor &  color,
int  size 
)

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.

void OxygenStyleHelper::fillHole ( QPainter &  p,
const QRect &  rect,
int  size = 7 
) [static]

Definition at line 287 of file helper.cpp.

void OxygenStyleHelper::fillSlab ( QPainter &  p,
const QRect &  rect,
int  size = 7 
) [static]

Definition at line 272 of file helper.cpp.

TileSet * OxygenStyleHelper::groove ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 594 of file helper.cpp.

TileSet * OxygenStyleHelper::hole ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 493 of file helper.cpp.

TileSet * OxygenStyleHelper::holeFlat ( const QColor &  color,
double  shade,
int  size = 7 
)

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]

Reimplemented from OxygenHelper.

Definition at line 47 of file helper.cpp.

QPixmap OxygenStyleHelper::roundSlab ( const QColor &  color,
double  shade,
int  size = 7 
)

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.

TileSet * OxygenStyleHelper::scrollHole ( const QColor &  color,
Qt::Orientation  orientation 
)

Definition at line 714 of file helper.cpp.

TileSet * OxygenStyleHelper::slab ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 293 of file helper.cpp.

SlabCache * OxygenStyleHelper::slabCache ( const QColor &  color  )  [protected]

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.

TileSet * OxygenStyleHelper::slabInverted ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 389 of file helper.cpp.

TileSet * OxygenStyleHelper::slabSunken ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 358 of file helper.cpp.

TileSet * OxygenStyleHelper::slitFocused ( const QColor &  glowColor  ) 

Definition at line 628 of file helper.cpp.

TileSet * OxygenStyleHelper::slope ( const QColor &  color,
double  shade,
int  size = 7 
)

Definition at line 445 of file helper.cpp.


Member Data Documentation

const double OxygenStyleHelper::_slabThickness = 0.45 [static, protected]

Definition at line 79 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_dockFrameCache [protected]

Definition at line 89 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_grooveCache [protected]

Definition at line 87 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_holeCache [protected]

Definition at line 84 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_holeFlatCache [protected]

Definition at line 85 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_scrollHoleCache [protected]

Definition at line 90 of file helper.h.

QCache<quint64, SlabCache> OxygenStyleHelper::m_slabCache [protected]

Definition at line 81 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_slabInvertedCache [protected]

Definition at line 83 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_slabSunkenCache [protected]

Definition at line 82 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_slitCache [protected]

Definition at line 88 of file helper.h.

QCache<quint64, TileSet> OxygenStyleHelper::m_slopeCache [protected]

Definition at line 86 of file helper.h.


The documentation for this class was generated from the following files:
  • helper.h
  • helper.cpp

KStyles

Skip menu "KStyles"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • KCMShell
  • KNotify
  • KStyles
  • Nepomuk Daemons
Generated for API Reference by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal