Used by the EAboutDialog to display all related persons.
More...
#include <eaboutmodel.h>
|
| EAboutModel (QObject *parent=0) |
|
| ~EAboutModel () |
|
QString | toHtml () const |
|
void | addPerson (EAboutPerson *person) |
|
void | addPerson (QString name, QString givenName, EAboutPerson::Categories categories) |
|
void | addPerson (QString name, QString givenName, QString email, EAboutPerson::Categories categories) |
|
EAboutPerson * | itemFromIndex (QModelIndex index) const |
|
QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
|
int | columnCount (const QModelIndex &parent=QModelIndex()) const |
|
int | rowCount (const QModelIndex &parent=QModelIndex()) const |
|
QModelIndex | parent (const QModelIndex &child) const |
|
QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
|
QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
|
| EAbstractItemModel (QObject *parent=0) |
|
virtual | ~EAbstractItemModel () |
|
Used by the EAboutDialog to display all related persons.
Normally the only thing you have to do, is to add EAboutPerson's via addPerson().
EAboutModel::EAboutModel |
( |
QObject * |
parent = 0 | ) |
|
EAboutModel::~EAboutModel |
( |
| ) |
|
void EAboutModel::addPerson |
( |
QString |
name, |
|
|
QString |
givenName, |
|
|
EAboutPerson::Categories |
categories |
|
) |
| |
void EAboutModel::addPerson |
( |
QString |
name, |
|
|
QString |
givenName, |
|
|
QString |
email, |
|
|
EAboutPerson::Categories |
categories |
|
) |
| |
int EAboutModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
QVariant EAboutModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
QVariant EAboutModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
QModelIndex EAboutModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
EAboutPerson * EAboutModel::itemFromIndex |
( |
QModelIndex |
index | ) |
const |
QModelIndex EAboutModel::parent |
( |
const QModelIndex & |
child | ) |
const |
int EAboutModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
QString EAboutModel::toHtml |
( |
| ) |
const |
The documentation for this class was generated from the following files: