|
Cute Chess
0.1
|
Supplies PGN tag information to views. More...
#include <pgntagsmodel.h>
Public Slots | |
| void | setTag (const QString &name, const QString &value) |
Public Member Functions | |
| virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| virtual QVariant | data (const QModelIndex &index, int role) const |
| virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| virtual QModelIndex | parent (const QModelIndex &index) const |
| PgnTagsModel (QObject *parent=nullptr) | |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| void | setTags (const QList< QPair< QString, QString > > &tags) |
Supplies PGN tag information to views.
| PgnTagsModel::PgnTagsModel | ( | QObject * | parent = nullptr | ) |
Constructs a model with the given parent.
Associates tags with this model.
1.8.11