- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Iterable<QItemSelectionRange>
,Collection<QItemSelectionRange>
,List<QItemSelectionRange>
public class QItemSelection extends QtJambiListObject<QItemSelectionRange> implements Cloneable
Manages information about selected items in a model
Java wrapper for Qt class QItemSelection
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QItemSelection()
QItemSelection(QModelIndex topLeft, QModelIndex bottomRight)
protected
QItemSelection(QtObject.QPrivateConstructor p)
Constructor for internal use only.QItemSelection(Collection<QItemSelectionRange> collection)
-
Method Summary
Methods inherited from class io.qt.internal.QtJambiAbstractListObject
addAll, addAll, listIterator, listIterator, remove, subList
Methods inherited from class io.qt.internal.QtJambiCollectionObject
castElement, checkElement, containsAll, iterator, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.List
containsAll, iterator, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Constructor Details
-
QItemSelection
public QItemSelection() -
QItemSelection
-
QItemSelection
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QItemSelection
-
-
Method Details
-
append
-
append
- Specified by:
append
in classQtJambiAbstractListObject<QItemSelectionRange>
-
at
-
begin
- Specified by:
begin
in classQtJambiCollectionObject<QItemSelectionRange>
-
clear
- Specified by:
clear
in interfaceCollection<QItemSelectionRange>
- Specified by:
clear
in interfaceList<QItemSelectionRange>
-
contains
-
contains
-
count
-
count
-
detach
-
detachShared
-
end
- Specified by:
end
in classQtJambiCollectionObject<QItemSelectionRange>
-
endsWith
-
first
-
indexOf
Overloaded function for
indexOf(io.qt.core.QItemSelectionRange, int)
withfrom = 0
. -
indexOf
-
indexes
-
insert
-
isDetached
-
isEmpty
- Specified by:
isEmpty
in interfaceCollection<QItemSelectionRange>
- Specified by:
isEmpty
in interfaceList<QItemSelectionRange>
-
isSharedWith
-
last
-
lastIndexOf
Overloaded function for
lastIndexOf(io.qt.core.QItemSelectionRange, int)
withfrom = -1
. -
lastIndexOf
-
length
-
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) -
mid
Overloaded function for
mid(int, int)
withlength = -1
. -
mid
-
move
-
prepend
-
removeAll
-
removeAt
- Specified by:
removeAt
in classQtJambiAbstractListObject<QItemSelectionRange>
-
removeFirst
-
removeLast
-
removeOne
-
replace
-
reserve
-
select
-
setSharable
-
size
- Specified by:
size
in interfaceCollection<QItemSelectionRange>
- Specified by:
size
in interfaceList<QItemSelectionRange>
-
startsWith
-
swap
Deprecated.Use QList<T>::swapItemsAt() -
swapItemsAt
-
takeAt
-
takeFirst
-
takeLast
-
toSet
Deprecated.Use QSet<T>(list.begin(), list.end()) instead. -
value
-
value
-
split
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation.- Specified by:
equals
in interfaceCollection<QItemSelectionRange>
- Specified by:
equals
in interfaceList<QItemSelectionRange>
- Overrides:
equals
in classQtObject
- Parameters:
other
- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceCollection<QItemSelectionRange>
- Specified by:
hashCode
in interfaceList<QItemSelectionRange>
- Overrides:
hashCode
in classObject
-
clone
-
add
- Specified by:
add
in interfaceCollection<QItemSelectionRange>
- Specified by:
add
in interfaceList<QItemSelectionRange>
-
add
- Specified by:
add
in interfaceList<QItemSelectionRange>
-
set
- Specified by:
set
in interfaceList<QItemSelectionRange>
-
remove
- Specified by:
remove
in interfaceCollection<QItemSelectionRange>
- Specified by:
remove
in interfaceList<QItemSelectionRange>
-
indexOf
- Specified by:
indexOf
in interfaceList<QItemSelectionRange>
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList<QItemSelectionRange>
-
get
- Specified by:
get
in interfaceList<QItemSelectionRange>
-
contains
- Specified by:
contains
in interfaceCollection<QItemSelectionRange>
- Specified by:
contains
in interfaceList<QItemSelectionRange>
-