ZignaturesModel

class ZignaturesModel

Inherits from QAbstractListModel

Public Types

enum Column

Values:

OffsetColumn = 0
NameColumn
ValueColumn
ColumnCount
enum Role

Values:

ZignatureDescriptionRole = Qt::UserRole

Public Functions

ZignaturesModel(QList<ZignatureDescription> *zignatures, QObject *parent = 0)
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const
int rowCount(const QModelIndex &parent = QModelIndex()) const
int columnCount(const QModelIndex &parent = QModelIndex()) const