- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QItemSelectionRange>
,Collection<QItemSelectionRange>
,List<QItemSelectionRange>
Manages information about selected items in a model
Java wrapper for Qt's class QList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQItemSelection
(QModelIndex topLeft, QModelIndex bottomRight) protected
Constructor for internal use only.QItemSelection
(Collection<? extends QItemSelectionRange> other) -
Method Summary
Modifier and TypeMethodDescriptionclone()
final boolean
contains
(QModelIndex index) int
hashCode()
final QList<QModelIndex>
indexes()
final void
merge
(QItemSelection other, QItemSelectionModel.SelectionFlag... command) Overloaded function formerge(io.qt.core.QItemSelection, io.qt.core.QItemSelectionModel.SelectionFlags)
.final void
merge
(QItemSelection other, QItemSelectionModel.SelectionFlags command) final void
select
(QModelIndex topLeft, QModelIndex bottomRight) static QItemSelection
split
(QItemSelectionRange range, QItemSelectionRange other) Methods inherited from class io.qt.core.QList
add, add, append, append, at, begin, clear, constBegin, constEnd, contains, count, count, createVariantList, end, endsWith, equals, first, get, indexOf, indexOf, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, of, prepend, readFrom, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, set, size, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, toSet, toString, value, value, writeTo
Methods inherited from class io.qt.internal.AbstractList
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.AbstractSequentialContainer
containsAll, descendingIterator, iterator, removeAll, toArray, toArray
Methods inherited from class io.qt.QtObject
dispose, isDisposed
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QItemSelection
public QItemSelection() -
QItemSelection
-
QItemSelection
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QItemSelection
-
-
Method Details
-
contains
-
indexes
-
merge
@QtUninvokable public final void merge(QItemSelection other, QItemSelectionModel.SelectionFlag... command) Overloaded function for
merge(io.qt.core.QItemSelection, io.qt.core.QItemSelectionModel.SelectionFlags)
. -
merge
@QtUninvokable public final void merge(QItemSelection other, QItemSelectionModel.SelectionFlags command) -
select
-
split
-
hashCode
- Specified by:
hashCode
in interfaceCollection<QItemSelectionRange>
- Specified by:
hashCode
in interfaceList<QItemSelectionRange>
- Overrides:
hashCode
in classQList<QItemSelectionRange>
-
clone
- Overrides:
clone
in classQList<QItemSelectionRange>
-