20 return stringList.count();
42 if (
index.row() >= stringList.size())
46 return stringList.at(
index.row());
67 if (
index.row() >= stringList.size())
71 return stringList.at(
index.row());
105 if (!
index.isValid())
129 stringList.replace(
index.row(),
value.toString());
virtual Q_INVOKABLE Qt::ItemFlags flags(const QModelIndex &index) const
Returns the item flags for the given index.
void endRemoveRows()
Ends a row removal operation.
void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight, const QList< int > &roles=QList< int >())
This signal is emitted whenever the data in an existing item changes.
void endInsertRows()
Ends a row insertion operation.
void beginRemoveRows(const QModelIndex &parent, int first, int last)
Begins a row removal operation.
void beginInsertRows(const QModelIndex &parent, int first, int last)
Begins a row insertion operation.
bool insertRows(int position, int rows, const QModelIndex &index=QModelIndex()) override
[3]
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
[3]
QVariant data(const QModelIndex &index, int role) const override
[0]
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of items in the string list as the number of rows in the model.
Qt::ItemFlags flags(const QModelIndex &index) const override
[1]
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
[1]
bool removeRows(int position, int rows, const QModelIndex &index=QModelIndex()) override
[7]
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLenum GLenum GLsizei void * row
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
#define QStringLiteral(str)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent