|
|
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) |
Draws a toolbar.
void drawKBarHandle (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, bool horizontal=false, QBrush *fill=NULL) |
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) |
Draws a toolbar button.
void drawKMenuBar (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill=NULL) |
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) |
Draws a item in the menubar.
void drawKProgressBlock (QPainter *p, int x, int y, int w, int h, const QColorGroup &g, QBrush *fill) |
Draws the KProgress bar.
void getKProgressBackground (const QColorGroup &g, QBrush &bg) |
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) |
Internal method for use in the new OpenParts implementation. You should not override this but drawKToolBar instead.