SearchModel

class SearchModel

Inherits from QAbstractListModel

Public Types

enum Columns

Values:

OFFSET = 0
SIZE
CODE
DATA
COUNT

Public Functions

SearchModel(QList<SearchDescription> *search, QObject *parent = nullptr)
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

Public Static Attributes

const int SearchDescriptionRole = Qt::UserRole