java.lang.Object
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QItemSelectionRange>
,Collection<QItemSelectionRange>
,List<QItemSelectionRange>
Manages information about selected items in a model
Java wrapper for Qt class QList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQItemSelection
(QItemSelectionRange... arg__1) QItemSelection
(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, capacity, clear, contains, count, count, createVariantList, end, endsWith, equals, fill, fill, first, get, indexOf, indexOf, insert, insert, isEmpty, last, lastIndexOf, lastIndexOf, length, mid, mid, move, of, of, prepend, readFrom, remove, remove, removeAll, removeAt, removeAtIndex, removeFirst, removeLast, removeOne, replace, reserve, resize, set, size, squeeze, startsWith, swapItemsAt, takeAt, takeFirst, takeLast, toString, value, value, writeTo
Methods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
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
-
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>
-