40 return rowList.
size();
50 return rowList[0].
size();
void endRemoveRows()
Ends a row removal operation.
void beginRemoveColumns(const QModelIndex &parent, int first, int last)
Begins a column 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 beginInsertColumns(const QModelIndex &parent, int first, int last)
Begins a column insertion operation.
void endInsertRows()
Ends a row insertion operation.
void endRemoveColumns()
Ends a column removal operation.
void endInsertColumns()
Ends a column 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.
QObject * parent() const
Returns a pointer to the parent object.
Qt::ItemFlags flags(const QModelIndex &index) const override
\reimp
qsizetype size() const noexcept
void removeAt(qsizetype i)
iterator insert(qsizetype i, parameter_type t)
void append(parameter_type t)
\macro QT_RESTRICTED_CAST_FROM_ASCII
int rowCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of items in the row list as the number of rows in the model.
bool removeColumns(int position, int columns, const QModelIndex &parent=QModelIndex()) override
Removes a number of columns from the model at the specified position.
bool insertRows(int position, int rows, const QModelIndex &parent=QModelIndex()) override
Inserts a number of rows into the model at the specified position.
bool setData(const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
Changes an item in the model, but only if the following conditions are met:
bool removeRows(int position, int rows, const QModelIndex &parent=QModelIndex()) override
Removes a number of rows from the model at the specified position.
Qt::ItemFlags flags(const QModelIndex &index) const override
Returns an appropriate value for the item's flags.
TableModel(int rows=1, int columns=1, QObject *parent=nullptr)
Constructs a table model with at least one row and one column.
bool insertColumns(int position, int columns, const QModelIndex &parent=QModelIndex()) override
Inserts a number of columns into the model at the specified position.
QVariant headerData(int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const override
Returns the appropriate header string depending on the orientation of the header and the section.
int columnCount(const QModelIndex &parent=QModelIndex()) const override
Returns the number of items in the first list item as the number of columns in the model.
QVariant data(const QModelIndex &index, int role) const override
Returns an appropriate value for the requested data.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
constexpr const T & qMax(const T &a, const T &b)
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
static qreal position(const QQuickItem *item, QQuickAnchors::Anchor anchorLine)
#define QStringLiteral(str)
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent