#### PyKDE - Python Bindings for KDE

# class KLed |
Table of contents
Modules
tdeui Classes
All Classes

Module | tdeui
Class | KLed
Inherits | TQWidget

### enums

- Look = {Flat, Raised, Sunken }
- Shape = {Rectangular, Circular }
- State = {Off, On }

### methods

- KLed (parent = 0, name = 0)

  returns a KLed instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0

- KLed (col, parent = 0, name = 0)

  Not Implemented

- KLed (col, state, look, shape, parent = 0, name = 0)

  returns a KLed instance
  Argument | Type | Default
  --- | --- | ---
  col | TQColor |
  state | KLed.State |
  look | KLed.Look |
  shape | KLed.Shape |
  parent | TQWidget | 0
  name | char | 0

- color ()

  returns (TQColor)

- darkFactor ()

  returns (int)

- ensureRoundLed ()

  returns (int)
  In versions KDE 3.3.0 and above only

- look ()

  returns (Look)

- minimumSizeHint ()

  returns (TQSize)

- off ()

  returns nothing

- on ()

  returns nothing

- paintCachedPixmap ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- paintEvent (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TQPaintEvent |

- paintFlat ()

  returns nothing

- paintRect ()

  returns nothing

- paintRectFrame (raised)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  raised | bool |

- paintRound ()

  returns nothing

- paintSunken ()

  returns nothing

- setColor (color)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  color | TQColor |

- setDarkFactor (darkfactor)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  darkfactor | int |

- setLook (look)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  look | KLed.Look |

- setShape (s)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  s | KLed.Shape |

- setState (state)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  state | KLed.State |

- shape ()

  returns (Shape)

- sizeHint ()

  returns (TQSize)

- state ()

  returns (State)

- toggle ()

  returns nothing

- toggleState ()

  returns nothing