# class KCategorizedView

###

Module | kdeui
Namespace |
Class | KCategorizedView
Inherits | QListView

Item view for listing items

KCategorizedView allows you to use it as it were a QListView. Subclass KCategorizedSortFilterProxyModel to provide category information for items.

See also KCategorizedSortFilterProxyModel

Author Rafael Fernández López <ereslibre@kde.org>

### methods

- KCategorizedView (parent)

  returns ctor

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

- categoryDrawer ( )

  returns KCategoryDrawer

- currentChanged (current, previous)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  current | QModelIndex |
  previous | QModelIndex |

- dataChanged (topLeft, bottomRight)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  topLeft | QModelIndex |
  bottomRight | QModelIndex |

- dragLeaveEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QDragLeaveEvent |

- dragMoveEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QDragMoveEvent |

- dropEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QDropEvent |

- indexAt (point)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  point | QPoint |

- leaveEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QEvent |

- mouseMoveEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QMouseEvent |

- mousePressEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QMouseEvent |

- mouseReleaseEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QMouseEvent |

- moveCursor (cursorAction, modifiers)

  returns QModelIndex

  Argument | Type | Default
  --- | --- | ---
  cursorAction | QAbstractItemView.CursorAction |
  modifiers | Qt.KeyboardModifiers |

- paintEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QPaintEvent |

- reset ( )

  returns Nothing

- resizeEvent (event)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  event | QResizeEvent |

- rowsInserted (parent, start, end)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  parent | QModelIndex |
  start | int |
  end | int |

- rowsInsertedArtifficial (parent, start, end)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  parent | QModelIndex |
  start | int |
  end | int |

- rowsRemoved (parent, start, end)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  parent | QModelIndex |
  start | int |
  end | int |

- setCategoryDrawer (categoryDrawer)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  categoryDrawer | KCategoryDrawer |

- setGridSize (size)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  size | QSize |

- setModel (model)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  model | QAbstractItemModel |

- setSelection (rect, flags)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  rect | QRect |
  flags | QItemSelectionModel.SelectionFlags |

- slotLayoutChanged ( )

  returns Nothing

- startDrag (supportedActions)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  supportedActions | Qt.DropActions |

- updateGeometries ( )

  returns Nothing

- visualRect (index)

  returns QRect

  Argument | Type | Default
  --- | --- | ---
  index | QModelIndex |