QStringListModel

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.

Constructors

this
this(QObject parent)
Undocumented in source.
this
this(const(QStringList) strings, QObject parent)
Undocumented in source.

Members

Functions

data
QVariant data(const(QModelIndex) index, int role)
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.
insertRows
bool insertRows(int row, int count, const(QModelIndex) parent)
Undocumented in source.
itemData
QMap!(int, QVariant) itemData(const(QModelIndex) index)
Undocumented in source.
moveRows
bool moveRows(const(QModelIndex) sourceParent, int sourceRow, int count, const(QModelIndex) destinationParent, int destinationChild)
Undocumented in source.
removeRows
bool removeRows(int row, int count, const(QModelIndex) parent)
Undocumented in source.
rowCount
int rowCount(const(QModelIndex) parent)
Undocumented in source.
setData
bool setData(const(QModelIndex) index, const(QVariant) value, int role)
Undocumented in source.
setItemData
bool setItemData(const(QModelIndex) index, const(QMap!(int, QVariant)) roles)
Undocumented in source.
setStringList
void setStringList(const(QStringList) strings)
Undocumented in source.
sibling
QModelIndex sibling(int row, int column, const(QModelIndex) idx)
Undocumented in source.
sort
void sort(int column, qt.core.namespace.SortOrder order)
Undocumented in source.
stringList
QStringList stringList()
Undocumented in source.
supportedDropActions
qt.core.namespace.DropActions supportedDropActions()
Undocumented in source.

Inherited Members

From QAbstractListModel

~this
~this()
Undocumented in source.
index
QModelIndex index(int row, int column, const(QModelIndex) parent)
Undocumented in source.
sibling
QModelIndex sibling(int row, int column, const(QModelIndex) idx)
Undocumented in source.
dropMimeData
bool dropMimeData(const(QMimeData) data, qt.core.namespace.DropAction action, int row, int column, const(QModelIndex) parent)
Undocumented in source.
flags
qt.core.namespace.ItemFlags flags(const(QModelIndex) index)
Undocumented in source.
parent
QModelIndex parent(const(QModelIndex) child)
Undocumented in source.
columnCount
int columnCount(const(QModelIndex) parent)
Undocumented in source.
hasChildren
bool hasChildren(const(QModelIndex) parent)
Undocumented in source.

Meta