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::EAboutModel |
( |
QObject * |
parent = 0 | ) |
|
◆ ~EAboutModel()
| EAboutModel::~EAboutModel |
( |
| ) |
|
◆ addPerson() [1/3]
◆ addPerson() [2/3]
| void EAboutModel::addPerson |
( |
QString |
name, |
|
|
QString |
givenName, |
|
|
EAboutPerson::Categories |
categories |
|
) |
| |
◆ addPerson() [3/3]
| void EAboutModel::addPerson |
( |
QString |
name, |
|
|
QString |
givenName, |
|
|
QString |
email, |
|
|
EAboutPerson::Categories |
categories |
|
) |
| |
◆ columnCount()
| int EAboutModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ data()
| QVariant EAboutModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ headerData()
| QVariant EAboutModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
◆ index()
| QModelIndex EAboutModel::index |
( |
int |
row, |
|
|
int |
column, |
|
|
const QModelIndex & |
parent = QModelIndex() |
|
) |
| const |
◆ itemFromIndex()
| EAboutPerson * EAboutModel::itemFromIndex |
( |
QModelIndex |
index | ) |
const |
◆ parent()
| QModelIndex EAboutModel::parent |
( |
const QModelIndex & |
child | ) |
const |
◆ rowCount()
| int EAboutModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
◆ toHtml()
| QString EAboutModel::toHtml |
( |
| ) |
const |
◆ items
The documentation for this class was generated from the following files:
- /home/abuild/rpmbuild/BUILD/libengsas-0.6.0/src/lib/core/eaboutmodel.h
- /home/abuild/rpmbuild/BUILD/libengsas-0.6.0/src/lib/core/eaboutmodel.cpp