Uses of Class
io.qt.core.QModelIndex
Package
Description
-
Uses of QModelIndex in io.qt.core
Modifier and TypeFieldDescriptionQAbstractItemModel.columnsAboutToBeInserted
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.columnsAboutToBeMoved
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.columnsAboutToBeMoved
QAbstractItemModel.columnsAboutToBeRemoved
QAbstractItemModel.columnsInserted
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.columnsMoved
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.columnsMoved
QAbstractItemModel.columnsRemoved
QItemSelectionModel.currentChanged
QItemSelectionModel.currentChanged
QItemSelectionModel.currentColumnChanged
QItemSelectionModel.currentColumnChanged
QItemSelectionModel.currentRowChanged
QItemSelectionModel.currentRowChanged
QAbstractItemModel.dataChanged
QAbstractItemModel.dataChanged
QAbstractItemModel.rowsAboutToBeInserted
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.rowsAboutToBeMoved
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.rowsAboutToBeMoved
QAbstractItemModel.rowsAboutToBeRemoved
QAbstractItemModel.rowsInserted
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.rowsMoved
final QObject.PrivateSignal5<QModelIndex,
@QtPrimitiveType Integer, @QtPrimitiveType Integer, QModelIndex, @QtPrimitiveType Integer> QAbstractItemModel.rowsMoved
QAbstractItemModel.rowsRemoved
Modifier and TypeMethodDescriptionQAbstractItemModel.buddy
(QModelIndex index) QAbstractProxyModel.buddy
(QModelIndex index) QSortFilterProxyModel.buddy
(QModelIndex index) QModelIndex.clone()
Creates and returns a copy of this object.protected final QModelIndex
QAbstractItemModel.createIndex
(int row, int column) protected final QModelIndex
QAbstractItemModel.createIndex
(int row, int column, long id) final QModelIndex
QItemSelectionModel.currentIndex()
final QModelIndex
QItemSelectionModel.getCurrentIndex()
Kotlin property getter.final QModelIndex
QAbstractItemModel.index
(int row, int column) Overloaded function forQAbstractItemModel.index(int, int, io.qt.core.QModelIndex)
withparent = new io.qt.core.QModelIndex()
.abstract QModelIndex
QAbstractItemModel.index
(int row, int column, QModelIndex parent) QAbstractListModel.index
(int row, int column, QModelIndex parent) QAbstractTableModel.index
(int row, int column, QModelIndex parent) QConcatenateTablesProxyModel.index
(int row, int column, QModelIndex parent) QIdentityProxyModel.index
(int row, int column, QModelIndex parent) QSortFilterProxyModel.index
(int row, int column, QModelIndex parent) QTransposeProxyModel.index
(int row, int column, QModelIndex parent) abstract QModelIndex
QAbstractProxyModel.mapFromSource
(QModelIndex sourceIndex) final QModelIndex
QConcatenateTablesProxyModel.mapFromSource
(QModelIndex sourceIndex) QIdentityProxyModel.mapFromSource
(QModelIndex sourceIndex) QSortFilterProxyModel.mapFromSource
(QModelIndex sourceIndex) QTransposeProxyModel.mapFromSource
(QModelIndex sourceIndex) abstract QModelIndex
QAbstractProxyModel.mapToSource
(QModelIndex proxyIndex) final QModelIndex
QConcatenateTablesProxyModel.mapToSource
(QModelIndex proxyIndex) QIdentityProxyModel.mapToSource
(QModelIndex proxyIndex) QSortFilterProxyModel.mapToSource
(QModelIndex proxyIndex) QTransposeProxyModel.mapToSource
(QModelIndex proxyIndex) abstract QModelIndex
QAbstractItemModel.parent
(QModelIndex child) final QModelIndex
QAbstractListModel.parent
(QModelIndex child) Deprecated.final QModelIndex
QAbstractTableModel.parent
(QModelIndex child) Deprecated.QConcatenateTablesProxyModel.parent
(QModelIndex index) QIdentityProxyModel.parent
(QModelIndex child) final QModelIndex
QItemSelectionRange.parent()
final QModelIndex
QModelIndex.parent()
final QModelIndex
QPersistentModelIndex.parent()
QSortFilterProxyModel.parent
(QModelIndex child) QTransposeProxyModel.parent
(QModelIndex index) QAbstractItemModel.sibling
(int row, int column, QModelIndex idx) QAbstractListModel.sibling
(int row, int column, QModelIndex idx) QAbstractProxyModel.sibling
(int row, int column, QModelIndex idx) QAbstractTableModel.sibling
(int row, int column, QModelIndex idx) QIdentityProxyModel.sibling
(int row, int column, QModelIndex idx) final QModelIndex
QModelIndex.sibling
(int row, int column) final QModelIndex
QPersistentModelIndex.sibling
(int row, int column) QSortFilterProxyModel.sibling
(int row, int column, QModelIndex idx) QStringListModel.sibling
(int row, int column, QModelIndex idx) final QModelIndex
QModelIndex.siblingAtColumn
(int column) final QModelIndex
QModelIndex.siblingAtRow
(int row) final QModelIndex
QPersistentModelIndex.toIndex()
final QModelIndex
QVariant.toModelIndex()
Modifier and TypeMethodDescriptionfinal QList<QModelIndex>
QItemSelectionModel.getSelectedIndexes()
Kotlin property getter.final QList<QModelIndex>
QItemSelection.indexes()
final QList<QModelIndex>
QItemSelectionRange.indexes()
final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value) final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits) Overloaded function forQAbstractItemModel.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)
.final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag ... flags) QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) QIdentityProxyModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) QSortFilterProxyModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) protected final QList<QModelIndex>
QAbstractItemModel.persistentIndexList()
final QList<QModelIndex>
QItemSelectionModel.selectedColumns()
Overloaded function forQItemSelectionModel.selectedColumns(int)
withrow = 0
.final QList<QModelIndex>
QItemSelectionModel.selectedColumns
(int row) final QList<QModelIndex>
QItemSelectionModel.selectedIndexes()
final QList<QModelIndex>
QItemSelectionModel.selectedRows()
Overloaded function forQItemSelectionModel.selectedRows(int)
withcolumn = 0
.final QList<QModelIndex>
QItemSelectionModel.selectedRows
(int column) Modifier and TypeMethodDescriptionfinal void
QPersistentModelIndex.assign
(QModelIndex other) protected void
QAbstractItemModel.beginInsertColumns
(QModelIndex parent, int first, int last) protected void
QAbstractItemModel.beginInsertRows
(QModelIndex parent, int first, int last) protected boolean
QAbstractItemModel.beginMoveColumns
(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationColumn) protected boolean
QAbstractItemModel.beginMoveRows
(QModelIndex sourceParent, int sourceFirst, int sourceLast, QModelIndex destinationParent, int destinationRow) protected void
QAbstractItemModel.beginRemoveColumns
(QModelIndex parent, int first, int last) protected void
QAbstractItemModel.beginRemoveRows
(QModelIndex parent, int first, int last) QAbstractItemModel.buddy
(QModelIndex index) QAbstractProxyModel.buddy
(QModelIndex index) QSortFilterProxyModel.buddy
(QModelIndex index) boolean
QAbstractItemModel.canDropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QAbstractProxyModel.canDropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QConcatenateTablesProxyModel.canDropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QAbstractItemModel.canFetchMore
(QModelIndex parent) boolean
QAbstractProxyModel.canFetchMore
(QModelIndex parent) boolean
QSortFilterProxyModel.canFetchMore
(QModelIndex parent) protected final void
QAbstractItemModel.changePersistentIndex
(QModelIndex from, QModelIndex to) final boolean
QAbstractItemModel.checkIndex
(QModelIndex index) Overloaded function forQAbstractItemModel.checkIndex(io.qt.core.QModelIndex, io.qt.core.QAbstractItemModel.CheckIndexOptions)
withoptions = new io.qt.core.QAbstractItemModel.CheckIndexOptions(0)
.final boolean
QAbstractItemModel.checkIndex
(QModelIndex index, QAbstractItemModel.CheckIndexOption ... options) final boolean
QAbstractItemModel.checkIndex
(QModelIndex index, QAbstractItemModel.CheckIndexOptions options) boolean
QAbstractItemModel.clearItemData
(QModelIndex index) boolean
QAbstractProxyModel.clearItemData
(QModelIndex index) boolean
QStringListModel.clearItemData
(QModelIndex index) abstract int
QAbstractItemModel.columnCount
(QModelIndex parent) final int
QAbstractListModel.columnCount
(QModelIndex parent) Deprecated.int
QConcatenateTablesProxyModel.columnCount
(QModelIndex parent) int
QIdentityProxyModel.columnCount
(QModelIndex parent) int
QSortFilterProxyModel.columnCount
(QModelIndex parent) int
QTransposeProxyModel.columnCount
(QModelIndex parent) final boolean
QItemSelectionModel.columnIntersectsSelection
(int column, QModelIndex parent) int
QModelIndex.compareTo
(QModelIndex other) final boolean
QItemSelection.contains
(QModelIndex index) final boolean
QItemSelectionRange.contains
(int row, int column, QModelIndex parentIndex) final boolean
QItemSelectionRange.contains
(QModelIndex index) final Object
QAbstractItemModel.data
(QModelIndex index) Overloaded function forQAbstractItemModel.data(io.qt.core.QModelIndex, int)
withrole = 0
.abstract Object
QAbstractItemModel.data
(QModelIndex index, int role) QAbstractProxyModel.data
(QModelIndex proxyIndex, int role) QConcatenateTablesProxyModel.data
(QModelIndex index, int role) QSortFilterProxyModel.data
(QModelIndex index, int role) QStringListModel.data
(QModelIndex index, int role) protected final boolean
QAbstractItemModel.decodeData
(int row, int column, QModelIndex parent, QDataStream stream) SeeQAbstractItemModel::
decodeData(int, int, QModelIndex, QDataStream&) boolean
QAbstractItemModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QAbstractListModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QAbstractProxyModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QAbstractTableModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QConcatenateTablesProxyModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QIdentityProxyModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QSortFilterProxyModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) void
QAbstractItemModel.fetchMore
(QModelIndex parent) void
QAbstractProxyModel.fetchMore
(QModelIndex parent) void
QSortFilterProxyModel.fetchMore
(QModelIndex parent) protected boolean
QSortFilterProxyModel.filterAcceptsColumn
(int source_column, QModelIndex source_parent) protected boolean
QSortFilterProxyModel.filterAcceptsRow
(int source_row, QModelIndex source_parent) QAbstractItemModel.flags
(QModelIndex index) QAbstractListModel.flags
(QModelIndex index) QAbstractProxyModel.flags
(QModelIndex index) QAbstractTableModel.flags
(QModelIndex index) QConcatenateTablesProxyModel.flags
(QModelIndex index) QSortFilterProxyModel.flags
(QModelIndex index) QStringListModel.flags
(QModelIndex index) boolean
QAbstractItemModel.hasChildren
(QModelIndex parent) final boolean
QAbstractListModel.hasChildren
(QModelIndex parent) Deprecated.boolean
QAbstractProxyModel.hasChildren
(QModelIndex parent) final boolean
QAbstractTableModel.hasChildren
(QModelIndex parent) Deprecated.boolean
QSortFilterProxyModel.hasChildren
(QModelIndex parent) final boolean
QAbstractItemModel.hasIndex
(int row, int column, QModelIndex parent) abstract QModelIndex
QAbstractItemModel.index
(int row, int column, QModelIndex parent) QAbstractListModel.index
(int row, int column, QModelIndex parent) QAbstractTableModel.index
(int row, int column, QModelIndex parent) QConcatenateTablesProxyModel.index
(int row, int column, QModelIndex parent) QIdentityProxyModel.index
(int row, int column, QModelIndex parent) QSortFilterProxyModel.index
(int row, int column, QModelIndex parent) QTransposeProxyModel.index
(int row, int column, QModelIndex parent) final boolean
QAbstractItemModel.insertColumn
(int column, QModelIndex parent) boolean
QAbstractItemModel.insertColumns
(int column, int count, QModelIndex parent) boolean
QIdentityProxyModel.insertColumns
(int column, int count, QModelIndex parent) boolean
QSortFilterProxyModel.insertColumns
(int column, int count, QModelIndex parent) boolean
QTransposeProxyModel.insertColumns
(int column, int count, QModelIndex parent) final boolean
QAbstractItemModel.insertRow
(int row, QModelIndex parent) boolean
QAbstractItemModel.insertRows
(int row, int count, QModelIndex parent) boolean
QIdentityProxyModel.insertRows
(int row, int count, QModelIndex parent) boolean
QSortFilterProxyModel.insertRows
(int row, int count, QModelIndex parent) boolean
QStringListModel.insertRows
(int row, int count, QModelIndex parent) boolean
QTransposeProxyModel.insertRows
(int row, int count, QModelIndex parent) final boolean
QItemSelectionModel.isColumnSelected
(int column, QModelIndex parent) final boolean
QItemSelectionModel.isRowSelected
(int row, QModelIndex parent) final boolean
QItemSelectionModel.isSelected
(QModelIndex index) QAbstractItemModel.itemData
(QModelIndex index) QAbstractProxyModel.itemData
(QModelIndex index) QConcatenateTablesProxyModel.itemData
(QModelIndex proxyIndex) QStringListModel.itemData
(QModelIndex index) QTransposeProxyModel.itemData
(QModelIndex index) protected boolean
QSortFilterProxyModel.lessThan
(QModelIndex source_left, QModelIndex source_right) abstract QModelIndex
QAbstractProxyModel.mapFromSource
(QModelIndex sourceIndex) final QModelIndex
QConcatenateTablesProxyModel.mapFromSource
(QModelIndex sourceIndex) QIdentityProxyModel.mapFromSource
(QModelIndex sourceIndex) QSortFilterProxyModel.mapFromSource
(QModelIndex sourceIndex) QTransposeProxyModel.mapFromSource
(QModelIndex sourceIndex) abstract QModelIndex
QAbstractProxyModel.mapToSource
(QModelIndex proxyIndex) final QModelIndex
QConcatenateTablesProxyModel.mapToSource
(QModelIndex proxyIndex) QIdentityProxyModel.mapToSource
(QModelIndex proxyIndex) QSortFilterProxyModel.mapToSource
(QModelIndex proxyIndex) QTransposeProxyModel.mapToSource
(QModelIndex proxyIndex) final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value) final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits) Overloaded function forQAbstractItemModel.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)
.final List<QModelIndex>
QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag ... flags) QAbstractItemModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) QIdentityProxyModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) QSortFilterProxyModel.match
(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags) final boolean
QAbstractItemModel.moveColumn
(QModelIndex sourceParent, int sourceColumn, QModelIndex destinationParent, int destinationChild) boolean
QAbstractItemModel.moveColumns
(QModelIndex sourceParent, int sourceColumn, int count, QModelIndex destinationParent, int destinationChild) boolean
QIdentityProxyModel.moveColumns
(QModelIndex sourceParent, int sourceColumn, int count, QModelIndex destinationParent, int destinationChild) boolean
QTransposeProxyModel.moveColumns
(QModelIndex sourceParent, int sourceColumn, int count, QModelIndex destinationParent, int destinationChild) final boolean
QAbstractItemModel.moveRow
(QModelIndex sourceParent, int sourceRow, QModelIndex destinationParent, int destinationChild) boolean
QAbstractItemModel.moveRows
(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) boolean
QIdentityProxyModel.moveRows
(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) boolean
QStringListModel.moveRows
(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) boolean
QTransposeProxyModel.moveRows
(QModelIndex sourceParent, int sourceRow, int count, QModelIndex destinationParent, int destinationChild) void
QAbstractItemModel.multiData
(QModelIndex index, Map<Integer, Object> roleDataSpan) abstract QModelIndex
QAbstractItemModel.parent
(QModelIndex child) final QModelIndex
QAbstractListModel.parent
(QModelIndex child) Deprecated.final QModelIndex
QAbstractTableModel.parent
(QModelIndex child) Deprecated.QConcatenateTablesProxyModel.parent
(QModelIndex index) QIdentityProxyModel.parent
(QModelIndex child) QSortFilterProxyModel.parent
(QModelIndex child) QTransposeProxyModel.parent
(QModelIndex index) final boolean
QAbstractItemModel.removeColumn
(int column, QModelIndex parent) boolean
QAbstractItemModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QIdentityProxyModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QSortFilterProxyModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QTransposeProxyModel.removeColumns
(int column, int count, QModelIndex parent) final boolean
QAbstractItemModel.removeRow
(int row, QModelIndex parent) boolean
QAbstractItemModel.removeRows
(int row, int count, QModelIndex parent) boolean
QIdentityProxyModel.removeRows
(int row, int count, QModelIndex parent) boolean
QSortFilterProxyModel.removeRows
(int row, int count, QModelIndex parent) boolean
QStringListModel.removeRows
(int row, int count, QModelIndex parent) boolean
QTransposeProxyModel.removeRows
(int row, int count, QModelIndex parent) abstract int
QAbstractItemModel.rowCount
(QModelIndex parent) int
QConcatenateTablesProxyModel.rowCount
(QModelIndex parent) int
QIdentityProxyModel.rowCount
(QModelIndex parent) int
QSortFilterProxyModel.rowCount
(QModelIndex parent) int
QStringListModel.rowCount
(QModelIndex parent) int
QTransposeProxyModel.rowCount
(QModelIndex parent) final boolean
QItemSelectionModel.rowIntersectsSelection
(int row, QModelIndex parent) final void
QItemSelection.select
(QModelIndex topLeft, QModelIndex bottomRight) final void
QItemSelectionModel.select
(QModelIndex index, QItemSelectionModel.SelectionFlag ... command) Overloaded function forQItemSelectionModel.select(io.qt.core.QModelIndex, io.qt.core.QItemSelectionModel.SelectionFlags)
.void
QItemSelectionModel.select
(QModelIndex index, QItemSelectionModel.SelectionFlags command) final void
QItemSelectionModel.setCurrentIndex
(QModelIndex index, QItemSelectionModel.SelectionFlag ... command) void
QItemSelectionModel.setCurrentIndex
(QModelIndex index, QItemSelectionModel.SelectionFlags command) final boolean
QAbstractItemModel.setData
(QModelIndex index, Object value) Overloaded function forQAbstractItemModel.setData(io.qt.core.QModelIndex, java.lang.Object, int)
withrole = 2
.boolean
QAbstractItemModel.setData
(QModelIndex index, Object value, int role) boolean
QAbstractProxyModel.setData
(QModelIndex index, Object value, int role) boolean
QConcatenateTablesProxyModel.setData
(QModelIndex index, Object value, int role) boolean
QSortFilterProxyModel.setData
(QModelIndex index, Object value, int role) boolean
QStringListModel.setData
(QModelIndex index, Object value, int role) boolean
QAbstractItemModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) boolean
QAbstractProxyModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) boolean
QConcatenateTablesProxyModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) boolean
QStringListModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) boolean
QTransposeProxyModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) QAbstractItemModel.sibling
(int row, int column, QModelIndex idx) QAbstractListModel.sibling
(int row, int column, QModelIndex idx) QAbstractProxyModel.sibling
(int row, int column, QModelIndex idx) QAbstractTableModel.sibling
(int row, int column, QModelIndex idx) QIdentityProxyModel.sibling
(int row, int column, QModelIndex idx) QSortFilterProxyModel.sibling
(int row, int column, QModelIndex idx) QStringListModel.sibling
(int row, int column, QModelIndex idx) QAbstractItemModel.span
(QModelIndex index) QAbstractProxyModel.span
(QModelIndex index) QConcatenateTablesProxyModel.span
(QModelIndex index) QSortFilterProxyModel.span
(QModelIndex index) QTransposeProxyModel.span
(QModelIndex index) Modifier and TypeMethodDescriptionprotected final void
QAbstractItemModel.changePersistentIndexList
(Collection<? extends QModelIndex> from, Collection<? extends QModelIndex> to) protected final void
QAbstractItemModel.encodeData
(Collection<? extends QModelIndex> indexes, QDataStream stream) SeeQAbstractItemModel::
encodeData(QModelIndexList, QDataStream&)const QAbstractItemModel.mimeData
(Collection<? extends QModelIndex> indexes) QAbstractProxyModel.mimeData
(Collection<? extends QModelIndex> indexes) QConcatenateTablesProxyModel.mimeData
(Collection<? extends QModelIndex> indexes) QSortFilterProxyModel.mimeData
(Collection<? extends QModelIndex> indexes) ModifierConstructorDescriptionQItemSelection
(QModelIndex topLeft, QModelIndex bottomRight) QItemSelectionRange
(QModelIndex index) QItemSelectionRange
(QModelIndex topL, QModelIndex bottomR) QPersistentModelIndex
(QModelIndex index) QVariant
(QModelIndex modelIndex) -
Uses of QModelIndex in io.qt.gui
Modifier and TypeMethodDescriptionQFileSystemModel.index
(int row, int column, QModelIndex parent) final QModelIndex
Overloaded function forQFileSystemModel.index(java.lang.String, int)
withcolumn = 0
.final QModelIndex
final QModelIndex
QStandardItem.index()
QStandardItemModel.index
(int row, int column, QModelIndex parent) final QModelIndex
QStandardItemModel.indexFromItem
(QStandardItem item) final QModelIndex
QFileSystemModel.mkdir
(QModelIndex parent, String name) QFileSystemModel.parent
(QModelIndex child) QStandardItemModel.parent
(QModelIndex child) final QModelIndex
QFileSystemModel.setRootPath
(String path) QFileSystemModel.sibling
(int row, int column, QModelIndex idx) Modifier and TypeMethodDescriptionboolean
QFileSystemModel.canFetchMore
(QModelIndex parent) boolean
QStandardItemModel.clearItemData
(QModelIndex index) int
QFileSystemModel.columnCount
(QModelIndex parent) int
QStandardItemModel.columnCount
(QModelIndex parent) QFileSystemModel.data
(QModelIndex index, int role) QStandardItemModel.data
(QModelIndex index, int role) boolean
QFileSystemModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) boolean
QStandardItemModel.dropMimeData
(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent) void
QFileSystemModel.fetchMore
(QModelIndex parent) final QIcon
QFileSystemModel.fileIcon
(QModelIndex index) final QFileInfo
QFileSystemModel.fileInfo
(QModelIndex index) final String
QFileSystemModel.fileName
(QModelIndex index) final String
QFileSystemModel.filePath
(QModelIndex index) QFileSystemModel.flags
(QModelIndex index) QStandardItemModel.flags
(QModelIndex index) boolean
QFileSystemModel.hasChildren
(QModelIndex parent) boolean
QStandardItemModel.hasChildren
(QModelIndex parent) QFileSystemModel.index
(int row, int column, QModelIndex parent) QStandardItemModel.index
(int row, int column, QModelIndex parent) boolean
QStandardItemModel.insertColumns
(int column, int count, QModelIndex parent) boolean
QStandardItemModel.insertRows
(int row, int count, QModelIndex parent) final boolean
QFileSystemModel.isDir
(QModelIndex index) QStandardItemModel.itemData
(QModelIndex index) final QStandardItem
QStandardItemModel.itemFromIndex
(QModelIndex index) final QDateTime
QFileSystemModel.lastModified
(QModelIndex index) final QModelIndex
QFileSystemModel.mkdir
(QModelIndex parent, String name) void
QStandardItemModel.multiData
(QModelIndex index, Map<Integer, Object> roleDataSpan) QFileSystemModel.parent
(QModelIndex child) QStandardItemModel.parent
(QModelIndex child) final QFileDevice.Permissions
QFileSystemModel.permissions
(QModelIndex index) final boolean
QFileSystemModel.remove
(QModelIndex index) boolean
QStandardItemModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QStandardItemModel.removeRows
(int row, int count, QModelIndex parent) final boolean
QFileSystemModel.rmdir
(QModelIndex index) int
QFileSystemModel.rowCount
(QModelIndex parent) int
QStandardItemModel.rowCount
(QModelIndex parent) boolean
QFileSystemModel.setData
(QModelIndex index, Object value, int role) boolean
QStandardItemModel.setData
(QModelIndex index, Object value, int role) boolean
QStandardItemModel.setItemData
(QModelIndex index, Map<@QtPrimitiveType Integer, ? extends Object> roles) QFileSystemModel.sibling
(int row, int column, QModelIndex idx) final long
QFileSystemModel.size
(QModelIndex index) final String
QFileSystemModel.type
(QModelIndex index) Modifier and TypeMethodDescriptionQFileSystemModel.mimeData
(Collection<? extends QModelIndex> indexes) QStandardItemModel.mimeData
(Collection<? extends QModelIndex> indexes) -
Uses of QModelIndex in io.qt.help
Modifier and TypeMethodDescriptionfinal QModelIndex
Overloaded function forQHelpIndexModel.filter(java.lang.String, java.lang.String)
withwildcard = (String)null
.final QModelIndex
QHelpContentModel.index
(int row, int column, QModelIndex parent) final QModelIndex
QHelpContentModel.parent
(QModelIndex index) Modifier and TypeMethodDescriptionint
QHelpContentModel.columnCount
(QModelIndex parent) final QHelpContentItem
QHelpContentModel.contentItemAt
(QModelIndex index) QHelpContentModel.data
(QModelIndex index, int role) QHelpContentModel.index
(int row, int column, QModelIndex parent) QHelpContentModel.parent
(QModelIndex index) int
QHelpContentModel.rowCount
(QModelIndex parent) -
Uses of QModelIndex in io.qt.keyboard
Modifier and TypeMethodDescriptionQVirtualKeyboardSelectionListModel.data
(QModelIndex index, int role) int
QVirtualKeyboardSelectionListModel.rowCount
(QModelIndex parent) -
Uses of QModelIndex in io.qt.pdf
Modifier and TypeMethodDescriptionQPdfBookmarkModel.index
(int row, int column, QModelIndex parent) QPdfBookmarkModel.parent
(QModelIndex index) Modifier and TypeMethodDescriptionint
QPdfBookmarkModel.columnCount
(QModelIndex parent) QPdfBookmarkModel.data
(QModelIndex index, int role) QPdfSearchModel.data
(QModelIndex index, int role) QPdfBookmarkModel.index
(int row, int column, QModelIndex parent) QPdfBookmarkModel.parent
(QModelIndex index) int
QPdfBookmarkModel.rowCount
(QModelIndex parent) int
QPdfSearchModel.rowCount
(QModelIndex parent) -
Uses of QModelIndex in io.qt.remoteobjects
Modifier and TypeMethodDescriptionQAbstractItemModelReplica.index
(int row, int column, QModelIndex parent) QAbstractItemModelReplica.parent
(QModelIndex index) Modifier and TypeMethodDescriptionint
QAbstractItemModelReplica.columnCount
(QModelIndex parent) final Object
QAbstractItemModelReplica.data
(QModelIndex index, int role) QAbstractItemModelReplica.flags
(QModelIndex index) boolean
QAbstractItemModelReplica.hasChildren
(QModelIndex parent) final boolean
QAbstractItemModelReplica.hasData
(QModelIndex index, int role) QAbstractItemModelReplica.index
(int row, int column, QModelIndex parent) void
QAbstractItemModelReplica.multiData
(QModelIndex index, Map<Integer, Object> roleDataSpan) QAbstractItemModelReplica.parent
(QModelIndex index) int
QAbstractItemModelReplica.rowCount
(QModelIndex parent) boolean
QAbstractItemModelReplica.setData
(QModelIndex index, Object value, int role) -
Uses of QModelIndex in io.qt.sql
Modifier and TypeMethodDescriptionprotected QModelIndex
QSqlQueryModel.indexInQuery
(QModelIndex item) protected QModelIndex
QSqlTableModel.indexInQuery
(QModelIndex item) Modifier and TypeMethodDescriptionprotected final void
QSqlQueryModel.beginInsertColumns
(QModelIndex parent, int first, int last) protected final void
QSqlQueryModel.beginInsertRows
(QModelIndex parent, int first, int last) protected final void
QSqlQueryModel.beginRemoveColumns
(QModelIndex parent, int first, int last) protected final void
QSqlQueryModel.beginRemoveRows
(QModelIndex parent, int first, int last) boolean
QSqlQueryModel.canFetchMore
(QModelIndex parent) boolean
QSqlTableModel.clearItemData
(QModelIndex index) int
QSqlQueryModel.columnCount
(QModelIndex parent) QSqlRelationalDelegate.createEditor
(QWidget parent, QStyleOptionViewItem option, QModelIndex index) QSqlQueryModel.data
(QModelIndex item, int role) QSqlRelationalTableModel.data
(QModelIndex item, int role) QSqlTableModel.data
(QModelIndex idx, int role) void
QSqlQueryModel.fetchMore
(QModelIndex parent) QSqlTableModel.flags
(QModelIndex index) protected QModelIndex
QSqlQueryModel.indexInQuery
(QModelIndex item) protected QModelIndex
QSqlTableModel.indexInQuery
(QModelIndex item) boolean
QSqlQueryModel.insertColumns
(int column, int count, QModelIndex parent) boolean
QSqlTableModel.insertRows
(int row, int count, QModelIndex parent) final boolean
QSqlTableModel.isDirty
(QModelIndex index) boolean
QSqlQueryModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QSqlRelationalTableModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QSqlTableModel.removeColumns
(int column, int count, QModelIndex parent) boolean
QSqlTableModel.removeRows
(int row, int count, QModelIndex parent) int
QSqlQueryModel.rowCount
(QModelIndex parent) int
QSqlTableModel.rowCount
(QModelIndex parent) boolean
QSqlRelationalTableModel.setData
(QModelIndex item, Object value, int role) boolean
QSqlTableModel.setData
(QModelIndex index, Object value, int role) void
QSqlRelationalDelegate.setEditorData
(QWidget editor, QModelIndex index) void
QSqlRelationalDelegate.setModelData
(QWidget editor, QAbstractItemModel model, QModelIndex index) -
Uses of QModelIndex in io.qt.webengine.core
Modifier and TypeMethodDescriptionQWebEngineHistoryModel.data
(QModelIndex index, int role) int
QWebEngineHistoryModel.rowCount
(QModelIndex parent) -
Uses of QModelIndex in io.qt.widgets
Modifier and TypeFieldDescriptionfinal QObject.Signal1<QModelIndex>
QAbstractItemView.activated
final QObject.Signal1<QModelIndex>
QAbstractItemView.clicked
final QObject.Signal1<QModelIndex>
QTreeView.collapsed
final QObject.Signal1<QModelIndex>
QAbstractItemView.doubleClicked
final QObject.Signal1<QModelIndex>
QAbstractItemView.entered
final QObject.Signal1<QModelIndex>
QTreeView.expanded
final QObject.Signal1<List<QModelIndex>>
QListView.indexesMoved
final QObject.Signal1<QModelIndex>
QAbstractItemView.pressed
final QObject.Signal1<QModelIndex>
QAbstractItemDelegate.sizeHintChanged
final QObject.Signal1<QModelIndex>
QColumnView.updatePreviewWidget
Modifier and TypeMethodDescriptionfinal QModelIndex
QAbstractItemView.currentIndex()
final QModelIndex
QCompleter.currentIndex()
final QModelIndex
QStyleOptionViewItem.getIndex()
Kotlin property getter.final QModelIndex
QStyleOptionViewItem.index()
final QModelIndex
QTreeView.indexAbove
(QModelIndex index) abstract QModelIndex
final QModelIndex
QTreeView.indexBelow
(QModelIndex index) final QModelIndex
QListWidget.indexFromItem
(QListWidgetItem item) final QModelIndex
QTableWidget.indexFromItem
(QTableWidgetItem item) final QModelIndex
QTreeWidget.indexFromItem
(QTreeWidgetItem item) Overloaded function forQTreeWidget.indexFromItem(io.qt.widgets.QTreeWidgetItem, int)
withcolumn = 0
.final QModelIndex
QTreeWidget.indexFromItem
(QTreeWidgetItem item, int column) protected final QModelIndex
QAbstractItemView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifier ... modifiers) protected abstract QModelIndex
QAbstractItemView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers) protected QModelIndex
QColumnView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers) protected QModelIndex
QHeaderView.moveCursor
(QAbstractItemView.CursorAction arg__1, Qt.KeyboardModifiers arg__2) protected QModelIndex
QListView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers) protected QModelIndex
QTableView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers) protected QModelIndex
QTreeView.moveCursor
(QAbstractItemView.CursorAction cursorAction, Qt.KeyboardModifiers modifiers) final QModelIndex
QAbstractItemView.rootIndex()
final QModelIndex
QDataWidgetMapper.rootIndex()
final QModelIndex
QComboBox.rootModelIndex()
Modifier and TypeMethodDescriptionprotected List<QModelIndex>
QAbstractItemView.selectedIndexes()
protected List<QModelIndex>
QListView.selectedIndexes()
protected List<QModelIndex>
QTableView.selectedIndexes()
protected List<QModelIndex>
QTreeView.selectedIndexes()
Modifier and TypeMethodDescriptionfinal void
QAbstractItemView.closePersistentEditor
(QModelIndex index) final void
QTreeView.collapse
(QModelIndex index) protected QAbstractItemView
QColumnView.createColumn
(QModelIndex rootIndex) QAbstractItemDelegate.createEditor
(QWidget parent, QStyleOptionViewItem option, QModelIndex index) QItemDelegate.createEditor
(QWidget parent, QStyleOptionViewItem option, QModelIndex index) QStyledItemDelegate.createEditor
(QWidget parent, QStyleOptionViewItem option, QModelIndex index) protected void
QAbstractItemView.currentChanged
(QModelIndex current, QModelIndex previous) protected void
QColumnView.currentChanged
(QModelIndex current, QModelIndex previous) protected void
QHeaderView.currentChanged
(QModelIndex current, QModelIndex old) protected void
QListView.currentChanged
(QModelIndex current, QModelIndex previous) protected void
QTableView.currentChanged
(QModelIndex current, QModelIndex previous) protected void
QTreeView.currentChanged
(QModelIndex current, QModelIndex previous) protected final void
QAbstractItemView.dataChanged
(QModelIndex topLeft, QModelIndex bottomRight) Overloaded function forQAbstractItemView.dataChanged(io.qt.core.QModelIndex, io.qt.core.QModelIndex, java.util.Collection)
withroles = java.util.Collections.emptyList()
.protected void
QAbstractItemView.dataChanged
(QModelIndex topLeft, QModelIndex bottomRight, Collection<@QtPrimitiveType Integer> roles) protected void
QHeaderView.dataChanged
(QModelIndex topLeft, QModelIndex bottomRight, Collection<@QtPrimitiveType Integer> roles) protected void
QListView.dataChanged
(QModelIndex topLeft, QModelIndex bottomRight, Collection<@QtPrimitiveType Integer> roles) protected void
QTreeView.dataChanged
(QModelIndex topLeft, QModelIndex bottomRight, Collection<@QtPrimitiveType Integer> roles) void
QAbstractItemDelegate.destroyEditor
(QWidget editor, QModelIndex index) protected final void
QItemDelegate.drawBackground
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) protected void
QTreeView.drawBranches
(QPainter painter, QRect rect, QModelIndex index) protected void
QTreeView.drawRow
(QPainter painter, QStyleOptionViewItem options, QModelIndex index) final void
QAbstractItemView.edit
(QModelIndex index) protected boolean
QAbstractItemView.edit
(QModelIndex index, QAbstractItemView.EditTrigger trigger, QEvent event) boolean
QAbstractItemDelegate.editorEvent
(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index) boolean
QItemDelegate.editorEvent
(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index) boolean
QStyledItemDelegate.editorEvent
(QEvent event, QAbstractItemModel model, QStyleOptionViewItem option, QModelIndex index) final void
QCompleter.MultiSignal_activated.emit
(QModelIndex index) final void
QCompleter.MultiSignal_highlighted.emit
(QModelIndex index) final void
QTreeView.expand
(QModelIndex index) final void
QTreeView.expandRecursively
(QModelIndex index) Overloaded function forQTreeView.expandRecursively(io.qt.core.QModelIndex, int)
withdepth = -1
.final void
QTreeView.expandRecursively
(QModelIndex index, int depth) boolean
QAbstractItemDelegate.helpEvent
(QHelpEvent event, QAbstractItemView view, QStyleOptionViewItem option, QModelIndex index) final QModelIndex
QTreeView.indexAbove
(QModelIndex index) final QModelIndex
QTreeView.indexBelow
(QModelIndex index) protected final int
QTreeView.indexRowSizeHint
(QModelIndex index) final QWidget
QAbstractItemView.indexWidget
(QModelIndex index) protected void
QStyledItemDelegate.initStyleOption
(QStyleOptionViewItem option, QModelIndex index) final boolean
QTreeView.isExpanded
(QModelIndex index) final boolean
QTreeView.isFirstColumnSpanned
(int row, QModelIndex parent) protected abstract boolean
QAbstractItemView.isIndexHidden
(QModelIndex index) protected boolean
QColumnView.isIndexHidden
(QModelIndex index) protected boolean
QHeaderView.isIndexHidden
(QModelIndex index) protected boolean
QListView.isIndexHidden
(QModelIndex index) protected boolean
QTableView.isIndexHidden
(QModelIndex index) protected boolean
QTreeView.isIndexHidden
(QModelIndex index) final boolean
QAbstractItemView.isPersistentEditorOpen
(QModelIndex index) final boolean
QTreeView.isRowHidden
(int row, QModelIndex parent) final QAbstractItemDelegate
QAbstractItemView.itemDelegate
(QModelIndex index) Deprecated.QAbstractItemView.itemDelegateForIndex
(QModelIndex index) final QListWidgetItem
QListWidget.itemFromIndex
(QModelIndex index) final QTableWidgetItem
QTableWidget.itemFromIndex
(QModelIndex index) final QTreeWidgetItem
QTreeWidget.itemFromIndex
(QModelIndex index) final void
QAbstractItemView.openPersistentEditor
(QModelIndex index) abstract void
QAbstractItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) void
QItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) void
QStyledItemDelegate.paint
(QPainter painter, QStyleOptionViewItem option, QModelIndex index) QCompleter.pathFromIndex
(QModelIndex index) protected final QRect
QItemDelegate.rect
(QStyleOptionViewItem option, QModelIndex index, int role) SeeQItemDelegate::
rect(QStyleOptionViewItem, QModelIndex, int)const protected final QRect
QListView.rectForIndex
(QModelIndex index) protected final int
QTreeView.rowHeight
(QModelIndex index) protected void
QAbstractItemView.rowsAboutToBeRemoved
(QModelIndex parent, int start, int end) protected void
QListView.rowsAboutToBeRemoved
(QModelIndex parent, int start, int end) protected void
QTreeView.rowsAboutToBeRemoved
(QModelIndex parent, int start, int end) protected void
QAbstractItemView.rowsInserted
(QModelIndex parent, int start, int end) protected void
QColumnView.rowsInserted
(QModelIndex parent, int start, int end) protected void
QHeaderView.rowsInserted
(QModelIndex parent, int start, int end) protected void
QListView.rowsInserted
(QModelIndex parent, int start, int end) protected void
QTreeView.rowsInserted
(QModelIndex parent, int start, int end) protected final void
QTreeView.rowsRemoved
(QModelIndex parent, int first, int last) final void
QAbstractItemView.scrollTo
(QModelIndex index) Overloaded function forQAbstractItemView.scrollTo(io.qt.core.QModelIndex, io.qt.widgets.QAbstractItemView.ScrollHint)
withhint = io.qt.widgets.QAbstractItemView.ScrollHint.EnsureVisible
.abstract void
QAbstractItemView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) void
QColumnView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) void
QHeaderView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) void
QListView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) void
QTableView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) void
QTreeView.scrollTo
(QModelIndex index, QAbstractItemView.ScrollHint hint) protected final void
QHeaderView.sectionsAboutToBeRemoved
(QModelIndex parent, int logicalFirst, int logicalLast) protected final void
QHeaderView.sectionsInserted
(QModelIndex parent, int logicalFirst, int logicalLast) protected final QItemSelectionModel.SelectionFlags
QAbstractItemView.selectionCommand
(QModelIndex index) Overloaded function forQAbstractItemView.selectionCommand(io.qt.core.QModelIndex, io.qt.core.QEvent)
withevent = null
.protected QItemSelectionModel.SelectionFlags
QAbstractItemView.selectionCommand
(QModelIndex index, QEvent event) final void
QAbstractItemView.setCurrentIndex
(QModelIndex index) final void
QDataWidgetMapper.setCurrentModelIndex
(QModelIndex index) void
QAbstractItemDelegate.setEditorData
(QWidget editor, QModelIndex index) void
QItemDelegate.setEditorData
(QWidget editor, QModelIndex index) void
QStyledItemDelegate.setEditorData
(QWidget editor, QModelIndex index) final void
QTreeView.setExpanded
(QModelIndex index, boolean expand) final void
QTreeView.setFirstColumnSpanned
(int row, QModelIndex parent, boolean span) final void
QStyleOptionViewItem.setIndex
(QModelIndex index) final void
QAbstractItemView.setIndexWidget
(QModelIndex index, QWidget widget) void
QAbstractItemDelegate.setModelData
(QWidget editor, QAbstractItemModel model, QModelIndex index) void
QItemDelegate.setModelData
(QWidget editor, QAbstractItemModel model, QModelIndex index) void
QStyledItemDelegate.setModelData
(QWidget editor, QAbstractItemModel model, QModelIndex index) protected final QStyleOptionViewItem
QItemDelegate.setOptions
(QModelIndex index, QStyleOptionViewItem option) SeeQItemDelegate::
setOptions(QModelIndex, QStyleOptionViewItem)const protected final void
QListView.setPositionForIndex
(QPoint position, QModelIndex index) void
QAbstractItemView.setRootIndex
(QModelIndex index) void
QColumnView.setRootIndex
(QModelIndex index) final void
QDataWidgetMapper.setRootIndex
(QModelIndex index) void
QListView.setRootIndex
(QModelIndex index) void
QTableView.setRootIndex
(QModelIndex index) void
QTreeView.setRootIndex
(QModelIndex index) final void
QComboBox.setRootModelIndex
(QModelIndex index) final void
QTreeView.setRowHidden
(int row, QModelIndex parent, boolean hide) abstract QSize
QAbstractItemDelegate.sizeHint
(QStyleOptionViewItem option, QModelIndex index) QItemDelegate.sizeHint
(QStyleOptionViewItem option, QModelIndex index) QStyledItemDelegate.sizeHint
(QStyleOptionViewItem option, QModelIndex index) final QSize
QAbstractItemView.sizeHintForIndex
(QModelIndex index) final void
QAbstractItemView.update
(QModelIndex index) void
QAbstractItemDelegate.updateEditorGeometry
(QWidget editor, QStyleOptionViewItem option, QModelIndex index) void
QItemDelegate.updateEditorGeometry
(QWidget editor, QStyleOptionViewItem option, QModelIndex index) void
QStyledItemDelegate.updateEditorGeometry
(QWidget editor, QStyleOptionViewItem option, QModelIndex index) abstract QRect
QAbstractItemView.visualRect
(QModelIndex index) QColumnView.visualRect
(QModelIndex index) QHeaderView.visualRect
(QModelIndex index) QListView.visualRect
(QModelIndex index) QTableView.visualRect
(QModelIndex index) QTreeView.visualRect
(QModelIndex index)
QAbstractItemView.itemDelegateForIndex(io.qt.core.QModelIndex)
instead