#include <CustomListView.h>
Interface that manages the list model and serves as an interface between the actual data model and CustomList.
Subclasses are responsible for creating and destroying list items. All items must subclass QGraphicsWidget and implement the CustomListItem interface.
Definition at line 53 of file CustomListView.h.
Lancelot::CustomListItemFactory::CustomListItemFactory |
( |
| ) |
|
Lancelot::CustomListItemFactory::~CustomListItemFactory |
( |
| ) |
|
|
virtual |
void Lancelot::CustomListItemFactory::itemAltered |
( |
int |
index | ) |
|
|
signal |
This signal is emitted when an item is altered.
- Parameters
-
index | index of the altered item |
virtual int Lancelot::CustomListItemFactory::itemCount |
( |
| ) |
const |
|
pure virtual |
void Lancelot::CustomListItemFactory::itemDeleted |
( |
int |
index | ) |
|
|
signal |
This signal is emitted when an item is deleted from the model.
- Parameters
-
index | index of the deleted item |
virtual CustomListItem* Lancelot::CustomListItemFactory::itemForIndex |
( |
int |
index | ) |
|
|
pure virtual |
virtual int Lancelot::CustomListItemFactory::itemHeight |
( |
int |
index, |
|
|
Qt::SizeHint |
which |
|
) |
| const |
|
pure virtual |
void Lancelot::CustomListItemFactory::itemInserted |
( |
int |
index | ) |
|
|
signal |
This signal is emitted when an item is inserted into the model.
- Parameters
-
index | place where the new item is inserted |
void Lancelot::CustomListItemFactory::updated |
( |
| ) |
|
|
signal |
This signal is emitted when the model is updated and the update is too complex to explain using itemInserted, itemDeleted and itemAltered methods.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:07 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.