class KStyle

Extends the QStyle class with virtual methods to draw KDE widgets. More...

Definition#include <kstyle.h>
InheritsQPlatinumStyle
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members


Detailed Description

Extends the QStyle class with virtual methods to draw KDE widgets.

void drawKToolBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool floating = false)
[virtual]

Draws a toolbar.

void drawKBarHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool horizontal=false, QBrush *fill=NULL)
[virtual]

Draws a menu or toolbar handle.

void drawKToolBarButton (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool sunken=false, bool raised = true, bool enabled = true, bool popup = false, KToolButtonType icontext = Icon, const QString& btext=QString::null, const QPixmap *icon=NULL, QFont *font=NULL)
[virtual]

Draws a toolbar button.

void drawKMenuBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill=NULL)
[virtual]

Draws a menubar.

void drawKMenuItem (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool active, QMenuItem *item, QBrush *fill=NULL)
[virtual]

Draws a item in the menubar.

void drawKProgressBlock (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill)
[virtual]

Draws the KProgress bar.

void getKProgressBackground (const QColorGroup &g, QBrush &bg)
[virtual]

Retrieves the background used in progress indicators.

void drawOPToolBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill=NULL)
[virtual]

Internal method for use in the new OpenParts implementation. You should not override this but drawKToolBar instead.