Go to the documentation of this file.
29#include <QtGui/QImage>
30#include <QtGui/QPixmap>
31#include <QtGui/QColor>
32#include <QtCore/QRect>
34class KIconEffectPrivate;
90 bool hasEffect(
int group,
int state)
const;
100 QString fingerprint(
int group,
int state)
const;
110 QImage apply(
const QImage &src,
int group,
int state)
const;
121 QImage apply(
const QImage &src,
int effect,
float value,
const QColor &rgb,
bool trans)
const;
122 QImage apply(
const QImage &src,
int effect,
float value,
const QColor &rgb,
const QColor &rgb2,
bool trans)
const;
131 QPixmap apply(
const QPixmap &src,
int group,
int state)
const;
142 QPixmap apply(
const QPixmap &src,
int effect,
float value,
const QColor &rgb,
bool trans)
const;
143 QPixmap apply(
const QPixmap &src,
int effect,
float value,
const QColor &rgb,
const QColor &rgb2,
bool trans)
const;
150 QImage doublePixels(
const QImage &src)
const;
158 static void toGray(QImage &image,
float value);
167 static void colorize(QImage &image,
const QColor &col,
float value);
177 static void toMonochrome(QImage &image,
const QColor &black,
const QColor &white,
float value);
185 static void deSaturate(QImage &image,
float value);
193 static void toGamma(QImage &image,
float value);
200 static void semiTransparent(QImage &image);
207 static void semiTransparent(QPixmap &pixmap);
215 static void overlay(QImage &src, QImage &overlay);
218 KIconEffectPrivate*
const d;
Applies effects to icons.
Effects
This is the enumeration of all possible icon effects.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.11.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.