kdefx Globals

# kdefx Globals |
Annotated List
Files
Globals
Hierarchy
Index

### kdrawutil.h

- void kDrawNextButton (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false, const QBrush *fill=0)
- void kDrawNextButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, const QBrush *fill=0)
- void kDrawBeButton (QPainter *p, QRect &r, const QColorGroup &g, bool sunken=false, const QBrush *fill=0)
- void kDrawBeButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, const QBrush *fill=0)
- void kDrawRoundButton (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false)
- void kDrawRoundButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false)
- void kRoundMaskRegion (QRegion &r, int x, int y, int w, int h)
- void kDrawRoundMask (QPainter *p, int x, int y, int w, int h, bool clear=false)
- void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, QBitmap *lightColor=0, QBitmap *midColor=0, QBitmap *midlightColor=0, QBitmap *darkColor=0, QBitmap *blackColor=0, QBitmap *whiteColor=0)
- void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, int w, int h, bool isXBitmaps=true, const uchar *lightColor = 0, const uchar *midColor=0, const uchar *midlightColor=0, const uchar *darkColor=0, const uchar *blackColor=0, const uchar *whiteColor=0)

## Global member Documentation

void kDrawNextButton (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false, const QBrush *fill=0) | ### kDrawNextButton

`#include <kdrawutil.h>`

Draw a Next-style button (solid black shadow with light and midlight highlight).

void kDrawNextButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, const QBrush *fill=0) | ### kDrawNextButton

`#include <kdrawutil.h>`

void kDrawBeButton (QPainter *p, QRect &r, const QColorGroup &g, bool sunken=false, const QBrush *fill=0) | ### kDrawBeButton

`#include <kdrawutil.h>`

Draw a Be-like style button.

void kDrawBeButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, const QBrush *fill=0) | ### kDrawBeButton

`#include <kdrawutil.h>`

void kDrawRoundButton (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false) | ### kDrawRoundButton

`#include <kdrawutil.h>`

Draw a rounded oval button. This does not fill the button, see kRoundMask() and kRoundMaskRegion() for setting masks for fills.

void kDrawRoundButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false) | ### kDrawRoundButton

`#include <kdrawutil.h>`

void kRoundMaskRegion (QRegion &r, int x, int y, int w, int h) | ### kRoundMaskRegion

`#include <kdrawutil.h>`

Set the region to the pixels contained in a round button of the given size. You can use this to set clipping regions.

void kDrawRoundMask (QPainter *p, int x, int y, int w, int h, bool clear=false) | ### kDrawRoundMask

`#include <kdrawutil.h>`

Paint the bitmap with the pixels contained in a round button of the given size. This is mostly useful inside QStyle routines.

void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, QBitmap *lightColor=0, QBitmap *midColor=0, QBitmap *midlightColor=0, QBitmap *darkColor=0, QBitmap *blackColor=0, QBitmap *whiteColor=0) | ### kColorBitmaps

`#include <kdrawutil.h>`

Paint the supplied bitmaps onto the QPainter using the colorgroup for the foreground colors. Note: The bitmaps will be self-masked automatically if not masked prior to calling this routine.

void kColorBitmaps (QPainter *p, const QColorGroup &g, int x, int y, int w, int h, bool isXBitmaps=true, const uchar *lightColor = 0, const uchar *midColor=0, const uchar *midlightColor=0, const uchar *darkColor=0, const uchar *blackColor=0, const uchar *whiteColor=0) | ### kColorBitmaps

`#include <kdrawutil.h>`

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:03 2003, using kdoc 2.0a54.