#### PyKDE - Python Bindings for KDE

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

Module | tdeui
Class | KColorDialog
Inherits | KDialogBase

### methods

- KColorDialog (parent = 0, name = 0, modal = 0)

  returns a KColorDialog instance
  Argument | Type | Default
  --- | --- | ---
  parent | TQWidget | 0
  name | char | 0
  modal | bool | 0

- color ()

  returns (TQColor)

- colorSelected (col)

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

- defaultColor ()

  returns (TQColor)

- eventFilter (obj, ev)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  obj | TQObject |
  ev | TQEvent |

- getColor (theColor, parent = 0)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  theColor | TQColor |
  parent | TQWidget | 0

- getColor (theColor, defaultColor, parent = 0)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  theColor | TQColor |
  defaultColor | TQColor |
  parent | TQWidget | 0

- grabColor (p)

  returns (TQColor)
  static
  Argument | Type | Default
  --- | --- | ---
  p | TQPoint |

- keyPressEvent (a0)

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

- mouseReleaseEvent (a0)

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

- setColor (col)

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

- setDefaultColor (defaultCol)

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