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's class QList
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionQItemSelection(QItemSelectionRange... arg__1) QItemSelection(QModelIndex topLeft, QModelIndex bottomRight) protectedConstructor for internal use only.QItemSelection(Collection<? extends QItemSelectionRange> other) -
Method Summary
Modifier and TypeMethodDescriptionclone()final booleancontains(QModelIndex index) inthashCode()final QList<QModelIndex>indexes()final voidmerge(QItemSelection other, QItemSelectionModel.SelectionFlag... command) Overloaded function formerge(io.qt.core.QItemSelection, io.qt.core.QItemSelectionModel.SelectionFlags).final voidmerge(QItemSelection other, QItemSelectionModel.SelectionFlags command) final voidselect(QModelIndex topLeft, QModelIndex bottomRight) static QItemSelectionsplit(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, writeToMethods inherited from class io.qt.internal.QtJambiListObject
addAll, addAll, listIterator, listIterator, remove, retainAll, subListMethods inherited from class io.qt.internal.QtJambiCollectionObject
containsAll, descendingIterator, iterator, removeAll, toArray, toArrayMethods inherited from class io.qt.QtObject
dispose, isDisposedMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods 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:
hashCodein interfaceCollection<QItemSelectionRange>- Specified by:
hashCodein interfaceList<QItemSelectionRange>- Overrides:
hashCodein classQList<QItemSelectionRange>
-
clone
- Overrides:
clonein classQList<QItemSelectionRange>
-