Logo Search packages:      
Sourcecode: kde-style-qtcurve version File versions

KWinQtCurve::IconEngine Class Reference

#include <qtcurvebutton.h>

List of all members.


Detailed Description

This class creates bitmaps which can be used as icons on buttons. The icons are "hardcoded". Over the previous "Gimp->xpm->QImage->recolor->SmoothScale->QPixmap" solution it has the important advantage that icons are more scalable and at the same time sharp and not blurred.

Definition at line 78 of file qtcurvebutton.h.


Static Public Member Functions

static QBitmap icon (ButtonIcon icon, int size, QStyle *style)

Private Types

enum  Object { HorizontalLine, VerticalLine, DiagonalLine, CrossDiagonalLine }

Static Private Member Functions

static void drawObject (QPainter &p, Object object, int x, int y, int length, int lineWidth)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index