#### PyKDE - Python Bindings for KDE

# class KColorDialog

Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KColorDialog
Inherits | KDialogBase

### methods

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

  returns a KColorDialog instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget | 0
  name | char | 0
  modal | bool | 0

- color ()

  returns (QColor)

- colorSelected (col)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  col | QColor |

- defaultColor ()

  returns (QColor)

- eventFilter (obj, ev)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  obj | QObject |
  ev | QEvent |

- getColor (theColor, parent = 0)

  returns (int)
  static

  Argument | Type | Default
  --- | --- | ---
  theColor | QColor |
  parent | QWidget | 0

- getColor (theColor, defaultColor, parent = 0)

  returns (int)
  static

  Argument | Type | Default
  --- | --- | ---
  theColor | QColor |
  defaultColor | QColor |
  parent | QWidget | 0

- grabColor (p)

  returns (QColor)
  static

  Argument | Type | Default
  --- | --- | ---
  p | QPoint |

- keyPressEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QKeyEvent |

- mouseReleaseEvent (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | QMouseEvent |

- setColor (col)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  col | QColor |

- setDefaultColor (defaultCol)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  defaultCol | QColor |