Uses of Class
io.qt.core.QModelIndex
Package | Description |
---|---|
io.qt.core | |
io.qt.gui | |
io.qt.help | |
io.qt.keyboard | |
io.qt.sql | |
io.qt.widgets |
-
Uses of QModelIndex in io.qt.core
Methods in io.qt.core that return QModelIndex Modifier and Type Method Description QModelIndex
QAbstractItemModel. buddy(QModelIndex index)
QModelIndex
QAbstractProxyModel. buddy(QModelIndex index)
QModelIndex
QSortFilterProxyModel. buddy(QModelIndex index)
QModelIndex
QModelIndex. child(int arow, int acolumn)
Queries the model for a child index of this index.QModelIndex
QModelIndex. clone()
protected QModelIndex
QAbstractItemModel. createIndex(int row, int column)
protected QModelIndex
QAbstractItemModel. createIndex(int row, int column, long id)
QModelIndex
QItemSelectionModel. currentIndex()
QModelIndex
QAbstractItemModel. index(int row, int column)
Overloaded function forQAbstractItemModel.index(int, int, io.qt.core.QModelIndex)
withparent = null
.abstract QModelIndex
QAbstractItemModel. index(int row, int column, QModelIndex parent)
QModelIndex
QAbstractListModel. index(int row, int column, QModelIndex parent)
QModelIndex
QAbstractTableModel. index(int row, int column, QModelIndex parent)
QModelIndex
QConcatenateTablesProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QIdentityProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QSortFilterProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QTransposeProxyModel. index(int row, int column, QModelIndex parent)
abstract QModelIndex
QAbstractProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QConcatenateTablesProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QIdentityProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QSortFilterProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QTransposeProxyModel. mapFromSource(QModelIndex sourceIndex)
abstract QModelIndex
QAbstractProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QConcatenateTablesProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QIdentityProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QSortFilterProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QTransposeProxyModel. mapToSource(QModelIndex proxyIndex)
abstract QModelIndex
QAbstractItemModel. parent(QModelIndex child)
QModelIndex
QAbstractListModel. parent(QModelIndex child)
Deprecated.QModelIndex
QAbstractTableModel. parent(QModelIndex child)
Deprecated.QModelIndex
QConcatenateTablesProxyModel. parent(QModelIndex index)
QModelIndex
QIdentityProxyModel. parent(QModelIndex child)
QModelIndex
QItemSelectionRange. parent()
QModelIndex
QModelIndex. parent()
Queries the model for the parent of this item.QModelIndex
QPersistentModelIndex. parent()
QModelIndex
QSortFilterProxyModel. parent(QModelIndex child)
QModelIndex
QTransposeProxyModel. parent(QModelIndex index)
QModelIndex
QAbstractItemModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractListModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractTableModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QIdentityProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QModelIndex. sibling(int arow, int acolumn)
Queries the model for a sibling of this model index.QModelIndex
QPersistentModelIndex. sibling(int row, int column)
QModelIndex
QSortFilterProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QStringListModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QModelIndex. siblingAtColumn(int column)
QModelIndex
QModelIndex. siblingAtRow(int row)
QModelIndex
QPersistentModelIndex. toIndex()
Methods in io.qt.core that return types with arguments of type QModelIndex Modifier and Type Method Description QList<QModelIndex>
QItemSelection. indexes()
QList<QModelIndex>
QItemSelectionRange. indexes()
List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value)
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)
.List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag... flags)
List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
List<QModelIndex>
QIdentityProxyModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
List<QModelIndex>
QSortFilterProxyModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
protected QList<QModelIndex>
QAbstractItemModel. persistentIndexList()
QList<QModelIndex>
QItemSelectionModel. selectedColumns()
Overloaded function forQItemSelectionModel.selectedColumns(int)
withrow = 0
.QList<QModelIndex>
QItemSelectionModel. selectedColumns(int row)
QList<QModelIndex>
QItemSelectionModel. selectedIndexes()
QList<QModelIndex>
QItemSelectionModel. selectedRows()
Overloaded function forQItemSelectionModel.selectedRows(int)
withcolumn = 0
.QList<QModelIndex>
QItemSelectionModel. selectedRows(int column)
Methods in io.qt.core with parameters of type QModelIndex Modifier and Type Method Description 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)
QModelIndex
QAbstractItemModel. buddy(QModelIndex index)
QModelIndex
QAbstractProxyModel. buddy(QModelIndex index)
QModelIndex
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 void
QAbstractItemModel. changePersistentIndex(QModelIndex from, QModelIndex to)
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)
.boolean
QAbstractItemModel. checkIndex(QModelIndex index, QAbstractItemModel.CheckIndexOption... options)
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)
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)
boolean
QItemSelectionModel. columnIntersectsSelection(int column, QModelIndex parent)
int
QModelIndex. compareTo(QModelIndex other)
boolean
QItemSelection. contains(QModelIndex index)
boolean
QItemSelectionRange. contains(int row, int column, QModelIndex parentIndex)
boolean
QItemSelectionRange. contains(QModelIndex index)
Object
QAbstractItemModel. data(QModelIndex index)
Overloaded function forQAbstractItemModel.data(io.qt.core.QModelIndex, int)
withrole = 0
.abstract Object
QAbstractItemModel. data(QModelIndex index, int role)
Object
QAbstractProxyModel. data(QModelIndex proxyIndex, int role)
Object
QConcatenateTablesProxyModel. data(QModelIndex index, int role)
Object
QSortFilterProxyModel. data(QModelIndex index, int role)
Object
QStringListModel. data(QModelIndex index, int role)
protected boolean
QAbstractItemModel. decodeData(int row, int column, QModelIndex parent, QDataStream stream)
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)
Qt.ItemFlags
QAbstractItemModel. flags(QModelIndex index)
Qt.ItemFlags
QAbstractListModel. flags(QModelIndex index)
Qt.ItemFlags
QAbstractProxyModel. flags(QModelIndex index)
Qt.ItemFlags
QAbstractTableModel. flags(QModelIndex index)
Qt.ItemFlags
QConcatenateTablesProxyModel. flags(QModelIndex index)
Qt.ItemFlags
QSortFilterProxyModel. flags(QModelIndex index)
Qt.ItemFlags
QStringListModel. flags(QModelIndex index)
boolean
QAbstractItemModel. hasChildren(QModelIndex parent)
boolean
QAbstractListModel. hasChildren(QModelIndex parent)
Deprecated.boolean
QAbstractProxyModel. hasChildren(QModelIndex parent)
boolean
QAbstractTableModel. hasChildren(QModelIndex parent)
Deprecated.boolean
QSortFilterProxyModel. hasChildren(QModelIndex parent)
boolean
QAbstractItemModel. hasIndex(int row, int column, QModelIndex parent)
abstract QModelIndex
QAbstractItemModel. index(int row, int column, QModelIndex parent)
QModelIndex
QAbstractListModel. index(int row, int column, QModelIndex parent)
QModelIndex
QAbstractTableModel. index(int row, int column, QModelIndex parent)
QModelIndex
QConcatenateTablesProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QIdentityProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QSortFilterProxyModel. index(int row, int column, QModelIndex parent)
QModelIndex
QTransposeProxyModel. index(int row, int column, QModelIndex parent)
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)
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)
boolean
QItemSelectionModel. isColumnSelected(int column, QModelIndex parent)
boolean
QItemSelectionModel. isRowSelected(int row, QModelIndex parent)
boolean
QItemSelectionModel. isSelected(QModelIndex index)
NavigableMap<Integer,Object>
QAbstractItemModel. itemData(QModelIndex index)
NavigableMap<Integer,Object>
QAbstractProxyModel. itemData(QModelIndex index)
NavigableMap<Integer,Object>
QConcatenateTablesProxyModel. itemData(QModelIndex proxyIndex)
NavigableMap<Integer,Object>
QStringListModel. itemData(QModelIndex index)
NavigableMap<Integer,Object>
QTransposeProxyModel. itemData(QModelIndex index)
protected boolean
QSortFilterProxyModel. lessThan(QModelIndex source_left, QModelIndex source_right)
abstract QModelIndex
QAbstractProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QConcatenateTablesProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QIdentityProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QSortFilterProxyModel. mapFromSource(QModelIndex sourceIndex)
QModelIndex
QTransposeProxyModel. mapFromSource(QModelIndex sourceIndex)
abstract QModelIndex
QAbstractProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QConcatenateTablesProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QIdentityProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QSortFilterProxyModel. mapToSource(QModelIndex proxyIndex)
QModelIndex
QTransposeProxyModel. mapToSource(QModelIndex proxyIndex)
List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value)
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)
.List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlag... flags)
List<QModelIndex>
QAbstractItemModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
List<QModelIndex>
QIdentityProxyModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
List<QModelIndex>
QSortFilterProxyModel. match(QModelIndex start, int role, Object value, int hits, Qt.MatchFlags flags)
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)
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)
QModelIndex
QAbstractListModel. parent(QModelIndex child)
Deprecated.QModelIndex
QAbstractTableModel. parent(QModelIndex child)
Deprecated.QModelIndex
QConcatenateTablesProxyModel. parent(QModelIndex index)
QModelIndex
QIdentityProxyModel. parent(QModelIndex child)
QModelIndex
QSortFilterProxyModel. parent(QModelIndex child)
QModelIndex
QTransposeProxyModel. parent(QModelIndex index)
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)
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)
boolean
QItemSelectionModel. rowIntersectsSelection(int row, QModelIndex parent)
void
QItemSelection. select(QModelIndex topLeft, QModelIndex bottomRight)
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)
void
QItemSelectionModel. setCurrentIndex(QModelIndex index, QItemSelectionModel.SelectionFlag... command)
void
QItemSelectionModel. setCurrentIndex(QModelIndex index, QItemSelectionModel.SelectionFlags command)
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<Integer,Object> roles)
boolean
QAbstractProxyModel. setItemData(QModelIndex index, Map<Integer,Object> roles)
boolean
QConcatenateTablesProxyModel. setItemData(QModelIndex index, Map<Integer,Object> roles)
boolean
QStringListModel. setItemData(QModelIndex index, Map<Integer,Object> roles)
boolean
QTransposeProxyModel. setItemData(QModelIndex index, Map<Integer,Object> roles)
QModelIndex
QAbstractItemModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractListModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QAbstractTableModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QIdentityProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QSortFilterProxyModel. sibling(int row, int column, QModelIndex idx)
QModelIndex
QStringListModel. sibling(int row, int column, QModelIndex idx)
QSize
QAbstractItemModel. span(QModelIndex index)
QSize
QAbstractProxyModel. span(QModelIndex index)
QSize
QConcatenateTablesProxyModel. span(QModelIndex index)
QSize
QSortFilterProxyModel. span(QModelIndex index)
QSize
QTransposeProxyModel. span(QModelIndex index)
Method parameters in io.qt.core with type arguments of type QModelIndex Modifier and Type Method Description protected void
QAbstractItemModel. changePersistentIndexList(Collection<QModelIndex> from, Collection<QModelIndex> to)
protected void
QAbstractItemModel. encodeData(Collection<QModelIndex> indexes, QDataStream stream)
QMimeData
QAbstractItemModel. mimeData(Collection<QModelIndex> indexes)
QMimeData
QAbstractProxyModel. mimeData(Collection<QModelIndex> indexes)
QMimeData
QConcatenateTablesProxyModel. mimeData(Collection<QModelIndex> indexes)
QMimeData
QSortFilterProxyModel. mimeData(Collection<QModelIndex> indexes)
Constructors in io.qt.core with parameters of type QModelIndex Constructor Description QItemSelection(QModelIndex topLeft, QModelIndex bottomRight)
QItemSelectionRange(QModelIndex index)
QItemSelectionRange(QModelIndex topL, QModelIndex bottomR)
QPersistentModelIndex(QModelIndex index)
-
Uses of QModelIndex in io.qt.gui
Methods in io.qt.gui that return QModelIndex Modifier and Type Method Description QModelIndex
QFileSystemModel. index(int row, int column, QModelIndex parent)
QModelIndex
QFileSystemModel. index(String path)
Overloaded function forQFileSystemModel.index(java.lang.String, int)
withcolumn = 0
.QModelIndex
QFileSystemModel. index(String path, int column)
QModelIndex
QStandardItem. index()
QModelIndex
QStandardItemModel. index(int row, int column, QModelIndex parent)
QModelIndex
QStandardItemModel. indexFromItem(QStandardItem item)
QModelIndex
QFileSystemModel. mkdir(QModelIndex parent, String name)
QModelIndex
QFileSystemModel. parent(QModelIndex child)
QModelIndex
QStandardItemModel. parent(QModelIndex child)
QModelIndex
QFileSystemModel. setRootPath(String path)
QModelIndex
QFileSystemModel. sibling(int row, int column, QModelIndex idx)
Methods in io.qt.gui with parameters of type QModelIndex Modifier and Type Method Description boolean
QFileSystemModel. canFetchMore(QModelIndex parent)
boolean
QStandardItemModel. clearItemData(QModelIndex index)
int
QFileSystemModel. columnCount(QModelIndex parent)
int
QStandardItemModel. columnCount(QModelIndex parent)
Object
QFileSystemModel. data(QModelIndex index, int role)
Object
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)
QIcon
QFileSystemModel. fileIcon(QModelIndex index)
QFileInfo
QFileSystemModel. fileInfo(QModelIndex index)
String
QFileSystemModel. fileName(QModelIndex index)
String
QFileSystemModel. filePath(QModelIndex index)
Qt.ItemFlags
QFileSystemModel. flags(QModelIndex index)
Qt.ItemFlags
QStandardItemModel. flags(QModelIndex index)
boolean
QFileSystemModel. hasChildren(QModelIndex parent)
boolean
QStandardItemModel. hasChildren(QModelIndex parent)
QModelIndex
QFileSystemModel. index(int row, int column, QModelIndex parent)
QModelIndex
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)
boolean
QFileSystemModel. isDir(QModelIndex index)
NavigableMap<Integer,Object>
QStandardItemModel. itemData(QModelIndex index)
QStandardItem
QStandardItemModel. itemFromIndex(QModelIndex index)
QDateTime
QFileSystemModel. lastModified(QModelIndex index)
QModelIndex
QFileSystemModel. mkdir(QModelIndex parent, String name)
void
QStandardItemModel. multiData(QModelIndex index, Map<Integer,Object> roleDataSpan)
QModelIndex
QFileSystemModel. parent(QModelIndex child)
QModelIndex
QStandardItemModel. parent(QModelIndex child)
QFileDevice.Permissions
QFileSystemModel. permissions(QModelIndex index)
boolean
QFileSystemModel. remove(QModelIndex index)
boolean
QStandardItemModel. removeColumns(int column, int count, QModelIndex parent)
boolean
QStandardItemModel. removeRows(int row, int count, QModelIndex parent)
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<Integer,Object> roles)
QModelIndex
QFileSystemModel. sibling(int row, int column, QModelIndex idx)
long
QFileSystemModel. size(QModelIndex index)
String
QFileSystemModel. type(QModelIndex index)
Method parameters in io.qt.gui with type arguments of type QModelIndex Modifier and Type Method Description QMimeData
QFileSystemModel. mimeData(Collection<QModelIndex> indexes)
QMimeData
QStandardItemModel. mimeData(Collection<QModelIndex> indexes)
-
Uses of QModelIndex in io.qt.help
Methods in io.qt.help that return QModelIndex Modifier and Type Method Description QModelIndex
QHelpIndexModel. filter(String filter)
Overloaded function forQHelpIndexModel.filter(java.lang.String, java.lang.String)
withwildcard = ""
.QModelIndex
QHelpIndexModel. filter(String filter, String wildcard)
QModelIndex
QHelpContentModel. index(int row, int column, QModelIndex parent)
QModelIndex
QHelpContentWidget. indexOf(QUrl link)
QModelIndex
QHelpContentModel. parent(QModelIndex index)
Methods in io.qt.help with parameters of type QModelIndex Modifier and Type Method Description int
QHelpContentModel. columnCount(QModelIndex parent)
QHelpContentItem
QHelpContentModel. contentItemAt(QModelIndex index)
Object
QHelpContentModel. data(QModelIndex index, int role)
QModelIndex
QHelpContentModel. index(int row, int column, QModelIndex parent)
QModelIndex
QHelpContentModel. parent(QModelIndex index)
int
QHelpContentModel. rowCount(QModelIndex parent)
-
Uses of QModelIndex in io.qt.keyboard
Methods in io.qt.keyboard with parameters of type QModelIndex Modifier and Type Method Description Object
QVirtualKeyboardSelectionListModel. data(QModelIndex index, int role)
int
QVirtualKeyboardSelectionListModel. rowCount(QModelIndex parent)
-
Uses of QModelIndex in io.qt.sql
Methods in io.qt.sql that return QModelIndex Modifier and Type Method Description protected QModelIndex
QSqlQueryModel. indexInQuery(QModelIndex item)
protected QModelIndex
QSqlTableModel. indexInQuery(QModelIndex item)
Methods in io.qt.sql with parameters of type QModelIndex Modifier and Type Method Description protected void
QSqlQueryModel. beginInsertColumns(QModelIndex parent, int first, int last)
protected void
QSqlQueryModel. beginInsertRows(QModelIndex parent, int first, int last)
protected void
QSqlQueryModel. beginRemoveColumns(QModelIndex parent, int first, int last)
protected void
QSqlQueryModel. beginRemoveRows(QModelIndex parent, int first, int last)
boolean
QSqlQueryModel. canFetchMore(QModelIndex parent)
boolean
QSqlTableModel. clearItemData(QModelIndex index)
int
QSqlQueryModel. columnCount(QModelIndex parent)
QWidget
QSqlRelationalDelegate. createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)
Object
QSqlQueryModel. data(QModelIndex item, int role)
Object
QSqlRelationalTableModel. data(QModelIndex item, int role)
Object
QSqlTableModel. data(QModelIndex idx, int role)
void
QSqlQueryModel. fetchMore(QModelIndex parent)
Qt.ItemFlags
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)
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.widgets
Fields in io.qt.widgets with type parameters of type QModelIndex Modifier and Type Field Description QObject.Signal1<QModelIndex>
QAbstractItemView. activated
QObject.Signal1<QModelIndex>
QAbstractItemView. clicked
QObject.Signal1<QModelIndex>
QTreeView. collapsed
QObject.Signal1<QModelIndex>
QAbstractItemView. doubleClicked
QObject.Signal1<QModelIndex>
QAbstractItemView. entered
QObject.Signal1<QModelIndex>
QTreeView. expanded
QObject.Signal1<List<QModelIndex>>
QListView. indexesMoved
QObject.Signal1<QModelIndex>
QAbstractItemView. pressed
QObject.Signal1<QModelIndex>
QAbstractItemDelegate. sizeHintChanged
QObject.Signal1<QModelIndex>
QColumnView. updatePreviewWidget
Methods in io.qt.widgets that return types with arguments of type QModelIndex Modifier and Type Method Description protected List<QModelIndex>
QAbstractItemView. selectedIndexes()
protected List<QModelIndex>
QListView. selectedIndexes()
protected List<QModelIndex>
QTableView. selectedIndexes()
protected List<QModelIndex>
QTreeView. selectedIndexes()
Methods in io.qt.widgets with parameters of type QModelIndex Modifier and Type Method Description void
QAbstractItemView. closePersistentEditor(QModelIndex index)
void
QTreeView. collapse(QModelIndex index)
protected QAbstractItemView
QColumnView. createColumn(QModelIndex rootIndex)
QWidget
QAbstractItemDelegate. createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)
QWidget
QItemDelegate. createEditor(QWidget parent, QStyleOptionViewItem option, QModelIndex index)
QWidget
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 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<Integer> roles)
protected void
QHeaderView. dataChanged(QModelIndex topLeft, QModelIndex bottomRight, Collection<Integer> roles)
protected void
QListView. dataChanged(QModelIndex topLeft, QModelIndex bottomRight, Collection<Integer> roles)
protected void
QTreeView. dataChanged(QModelIndex topLeft, QModelIndex bottomRight, Collection<Integer> roles)
void
QAbstractItemDelegate. destroyEditor(QWidget editor, QModelIndex index)
protected 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)
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)
void
QCompleter.MultiSignal_activated. emit(QModelIndex index)
void
QCompleter.MultiSignal_highlighted. emit(QModelIndex index)
void
QTreeView. expand(QModelIndex index)
void
QTreeView. expandRecursively(QModelIndex index)
Overloaded function forQTreeView.expandRecursively(io.qt.core.QModelIndex, int)
withdepth = -1
.void
QTreeView. expandRecursively(QModelIndex index, int depth)
boolean
QAbstractItemDelegate. helpEvent(QHelpEvent event, QAbstractItemView view, QStyleOptionViewItem option, QModelIndex index)
QModelIndex
QTreeView. indexAbove(QModelIndex index)
QModelIndex
QTreeView. indexBelow(QModelIndex index)
protected int
QTreeView. indexRowSizeHint(QModelIndex index)
QWidget
QAbstractItemView. indexWidget(QModelIndex index)
protected void
QStyledItemDelegate. initStyleOption(QStyleOptionViewItem option, QModelIndex index)
boolean
QTreeView. isExpanded(QModelIndex index)
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)
boolean
QAbstractItemView. isPersistentEditorOpen(QModelIndex index)
boolean
QTreeView. isRowHidden(int row, QModelIndex parent)
QAbstractItemDelegate
QAbstractItemView. itemDelegate(QModelIndex index)
Deprecated.QAbstractItemDelegate
QAbstractItemView. itemDelegateForIndex(QModelIndex index)
QListWidgetItem
QListWidget. itemFromIndex(QModelIndex index)
QTableWidgetItem
QTableWidget. itemFromIndex(QModelIndex index)
QTreeWidgetItem
QTreeWidget. itemFromIndex(QModelIndex index)
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)
String
QCompleter. pathFromIndex(QModelIndex index)
protected QRect
QItemDelegate. rect(QStyleOptionViewItem option, QModelIndex index, int role)
protected QRect
QListView. rectForIndex(QModelIndex index)
protected 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 void
QTreeView. rowsRemoved(QModelIndex parent, int first, int last)
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 void
QHeaderView. sectionsAboutToBeRemoved(QModelIndex parent, int logicalFirst, int logicalLast)
protected void
QHeaderView. sectionsInserted(QModelIndex parent, int logicalFirst, int logicalLast)
protected 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)
void
QAbstractItemView. setCurrentIndex(QModelIndex index)
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)
void
QTreeView. setExpanded(QModelIndex index, boolean expand)
void
QTreeView. setFirstColumnSpanned(int row, QModelIndex parent, boolean span)
void
QStyleOptionViewItem. setIndex(QModelIndex index)
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 QStyleOptionViewItem
QItemDelegate. setOptions(QModelIndex index, QStyleOptionViewItem option)
protected void
QListView. setPositionForIndex(QPoint position, QModelIndex index)
void
QAbstractItemView. setRootIndex(QModelIndex index)
void
QColumnView. setRootIndex(QModelIndex index)
void
QDataWidgetMapper. setRootIndex(QModelIndex index)
void
QListView. setRootIndex(QModelIndex index)
void
QTableView. setRootIndex(QModelIndex index)
void
QTreeView. setRootIndex(QModelIndex index)
void
QComboBox. setRootModelIndex(QModelIndex index)
void
QTreeView. setRowHidden(int row, QModelIndex parent, boolean hide)
abstract QSize
QAbstractItemDelegate. sizeHint(QStyleOptionViewItem option, QModelIndex index)
QSize
QItemDelegate. sizeHint(QStyleOptionViewItem option, QModelIndex index)
QSize
QStyledItemDelegate. sizeHint(QStyleOptionViewItem option, QModelIndex index)
QSize
QAbstractItemView. sizeHintForIndex(QModelIndex index)
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)
QRect
QColumnView. visualRect(QModelIndex index)
QRect
QHeaderView. visualRect(QModelIndex index)
QRect
QListView. visualRect(QModelIndex index)
QRect
QTableView. visualRect(QModelIndex index)
QRect
QTreeView. visualRect(QModelIndex index)