6#include <QtCore/QRegularExpression>
18 return m_data.count();
38 return m_data[
row].name;
41 return m_data[
row].size;
44 return m_data[
row].vertices;
47 return m_data[
row].drawCalls;
80 if (m_passData == newPassData)
83 m_passData = newPassData;
90 if (lines.size() > 2) {
94 if (fields.size() != 4)
97 bool isUInt64 =
false;
98 bool isUint32 =
false;
99 data.name = fields[0];
100 data.size = fields[1];
101 data.vertices = fields[2].toULongLong(&isUInt64);
104 data.drawCalls = fields[3].toULong(&isUint32);
void endResetModel()
Completes a model reset operation.
void beginResetModel()
Begins a model reset operation.
QObject * parent() const
Returns a pointer to the parent object.
void append(parameter_type t)
int rowCount(const QModelIndex &parent) const override
Returns the number of rows under the given parent.
void setPassData(const QString &newPassData)
QVariant headerData(int section, Qt::Orientation orientation, int role) const override
Returns the data for the given role and section in the header with the specified orientation.
QVariant data(const QModelIndex &index, int role) const override
Returns the data stored under the given role for the item referred to by the index.
QHash< int, QByteArray > roleNames() const override
int columnCount(const QModelIndex &parent) const override
Returns the number of columns for the children of the given parent.
\inmodule QtCore \reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
QStringList split(const QString &sep, Qt::SplitBehavior behavior=Qt::KeepEmptyParts, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Splits the string into substrings wherever sep occurs, and returns the list of those strings.
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLenum GLsizei void GLsizei void * column
GLenum GLenum GLsizei void * row
#define QStringLiteral(str)
\inmodule QtCore \reentrant
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent