#### PyKDE - Python Bindings for KDE

# class KColorCells |
Table of contents
Modules
kdeui Classes
All Classes

Module | kdeui
Class | KColorCells
Inherits | QGridView

### methods

- KColorCells (parent, rows, cols)

  returns a KColorCells instance
  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  rows | int |
  cols | int |

- color (indx)

  returns (QColor)
  Argument | Type | Default
  --- | --- | ---
  indx | int |

- colorDoubleClicked (col)

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

- colorSelected (col)

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

- dragEnterEvent (a0)

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

- dropEvent (a0)

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

- getSelected ()

  returns (int)

- mouseDoubleClickEvent (a0)

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

- mouseMoveEvent (a0)

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

- mousePressEvent (a0)

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

- mouseReleaseEvent (a0)

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

- numCells ()

  returns (int)

- paintCell (painter, row, col)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  painter | QPainter |
  row | int |
  col | int |

- posToCell (pos, ignoreBorders = 0)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  pos | QPoint |
  ignoreBorders | bool | 0

- resizeEvent (a0)

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

- setAcceptDrags (_acceptDrags)

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

- setColor (colNum, col)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  colNum | int |
  col | QColor |

- setShading (_shade)

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