KDEUI
KCategorizedView Class Reference
#include <kcategorizedview.h>

Detailed Description
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
Definition at line 40 of file kcategorizedview.h.
Public Slots | |
virtual void | reset () |
Public Member Functions | |
KCategoryDrawer * | categoryDrawer () const |
virtual QModelIndex | indexAt (const QPoint &point) const |
KCategorizedView (QWidget *parent=0) | |
void | setCategoryDrawer (KCategoryDrawer *categoryDrawer) |
void | setGridSize (const QSize &size) |
virtual void | setModel (QAbstractItemModel *model) |
virtual QRect | visualRect (const QModelIndex &index) const |
~KCategorizedView () | |
Protected Slots | |
virtual void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
virtual void | dataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
virtual void | rowsInserted (const QModelIndex &parent, int start, int end) |
virtual void | rowsInsertedArtifficial (const QModelIndex &parent, int start, int end) |
virtual void | rowsRemoved (const QModelIndex &parent, int start, int end) |
virtual void | slotLayoutChanged () |
virtual void | updateGeometries () |
Protected Member Functions | |
virtual void | dragLeaveEvent (QDragLeaveEvent *event) |
virtual void | dragMoveEvent (QDragMoveEvent *event) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | leaveEvent (QEvent *event) |
virtual void | mouseMoveEvent (QMouseEvent *event) |
virtual void | mousePressEvent (QMouseEvent *event) |
virtual void | mouseReleaseEvent (QMouseEvent *event) |
virtual QModelIndex | moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) |
virtual void | paintEvent (QPaintEvent *event) |
virtual void | resizeEvent (QResizeEvent *event) |
virtual void | setSelection (const QRect &rect, QItemSelectionModel::SelectionFlags flags) |
virtual void | startDrag (Qt::DropActions supportedActions) |
Constructor & Destructor Documentation
KCategorizedView::KCategorizedView | ( | QWidget * | parent = 0 |
) |
Definition at line 533 of file kcategorizedview.cpp.
KCategorizedView::~KCategorizedView | ( | ) |
Definition at line 539 of file kcategorizedview.cpp.
Member Function Documentation
KCategoryDrawer * KCategorizedView::categoryDrawer | ( | ) | const |
Definition at line 623 of file kcategorizedview.cpp.
void KCategorizedView::currentChanged | ( | const QModelIndex & | current, | |
const QModelIndex & | previous | |||
) | [protected, virtual, slot] |
void KCategorizedView::dataChanged | ( | const QModelIndex & | topLeft, | |
const QModelIndex & | bottomRight | |||
) | [protected, virtual, slot] |
Definition at line 1638 of file kcategorizedview.cpp.
void KCategorizedView::dragLeaveEvent | ( | QDragLeaveEvent * | event | ) | [protected, virtual] |
Definition at line 1259 of file kcategorizedview.cpp.
void KCategorizedView::dragMoveEvent | ( | QDragMoveEvent * | event | ) | [protected, virtual] |
Definition at line 1231 of file kcategorizedview.cpp.
void KCategorizedView::dropEvent | ( | QDropEvent * | event | ) | [protected, virtual] |
Definition at line 1269 of file kcategorizedview.cpp.
QModelIndex KCategorizedView::indexAt | ( | const QPoint & | point | ) | const [virtual] |
Definition at line 682 of file kcategorizedview.cpp.
void KCategorizedView::leaveEvent | ( | QEvent * | event | ) | [protected, virtual] |
Definition at line 1205 of file kcategorizedview.cpp.
void KCategorizedView::mouseMoveEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 1032 of file kcategorizedview.cpp.
void KCategorizedView::mousePressEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 1101 of file kcategorizedview.cpp.
void KCategorizedView::mouseReleaseEvent | ( | QMouseEvent * | event | ) | [protected, virtual] |
Definition at line 1130 of file kcategorizedview.cpp.
QModelIndex KCategorizedView::moveCursor | ( | CursorAction | cursorAction, | |
Qt::KeyboardModifiers | modifiers | |||
) | [protected, virtual] |
Definition at line 1277 of file kcategorizedview.cpp.
void KCategorizedView::paintEvent | ( | QPaintEvent * | event | ) | [protected, virtual] |
Definition at line 720 of file kcategorizedview.cpp.
void KCategorizedView::reset | ( | ) | [virtual, slot] |
Definition at line 701 of file kcategorizedview.cpp.
void KCategorizedView::resizeEvent | ( | QResizeEvent * | event | ) | [protected, virtual] |
Definition at line 873 of file kcategorizedview.cpp.
void KCategorizedView::rowsInserted | ( | const QModelIndex & | parent, | |
int | start, | |||
int | end | |||
) | [protected, virtual, slot] |
Definition at line 1471 of file kcategorizedview.cpp.
void KCategorizedView::rowsInsertedArtifficial | ( | const QModelIndex & | parent, | |
int | start, | |||
int | end | |||
) | [protected, virtual, slot] |
Definition at line 1498 of file kcategorizedview.cpp.
void KCategorizedView::rowsRemoved | ( | const QModelIndex & | parent, | |
int | start, | |||
int | end | |||
) | [protected, virtual, slot] |
Definition at line 1574 of file kcategorizedview.cpp.
void KCategorizedView::setCategoryDrawer | ( | KCategoryDrawer * | categoryDrawer | ) |
Definition at line 628 of file kcategorizedview.cpp.
void KCategorizedView::setGridSize | ( | const QSize & | size | ) |
Definition at line 544 of file kcategorizedview.cpp.
void KCategorizedView::setModel | ( | QAbstractItemModel * | model | ) | [virtual] |
Definition at line 551 of file kcategorizedview.cpp.
void KCategorizedView::setSelection | ( | const QRect & | rect, | |
QItemSelectionModel::SelectionFlags | flags | |||
) | [protected, virtual] |
Definition at line 890 of file kcategorizedview.cpp.
void KCategorizedView::slotLayoutChanged | ( | ) | [protected, virtual, slot] |
Definition at line 1598 of file kcategorizedview.cpp.
void KCategorizedView::startDrag | ( | Qt::DropActions | supportedActions | ) | [protected, virtual] |
Definition at line 1213 of file kcategorizedview.cpp.
void KCategorizedView::updateGeometries | ( | ) | [protected, virtual, slot] |
Definition at line 1585 of file kcategorizedview.cpp.
QRect KCategorizedView::visualRect | ( | const QModelIndex & | index | ) | const [virtual] |
Definition at line 608 of file kcategorizedview.cpp.
The documentation for this class was generated from the following files: