PythonQt.QtGui.QItemSelection · declarations 001
Back to PythonQt.QtGui.QItemSelection
append
append(t: Any) -> None
X.append(t)
Upstream PySide2 reference signatures (binding differences may apply):
append(self, t: PySide2.QtCore.QItemSelectionRange) -> None
append(self, t: typing.Sequence[PySide2.QtCore.QItemSelectionRange]) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#append
at
at(i: int) -> Any
X.at(i) -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
at(self, i: int) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#at
back
back() -> Any
X.back() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
back(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#back
clear
clear() -> None
X.clear()
Upstream PySide2 reference signatures (binding differences may apply):
clear(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#clear
constFirst
constFirst() -> Any
X.constFirst() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
constFirst(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#constFirst
constLast
constLast() -> Any
X.constLast() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
constLast(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#constLast
contains
contains(index: Any) -> bool
X.contains(index) -> bool
Supplemental documentation: Qt 5 reference:
bool QItemSelection::contains(const QModelIndex \&index) const
Returns true if the selection contains the given index; otherwise returns false.
Upstream PySide2 reference signatures (binding differences may apply):
contains(self, index: PySide2.QtCore.QModelIndex) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#contains
count
count(t: Any) -> int
X.count(t) -> int
Upstream PySide2 reference signatures (binding differences may apply):
count(self) -> int
count(self, t: PySide2.QtCore.QItemSelectionRange) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#count
detachShared
detachShared() -> None
X.detachShared()
Upstream PySide2 reference signatures (binding differences may apply):
detachShared(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#detachShared
empty
empty() -> bool
X.empty() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
empty(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#empty
endsWith
endsWith(t: Any) -> bool
X.endsWith(t) -> bool
Upstream PySide2 reference signatures (binding differences may apply):
endsWith(self, t: PySide2.QtCore.QItemSelectionRange) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#endsWith
first
first() -> Any
X.first() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
first(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#first
fromVector
fromVector(vector: Any) -> tuple
X.fromVector(vector) -> tuple
Upstream PySide2 reference signatures (binding differences may apply):
fromVector(vector: typing.List[PySide2.QtCore.QItemSelectionRange]) -> typing.List[PySide2.QtCore.QItemSelectionRange]
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#fromVector
front
front() -> Any
X.front() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
front(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#front
indexOf
indexOf(*args: Any, **kwargs: Any) -> int
X.indexOf(t, from) -> int
Upstream PySide2 reference signatures (binding differences may apply):
indexOf(self, t: PySide2.QtCore.QItemSelectionRange, from_: int=...) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#indexOf
indexes
indexes() -> tuple
X.indexes() -> tuple
Supplemental documentation: Qt 5 reference:
QModelIndexList QItemSelection::indexes() const
Returns a list of model indexes that correspond to the selected items.
Upstream PySide2 reference signatures (binding differences may apply):
indexes(self) -> typing.List[int]
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#indexes
isEmpty
isEmpty() -> bool
X.isEmpty() -> bool
Upstream PySide2 reference signatures (binding differences may apply):
isEmpty(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#isEmpty
isSharedWith
isSharedWith(other: Any) -> bool
X.isSharedWith(other) -> bool
Upstream PySide2 reference signatures (binding differences may apply):
isSharedWith(self, other: typing.Sequence[PySide2.QtCore.QItemSelectionRange]) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#isSharedWith
last
last() -> Any
X.last() -> PythonQt.QtGui.QItemSelectionRange
Upstream PySide2 reference signatures (binding differences may apply):
last(self) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#last
lastIndexOf
lastIndexOf(*args: Any, **kwargs: Any) -> int
X.lastIndexOf(t, from) -> int
Upstream PySide2 reference signatures (binding differences may apply):
lastIndexOf(self, t: PySide2.QtCore.QItemSelectionRange, from_: int=...) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#lastIndexOf
length
length() -> int
X.length() -> int
Upstream PySide2 reference signatures (binding differences may apply):
length(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#length
merge
merge(other: Any, command: Any) -> None
X.merge(other, command)
Supplemental documentation: Qt 5 reference:
void QItemSelection::merge(const QItemSelection \&other, QItemSelectionModel::SelectionFlags command)
Merges the other selection with this QItemSelection using the command given. This method guarantees that no ranges are overlapping.
Note that only QItemSelectionModel::Select, QItemSelectionModel::Deselect, and QItemSelectionModel::Toggle are supported.
See also split().
Upstream PySide2 reference signatures (binding differences may apply):
merge(self, other: PySide2.QtCore.QItemSelection, command: PySide2.QtCore.QItemSelectionModel.SelectionFlags) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#merge
mid
mid(pos: int, length: int) -> tuple
X.mid(pos, length) -> tuple
Upstream PySide2 reference signatures (binding differences may apply):
mid(self, pos: int, length: int=...) -> typing.List[PySide2.QtCore.QItemSelectionRange]
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#mid
move
move(*args: Any, **kwargs: Any) -> None
X.move(from, to)
Upstream PySide2 reference signatures (binding differences may apply):
move(self, from_: int, to: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#move
pop_back
pop_back() -> None
X.pop_back()
Upstream PySide2 reference signatures (binding differences may apply):
pop_back(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#pop_back
pop_front
pop_front() -> None
X.pop_front()
Upstream PySide2 reference signatures (binding differences may apply):
pop_front(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#pop_front
prepend
prepend(t: Any) -> None
X.prepend(t)
Upstream PySide2 reference signatures (binding differences may apply):
prepend(self, t: PySide2.QtCore.QItemSelectionRange) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#prepend
push_back
push_back(t: Any) -> None
X.push_back(t)
Upstream PySide2 reference signatures (binding differences may apply):
push_back(self, t: PySide2.QtCore.QItemSelectionRange) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#push_back
push_front
push_front(t: Any) -> None
X.push_front(t)
Upstream PySide2 reference signatures (binding differences may apply):
push_front(self, t: PySide2.QtCore.QItemSelectionRange) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#push_front
removeAll
removeAll(t: Any) -> int
X.removeAll(t) -> int
Upstream PySide2 reference signatures (binding differences may apply):
removeAll(self, t: PySide2.QtCore.QItemSelectionRange) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#removeAll
removeAt
removeAt(i: int) -> None
X.removeAt(i)
Upstream PySide2 reference signatures (binding differences may apply):
removeAt(self, i: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#removeAt
removeFirst
removeFirst() -> None
X.removeFirst()
Upstream PySide2 reference signatures (binding differences may apply):
removeFirst(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#removeFirst
removeLast
removeLast() -> None
X.removeLast()
Upstream PySide2 reference signatures (binding differences may apply):
removeLast(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#removeLast
removeOne
removeOne(t: Any) -> bool
X.removeOne(t) -> bool
Upstream PySide2 reference signatures (binding differences may apply):
removeOne(self, t: PySide2.QtCore.QItemSelectionRange) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#removeOne
replace
replace(i: int, t: Any) -> None
X.replace(i, t)
Upstream PySide2 reference signatures (binding differences may apply):
replace(self, i: int, t: PySide2.QtCore.QItemSelectionRange) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#replace
reserve
reserve(size: int) -> None
X.reserve(size)
Upstream PySide2 reference signatures (binding differences may apply):
reserve(self, size: int) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#reserve
select
select(topLeft: Any, bottomRight: Any) -> None
X.select(topLeft, bottomRight)
Supplemental documentation: Qt 5 reference:
void QItemSelection::select(const QModelIndex \&topLeft, const QModelIndex \&bottomRight)
Adds the items in the range that extends from the top-left model item, specified by the topLeft index, to the bottom-right item, specified by bottomRight to the list.
Note: topLeft and bottomRight must have the same parent.
Upstream PySide2 reference signatures (binding differences may apply):
select(self, topLeft: PySide2.QtCore.QModelIndex, bottomRight: PySide2.QtCore.QModelIndex) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#select
setSharable
setSharable(sharable: bool) -> None
X.setSharable(sharable)
Upstream PySide2 reference signatures (binding differences may apply):
setSharable(self, sharable: bool) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#setSharable
size
size() -> int
X.size() -> int
Upstream PySide2 reference signatures (binding differences may apply):
size(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#size
split
split(range: Any, other: Any, result: Any) -> None
X.split(range, other, result)
Supplemental documentation: Qt 5 reference:
[static] void QItemSelection::split(const QItemSelectionRange \&range, const QItemSelectionRange \&other, QItemSelection *result)
Splits the selection range using the selection other range. Removes all items in other from range and puts the result in result. This can be compared with the semantics of the subtract operation of a set.
See also merge().
Upstream PySide2 reference signatures (binding differences may apply):
split(range: PySide2.QtCore.QItemSelectionRange, other: PySide2.QtCore.QItemSelectionRange, result: PySide2.QtCore.QItemSelection) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselection.html#split