ZignaturesModel

class ZignaturesModel : public QAbstractListModel

Public Types

enum Column

Values:

enumerator OffsetColumn = 0
enumerator NameColumn
enumerator ValueColumn
enumerator ColumnCount
enum Role

Values:

enumerator 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