parley
#include <statisticsmodel.h>
Public Types | |
enum | GradeRoles { TotalPercent = Qt::UserRole, TotalCount, Grade0, Grade1, Grade2, Grade3, Grade4, Grade5, Grade6, Grade7 } |
Public Member Functions | |
StatisticsModel (QObject *parent=0) | |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
Public Member Functions inherited from Editor::ContainerModel | |
ContainerModel (KEduVocContainer::EnumContainerType type, QObject *parent=0) | |
QModelIndex | appendContainer (const QModelIndex &parent, const QString &containerName=QString()) |
void | deleteContainer (const QModelIndex &containerIndex) |
virtual bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
virtual QMimeData * | mimeData (const QModelIndexList &indexes) const |
virtual QStringList | mimeTypes () const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
virtual Qt::DropActions | supportedDropActions () const |
Public Member Functions inherited from Editor::BasicContainerModel | |
BasicContainerModel (KEduVocContainer::EnumContainerType type, QObject *parent=0) | |
KEduVocContainer::EnumContainerType | containerType () |
virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
QModelIndex | index (KEduVocContainer *container) const |
virtual QModelIndex | parent (const QModelIndex &index) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
Protected Member Functions | |
KEduVocContainer * | rootContainer () const |
Additional Inherited Members | |
Public Slots inherited from Editor::BasicContainerModel | |
void | setDocument (KEduVocDocument *doc) |
Signals inherited from Editor::ContainerModel | |
void | documentModified () |
Protected Attributes inherited from Editor::BasicContainerModel | |
KEduVocDocument * | m_doc |
KEduVocContainer::EnumContainerType | m_type |
Detailed Description
Definition at line 23 of file statisticsmodel.h.
Member Enumeration Documentation
Enumerator | |
---|---|
TotalPercent | |
TotalCount | |
Grade0 | |
Grade1 | |
Grade2 | |
Grade3 | |
Grade4 | |
Grade5 | |
Grade6 | |
Grade7 |
Definition at line 28 of file statisticsmodel.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 21 of file statisticsmodel.cpp.
Member Function Documentation
|
virtual |
Reimplemented from Editor::ContainerModel.
Definition at line 79 of file statisticsmodel.cpp.
|
virtual |
Reimplemented from Editor::ContainerModel.
Definition at line 37 of file statisticsmodel.cpp.
|
virtual |
Reimplemented from Editor::ContainerModel.
Definition at line 68 of file statisticsmodel.cpp.
|
virtual |
Reimplemented from Editor::ContainerModel.
Definition at line 27 of file statisticsmodel.cpp.
|
protectedvirtual |
Implements Editor::BasicContainerModel.
Definition at line 85 of file statisticsmodel.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:42:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.