RegisterRefModel

class RegisterRefModel : public QAbstractListModel

Public Types

enum Column

Values:

enumerator RegColumn
enumerator ValueColumn
enumerator RefColumn
enumerator ColumnCount
enum Role

Values:

enumerator RegisterRefDescriptionRole

Public Functions

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