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].format;
47 return m_data[
row].mipLevels;
50 return m_data[
row].flags;
85 if (m_textureData == newTextureData)
88 m_textureData = newTextureData;
95 if (lines.size() > 2) {
99 if (fields.size() < 4)
102 bool isUInt32 =
false;
103 data.name = fields[0];
104 data.size = fields[1];
105 data.format = fields[2];
106 data.mipLevels = fields[3].toULong(&isUInt32);
109 if (fields.size() == 5)
110 data.flags = fields[4];
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)
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.
int rowCount(const QModelIndex &parent) const override
Returns the number of rows under the given parent.
void textureDataChanged()
void setTextureData(const QString &newTextureData)
int columnCount(const QModelIndex &parent) const override
Returns the number of columns for the children of the given parent.
QHash< int, QByteArray > roleNames() const override
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.
\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