• Skip to content
  • Skip to link menu
KDE 4.1 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.


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]

Definition at line 39 of file helper.h.


Member Function Documentation

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

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.

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

Definition at line 285 of file helper.cpp.

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

Definition at line 270 of file helper.cpp.

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

Definition at line 592 of file helper.cpp.

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

Definition at line 491 of file helper.cpp.

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

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]

Reimplemented from OxygenHelper.

Definition at line 44 of file helper.cpp.

TileSet * OxygenStyleHelper::progressBar ( const QColor &  color,
QRect  rect,
Qt::Orientation  orient = Qt::Horizontal,
int  size = 6 
)

Definition at line 688 of file helper.cpp.

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

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.

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

Definition at line 291 of file helper.cpp.

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

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.

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

Definition at line 387 of file helper.cpp.

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

Definition at line 356 of file helper.cpp.

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

Definition at line 626 of file helper.cpp.

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

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]

Definition at line 80 of file helper.h.

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

Definition at line 88 of file helper.h.

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

Definition at line 85 of file helper.h.

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

Definition at line 86 of file helper.h.

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

Definition at line 91 of file helper.h.

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

Definition at line 92 of file helper.h.

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

Definition at line 82 of file helper.h.

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

Definition at line 84 of file helper.h.

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

Definition at line 83 of file helper.h.

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

Definition at line 89 of file helper.h.

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

Definition at line 87 of file helper.h.

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

Definition at line 90 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.4
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