ImportsModel

class ImportsModel

Public Types

enum Column

Values:

AddressColumn = 0
TypeColumn
SafetyColumn
NameColumn
ColumnCount
enum Role

Values:

ImportDescriptionRole = Qt::UserRole
AddressRole

Public Functions

ImportsModel(QList<ImportDescription> *imports, QObject *parent)
int rowCount(const QModelIndex &parent) const
int columnCount(const QModelIndex &parent) const
QVariant data(const QModelIndex &index, int role) const
QVariant headerData(int section, Qt::Orientation orientation, int role) const