#### PyKDE - Python Bindings for KDE

# class KIconEffect

Table of contents
Modules
kdecore Classes
All Classes

Module | kdecore
Class | KIconEffect
Inherits |

### enums

- Effects = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, ToMonochrome, LastEffect }
- Effects = {NoEffect, ToGray, Colorize, ToGamma, DeSaturate, LastEffect }

### methods

- KIconEffect ()

  returns a KIconEffect instance

- apply (src, group, state)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  src | QImage |
  group | int |
  state | int |

- apply (src, effect, value, rgb, trans)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  src | QImage |
  effect | int |
  value | float |
  rgb | QColor |
  trans | bool |

- apply (src, effect, value, rgb, rgb2, trans)

  returns (QImage)
  In versions KDE 3.4.0 and above only

  Argument | Type | Default
  --- | --- | ---
  src | QImage |
  effect | int |
  value | float |
  rgb | QColor |
  rgb2 | QColor |
  trans | bool |

- apply (src, group, state)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  src | QPixmap |
  group | int |
  state | int |

- apply (src, effect, value, rgb, trans)

  returns (QPixmap)

  Argument | Type | Default
  --- | --- | ---
  src | QPixmap |
  effect | int |
  value | float |
  rgb | QColor |
  trans | bool |

- apply (src, effect, value, rgb, rgb2, trans)

  returns (QPixmap)
  In versions KDE 3.4.0 and above only

  Argument | Type | Default
  --- | --- | ---
  src | QPixmap |
  effect | int |
  value | float |
  rgb | QColor |
  rgb2 | QColor |
  trans | bool |

- colorize (image, col, value)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |
  col | QColor |
  value | float |

- deSaturate (image, value)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |
  value | float |

- doublePixels (src)

  returns (QImage)

  Argument | Type | Default
  --- | --- | ---
  src | QImage |

- fingerprint (group, state)

  returns (QString)

  Argument | Type | Default
  --- | --- | ---
  group | int |
  state | int |

- hasEffect (group, state)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  group | int |
  state | int |

- init ()

  returns nothing

- overlay (src, overlay)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  src | QImage |
  overlay | QImage |

- semiTransparent (image)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |

- semiTransparent (pixmap)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  pixmap | QPixmap |

- toGamma (image, value)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |
  value | float |

- toGray (image, value)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |
  value | float |

- toMonochrome (image, black, white, value)

  returns nothing
  In versions KDE 3.4.0 and above only
  static

  Argument | Type | Default
  --- | --- | ---
  image | QImage |
  black | QColor |
  white | QColor |
  value | float |

- visualActivate (widget, rect)

  returns nothing
  static

  Argument | Type | Default
  --- | --- | ---
  widget | QWidget |
  rect | QRect |