kdeui Globals


Annotated List
Files
Globals
Hierarchy
Index
Main

kdockwidget.h

kdrawutil.h

ktoolbaritem.h

kwidgetid.h

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

#include <kdrawutil.h>

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

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

#include <kdrawutil.h>

Draw a Be-like style button.

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

#include <kdrawutil.h>

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

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

#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)

#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)

#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  setWidgetIdentifier ( QObject *_widget, const char *_str )

#include <kwidgetid.h>

Associates _widget with the identifier _str.