- All Implemented Interfaces:
QtObjectInterface
,QtSignalBlockerInterface
,QtSignalEmitterInterface
,QtThreadAffineInterface
- Direct Known Subclasses:
QAbstractListModel
,QAbstractProxyModel
,QAbstractTableModel
,QConcatenateTablesProxyModel
,QFileSystemModel
,QHelpContentModel
,QStandardItemModel
public abstract class QAbstractItemModel extends QObject
The abstract interface for item model classes
Java wrapper for Qt class QAbstractItemModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QAbstractItemModel.CheckIndexOption
Java wrapper for Qt enum QAbstractItemModel::CheckIndexOptionstatic class
QAbstractItemModel.CheckIndexOptions
QFlags type for enumQAbstractItemModel.CheckIndexOption
static class
QAbstractItemModel.LayoutChangeHint
Java wrapper for Qt enum QAbstractItemModel::LayoutChangeHintNested classes/interfaces inherited from class io.qt.core.QObject
QObject.MultiSignal, QObject.PrivateSignal0, QObject.PrivateSignal1<A>, QObject.PrivateSignal2<A,B>, QObject.PrivateSignal3<A,B,C>, QObject.PrivateSignal4<A,B,C,D>, QObject.PrivateSignal5<A,B,C,D,E>, QObject.PrivateSignal6<A,B,C,D,E,F>, QObject.PrivateSignal7<A,B,C,D,E,F,G>, QObject.PrivateSignal8<A,B,C,D,E,F,G,H>, QObject.PrivateSignal9<A,B,C,D,E,F,G,H,I>, QObject.QBooleanProperty, QObject.QByteProperty, QObject.QCharProperty, QObject.QComputedBooleanProperty, QObject.QComputedByteProperty, QObject.QComputedCharProperty, QObject.QComputedDoubleProperty, QObject.QComputedFloatProperty, QObject.QComputedIntProperty, QObject.QComputedLongProperty, QObject.QComputedProperty<T>, QObject.QComputedShortProperty, QObject.QDeclarativeConstructor, QObject.QDoubleProperty, QObject.QFloatProperty, QObject.QIntProperty, QObject.QLongProperty, QObject.QProperty<T>, QObject.QShortProperty, QObject.Signal0, QObject.Signal1<A>, QObject.Signal1Default1<A>, QObject.Signal2<A,B>, QObject.Signal2Default1<A,B>, QObject.Signal2Default2<A,B>, QObject.Signal3<A,B,C>, QObject.Signal3Default1<A,B,C>, QObject.Signal3Default2<A,B,C>, QObject.Signal3Default3<A,B,C>, QObject.Signal4<A,B,C,D>, QObject.Signal4Default1<A,B,C,D>, QObject.Signal4Default2<A,B,C,D>, QObject.Signal4Default3<A,B,C,D>, QObject.Signal4Default4<A,B,C,D>, QObject.Signal5<A,B,C,D,E>, QObject.Signal5Default1<A,B,C,D,E>, QObject.Signal5Default2<A,B,C,D,E>, QObject.Signal5Default3<A,B,C,D,E>, QObject.Signal5Default4<A,B,C,D,E>, QObject.Signal5Default5<A,B,C,D,E>, QObject.Signal6<A,B,C,D,E,F>, QObject.Signal6Default1<A,B,C,D,E,F>, QObject.Signal6Default2<A,B,C,D,E,F>, QObject.Signal6Default3<A,B,C,D,E,F>, QObject.Signal6Default4<A,B,C,D,E,F>, QObject.Signal6Default5<A,B,C,D,E,F>, QObject.Signal6Default6<A,B,C,D,E,F>, QObject.Signal7<A,B,C,D,E,F,G>, QObject.Signal7Default1<A,B,C,D,E,F,G>, QObject.Signal7Default2<A,B,C,D,E,F,G>, QObject.Signal7Default3<A,B,C,D,E,F,G>, QObject.Signal7Default4<A,B,C,D,E,F,G>, QObject.Signal7Default5<A,B,C,D,E,F,G>, QObject.Signal7Default6<A,B,C,D,E,F,G>, QObject.Signal7Default7<A,B,C,D,E,F,G>, QObject.Signal8<A,B,C,D,E,F,G,H>, QObject.Signal8Default1<A,B,C,D,E,F,G,H>, QObject.Signal8Default2<A,B,C,D,E,F,G,H>, QObject.Signal8Default3<A,B,C,D,E,F,G,H>, QObject.Signal8Default4<A,B,C,D,E,F,G,H>, QObject.Signal8Default5<A,B,C,D,E,F,G,H>, QObject.Signal8Default6<A,B,C,D,E,F,G,H>, QObject.Signal8Default7<A,B,C,D,E,F,G,H>, QObject.Signal8Default8<A,B,C,D,E,F,G,H>, QObject.Signal9<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default1<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default2<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default3<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default4<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default5<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default6<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default7<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default8<A,B,C,D,E,F,G,H,I>, QObject.Signal9Default9<A,B,C,D,E,F,G,H,I>, QObject.SignalConfiguration
-
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description QAbstractItemModel()
Overloaded constructor forQAbstractItemModel(io.qt.core.QObject)
withparent = null
.QAbstractItemModel(QObject parent)
protected
QAbstractItemModel(QObject.QDeclarativeConstructor constructor)
Constructor for internal use only.protected
QAbstractItemModel(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description protected void
beginInsertColumns(QModelIndex parent, int first, int last)
protected void
beginInsertRows(QModelIndex parent, int first, int last)
protected boolean
beginMoveColumns(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationColumn)
protected boolean
beginMoveRows(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationRow)
protected void
beginRemoveColumns(QModelIndex parent, int first, int last)
protected void
beginRemoveRows(QModelIndex parent, int first, int last)
protected void
beginResetModel()
QModelIndex
buddy(QModelIndex index)
boolean
canDropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)
boolean
canFetchMore(QModelIndex parent)
protected void
changePersistentIndex(QModelIndex from, QModelIndex to)
protected void
changePersistentIndexList(Collection<QModelIndex> from, Collection<QModelIndex> to)
boolean
checkIndex(QModelIndex index)
Overloaded function forcheckIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)
withoptions = new io.qt.core.QAbstractItemModel.CheckIndexOptions(0)
.boolean
checkIndex(QModelIndex index, QAbstractItemModel.CheckIndexOption... options)
Overloaded function forcheckIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)
.boolean
checkIndex(QModelIndex index, QAbstractItemModel.CheckIndexOptions options)
boolean
clearItemData(QModelIndex index)
int
columnCount()
Overloaded function forcolumnCount(io.qt.core.QModelIndex)
withparent = null
.abstract int
columnCount(QModelIndex parent)
protected QModelIndex
createIndex(int row, int column)
protected QModelIndex
createIndex(int row, int column, long id)
Object
data(int row, int col)
Object
data(int row, int col, int role)
Object
data(QModelIndex index)
Overloaded function fordata(io.qt.core.QModelIndex, int)
withrole = 0
.abstract Object
data(QModelIndex index, int role)
protected boolean
decodeData(int row, int column, QModelIndex parent, QDataStream stream)
boolean
dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)
protected void
encodeData(Collection<QModelIndex> indexes, QDataStream stream)
protected void
endInsertColumns()
protected void
endInsertRows()
protected void
endMoveColumns()
protected void
endMoveRows()
protected void
endRemoveColumns()
protected void
endRemoveRows()
protected void
endResetModel()
void
fetchMore(QModelIndex parent)
Qt.ItemFlags
flags(QModelIndex index)
boolean
hasChildren()
Overloaded function forhasChildren(io.qt.core.QModelIndex)
withparent = null
.boolean
hasChildren(QModelIndex parent)
boolean
hasIndex(int row, int column)
Overloaded function forhasIndex(int, int, io.qt.core.QModelIndex)
withparent = null
.boolean
hasIndex(int row, int column, QModelIndex parent)
Object
headerData(int section, Qt.Orientation orientation)
Overloaded function forheaderData(int, io.qt.core.Qt.Orientation, int)
withrole = 0
.Object
headerData(int section, Qt.Orientation orientation, int role)
QModelIndex
index(int row, int column)
Overloaded function forindex(int, int, io.qt.core.QModelIndex)
withparent = null
.abstract QModelIndex
index(int row, int column, QModelIndex parent)
boolean
insertColumn(int column)
Overloaded function forinsertColumn(int, io.qt.core.QModelIndex)
withparent = null
.boolean
insertColumn(int column, QModelIndex parent)
boolean
insertColumns(int column, int count)
Overloaded function forinsertColumns(int, int, io.qt.core.QModelIndex)
withparent = null
.boolean
insertColumns(int column, int count, QModelIndex parent)
boolean
insertRow(int row)
Overloaded function forinsertRow(int, io.qt.core.QModelIndex)
withparent = null
.boolean
insertRow(int row, QModelIndex parent)
boolean
insertRows(int row, int count)
Overloaded function forinsertRows(int, int, io.qt.core.QModelIndex)
withparent = null
.boolean
insertRows(int row, int count, QModelIndex parent)
NavigableMap<Integer,Object>
itemData(QModelIndex index)
List<QModelIndex>
match(QModelIndex start, int role, Object value)
Overloaded function formatch(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
List<QModelIndex>
match(QModelIndex start, int role, Object value, int hits)
Overloaded function formatch(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
withflags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)
.List<QModelIndex>
match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag... flags)
Overloaded function formatch(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
.List<QModelIndex>
match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
QMimeData
mimeData(Collection<QModelIndex> indexes)
List<String>
mimeTypes()
boolean
moveColumn(QModelIndex sourceParent, int sourceColumn, QModelIndex destinationParent, int destinationChild)
boolean
moveColumns(QModelIndex sourceParent, int sourceColumn, int count, QModelIndex destinationParent, int destinationChild)
boolean
moveRow(QModelIndex sourceParent, int sourceRow, QModelIndex destinationParent, int destinationChild)
boolean
moveRows(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild)
void
multiData(QModelIndex index, Map<Integer,Object> roleDataSpan)
abstract QModelIndex
parent(QModelIndex child)
protected QList<QModelIndex>
persistentIndexList()
boolean
removeColumn(int column)
Overloaded function forremoveColumn(int, io.qt.core.QModelIndex)
withparent = null
.boolean
removeColumn(int column, QModelIndex parent)
boolean
removeColumns(int column, int count)
Overloaded function forremoveColumns(int, int, io.qt.core.QModelIndex)
withparent = null
.boolean
removeColumns(int column, int count, QModelIndex parent)
boolean
removeRow(int row)
Overloaded function forremoveRow(int, io.qt.core.QModelIndex)
withparent = null
.boolean
removeRow(int row, QModelIndex parent)
boolean
removeRows(int row, int count)
Overloaded function forremoveRows(int, int, io.qt.core.QModelIndex)
withparent = null
.boolean
removeRows(int row, int count, QModelIndex parent)
protected void
resetInternalData()
void
revert()
Map<Integer,QByteArray>
roleNames()
int
rowCount()
Overloaded function forrowCount(io.qt.core.QModelIndex)
withparent = null
.abstract int
rowCount(QModelIndex parent)
boolean
setData(int row, int col, Object value)
boolean
setData(int row, int col, Object value, int role)
boolean
setData(QModelIndex index, Object value)
Overloaded function forsetData(io.qt.core.QModelIndex, java.lang.Object, int)
withrole = 2
.boolean
setData(QModelIndex index, Object value, int role)
boolean
setHeaderData(int section, Qt.Orientation orientation, Object value)
Overloaded function forsetHeaderData(int, io.qt.core.Qt.Orientation, java.lang.Object, int)
withrole = 2
.boolean
setHeaderData(int section, Qt.Orientation orientation, Object value, int role)
boolean
setItemData(QModelIndex index, Map<Integer,Object> roles)
QModelIndex
sibling(int row, int column, QModelIndex idx)
void
sort(int column)
Overloaded function forsort(int, io.qt.core.Qt.SortOrder)
withorder = io.qt.core.Qt.SortOrder.AscendingOrder
.void
sort(int column, Qt.SortOrder order)
QSize
span(QModelIndex index)
boolean
submit()
Qt.DropActions
supportedDragActions()
Qt.DropActions
supportedDropActions()
Methods inherited from class io.qt.core.QObject
blockSignals, childEvent, children, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connectNotify, customEvent, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnectNotify, disposeLater, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, emit, emit, emit, emit, emit, emit, emit, emit, emit, event, eventFilter, findChild, findChild, findChild, findChild, findChild, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, findChildren, inherits, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, qt_metacast, receivers, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, startTimer, thread, timerEvent, toString, tr, tr, tr
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class. -
columnsAboutToBeInserted
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> columnsAboutToBeInserted -
columnsAboutToBeMoved
public final QObject.PrivateSignal5<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer,QModelIndex,@QtPrimitiveType Integer> columnsAboutToBeMoved -
columnsAboutToBeRemoved
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> columnsAboutToBeRemoved -
columnsInserted
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> columnsInserted -
columnsMoved
public final QObject.PrivateSignal5<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer,QModelIndex,@QtPrimitiveType Integer> columnsMoved -
columnsRemoved
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> columnsRemoved -
dataChanged
-
headerDataChanged
public final QObject.Signal3<Qt.Orientation,@QtPrimitiveType Integer,@QtPrimitiveType Integer> headerDataChanged -
layoutAboutToBeChanged
public final QObject.Signal2Default2<List<QPersistentModelIndex>,QAbstractItemModel.LayoutChangeHint> layoutAboutToBeChanged -
layoutChanged
public final QObject.Signal2Default2<List<QPersistentModelIndex>,QAbstractItemModel.LayoutChangeHint> layoutChanged -
modelAboutToBeReset
-
modelReset
-
rowsAboutToBeInserted
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> rowsAboutToBeInserted -
rowsAboutToBeMoved
public final QObject.PrivateSignal5<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer,QModelIndex,@QtPrimitiveType Integer> rowsAboutToBeMoved -
rowsAboutToBeRemoved
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> rowsAboutToBeRemoved -
rowsInserted
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> rowsInserted -
rowsMoved
public final QObject.PrivateSignal5<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer,QModelIndex,@QtPrimitiveType Integer> rowsMoved -
rowsRemoved
public final QObject.PrivateSignal3<QModelIndex,@QtPrimitiveType Integer,@QtPrimitiveType Integer> rowsRemoved
-
-
Constructor Details
-
QAbstractItemModel
public QAbstractItemModel()Overloaded constructor for
QAbstractItemModel(io.qt.core.QObject)
withparent = null
. -
QAbstractItemModel
-
QAbstractItemModel
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QAbstractItemModel
Constructor for internal use only. It is not allowed to call the declarative constructor from inside Java.
-
-
Method Details
-
beginInsertColumns
@QtDeclaredFinal @QtUninvokable protected void beginInsertColumns(QModelIndex parent, int first, int last) -
beginInsertRows
@QtDeclaredFinal @QtUninvokable protected void beginInsertRows(QModelIndex parent, int first, int last) -
beginMoveColumns
@QtUninvokable protected final boolean beginMoveColumns(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationColumn) -
beginMoveRows
@QtUninvokable protected final boolean beginMoveRows(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationRow) -
beginRemoveColumns
@QtDeclaredFinal @QtUninvokable protected void beginRemoveColumns(QModelIndex parent, int first, int last) -
beginRemoveRows
@QtDeclaredFinal @QtUninvokable protected void beginRemoveRows(QModelIndex parent, int first, int last) -
beginResetModel
-
changePersistentIndex
-
changePersistentIndexList
@QtUninvokable protected final void changePersistentIndexList(Collection<QModelIndex> from, Collection<QModelIndex> to) -
checkIndex
@QtUninvokable public final boolean checkIndex(QModelIndex index, QAbstractItemModel.CheckIndexOption... options)Overloaded function for
checkIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)
. -
checkIndex
Overloaded function for
checkIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)
withoptions = new io.qt.core.QAbstractItemModel.CheckIndexOptions(0)
. -
checkIndex
@QtUninvokable public final boolean checkIndex(QModelIndex index, QAbstractItemModel.CheckIndexOptions options) -
createIndex
-
decodeData
@QtUninvokable protected final boolean decodeData(int row, int column, QModelIndex parent, QDataStream stream) -
encodeData
@QtUninvokable protected final void encodeData(Collection<QModelIndex> indexes, QDataStream stream) -
endInsertColumns
-
endInsertRows
-
endMoveColumns
-
endMoveRows
-
endRemoveColumns
-
endRemoveRows
-
endResetModel
-
hasIndex
public final boolean hasIndex(int row, int column)Overloaded function for
hasIndex(int, int, io.qt.core.QModelIndex)
withparent = null
. -
hasIndex
-
insertColumn
Overloaded function for
insertColumn(int, io.qt.core.QModelIndex)
withparent = null
. -
insertColumn
-
insertRow
Overloaded function for
insertRow(int, io.qt.core.QModelIndex)
withparent = null
. -
insertRow
-
moveColumn
@QtUninvokable public final boolean moveColumn(QModelIndex sourceParent, int sourceColumn, QModelIndex destinationParent, int destinationChild) -
moveRow
@QtUninvokable public final boolean moveRow(QModelIndex sourceParent, int sourceRow, QModelIndex destinationParent, int destinationChild) -
persistentIndexList
-
removeColumn
Overloaded function for
removeColumn(int, io.qt.core.QModelIndex)
withparent = null
. -
removeColumn
-
removeRow
Overloaded function for
removeRow(int, io.qt.core.QModelIndex)
withparent = null
. -
removeRow
-
buddy
-
canDropMimeData
@QtUninvokable public boolean canDropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) -
canFetchMore
-
clearItemData
-
columnCount
public final int columnCount()Overloaded function for
columnCount(io.qt.core.QModelIndex)
withparent = null
. -
columnCount
-
data
Overloaded function for
data(io.qt.core.QModelIndex, int)
withrole = 0
. -
data
-
dropMimeData
@QtUninvokable public boolean dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) -
fetchMore
-
flags
-
hasChildren
public final boolean hasChildren()Overloaded function for
hasChildren(io.qt.core.QModelIndex)
withparent = null
. -
hasChildren
-
headerData
Overloaded function for
headerData(int, io.qt.core.Qt.Orientation, int)
withrole = 0
. -
headerData
-
index
Overloaded function for
index(int, int, io.qt.core.QModelIndex)
withparent = null
. -
index
-
insertColumns
Overloaded function for
insertColumns(int, int, io.qt.core.QModelIndex)
withparent = null
. -
insertColumns
-
insertRows
Overloaded function for
insertRows(int, int, io.qt.core.QModelIndex)
withparent = null
. -
insertRows
-
itemData
-
match
public final List<QModelIndex> match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag... flags)Overloaded function for
match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
. -
match
Overloaded function for
match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
withflags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)
. -
match
Overloaded function for
match(io.qt.core.QModelIndex, int, java.lang.Object, int, io.qt.core.Qt.MatchFlags)
with:
hits = 1
flags = new io.qt.core.Qt.MatchFlags(io.qt.core.Qt.MatchFlag.MatchStartsWith, io.qt.core.Qt.MatchFlag.MatchWrap)
-
match
public List<QModelIndex> match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) -
mimeData
-
mimeTypes
-
moveColumns
@QtUninvokable public boolean moveColumns(QModelIndex sourceParent, int sourceColumn, int count, QModelIndex destinationParent, int destinationChild) -
moveRows
@QtUninvokable public boolean moveRows(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) -
multiData
-
parent
-
removeColumns
Overloaded function for
removeColumns(int, int, io.qt.core.QModelIndex)
withparent = null
. -
removeColumns
-
removeRows
Overloaded function for
removeRows(int, int, io.qt.core.QModelIndex)
withparent = null
. -
removeRows
-
resetInternalData
protected void resetInternalData() -
revert
public void revert() -
roleNames
-
rowCount
public final int rowCount()Overloaded function for
rowCount(io.qt.core.QModelIndex)
withparent = null
. -
rowCount
-
setData
Overloaded function for
setData(io.qt.core.QModelIndex, java.lang.Object, int)
withrole = 2
. -
setData
-
setHeaderData
@QtUninvokable public final boolean setHeaderData(int section, Qt.Orientation orientation, Object value)Overloaded function for
setHeaderData(int, io.qt.core.Qt.Orientation, java.lang.Object, int)
withrole = 2
. -
setHeaderData
@QtUninvokable public boolean setHeaderData(int section, Qt.Orientation orientation, Object value, int role) -
setItemData
-
sibling
-
sort
Overloaded function for
sort(int, io.qt.core.Qt.SortOrder)
withorder = io.qt.core.Qt.SortOrder.AscendingOrder
. -
sort
-
span
-
submit
public boolean submit() -
supportedDragActions
-
supportedDropActions
-
setData
-
setData
-
data
-
data
-
createIndex
-