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

KStyles

webstyle.cpp File Reference

#include "webstyle.h"
#include <QtGui/QMenuItem>
#include <QtGui/QPalette>
#include <QtGui/QBitmap>
#include <QtGui/QTabBar>
#include <Qt3Support/Q3PointArray>
#include <QtGui/QScrollBar>
#include <QtGui/QFrame>
#include <QtGui/QPushButton>
#include <QtGui/qdrawutil.h>
#include <QtGui/QPainter>
#include <kapplication.h>
#include <kdrawutil.h>
#include <klocale.h>
#include <kiconloader.h>
#include <kdebug.h>

Include dependency graph for webstyle.cpp:

Go to the source code of this file.


Functions

static QColor contrastingForeground (const QColor &fg, const QColor &bg)
static void drawFunkyRect (QPainter *p, int x, int y, int w, int h, bool small)
static void scrollBarControlsMetrics (const QScrollBar *sb, int sliderStart, int, int sliderMax, int sliderLength, int buttonDim, QRect &rSub, QRect &rAdd, QRect &rSubPage, QRect &rAddPage, QRect &rSlider)

Variables

static QFrame * _currentFrame = 0
static Q3Button * _highlightedButton = 0
static const int _indicatorSize = 13
static int _savedFrameLineWidth
static int _savedFrameMidLineWidth
static ulong _savedFrameStyle
static const int _scrollBarExtent = 14

Function Documentation

static QColor contrastingForeground ( const QColor &  fg,
const QColor &  bg 
) [static]

Definition at line 52 of file webstyle.cpp.

static void drawFunkyRect ( QPainter *  p,
int  x,
int  y,
int  w,
int  h,
bool  small 
) [static]

Definition at line 164 of file webstyle.cpp.

static void scrollBarControlsMetrics ( const QScrollBar *  sb,
int  sliderStart,
int  ,
int  sliderMax,
int  sliderLength,
int  buttonDim,
QRect &  rSub,
QRect &  rAdd,
QRect &  rSubPage,
QRect &  rAddPage,
QRect &  rSlider 
) [static]

Definition at line 75 of file webstyle.cpp.


Variable Documentation

QFrame* _currentFrame = 0 [static]

Definition at line 47 of file webstyle.cpp.

Q3Button* _highlightedButton = 0 [static]

Definition at line 44 of file webstyle.cpp.

const int _indicatorSize = 13 [static]

Definition at line 43 of file webstyle.cpp.

int _savedFrameLineWidth [static]

Definition at line 48 of file webstyle.cpp.

int _savedFrameMidLineWidth [static]

Definition at line 49 of file webstyle.cpp.

ulong _savedFrameStyle [static]

Definition at line 50 of file webstyle.cpp.

const int _scrollBarExtent = 14 [static]

Definition at line 45 of file webstyle.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