PythonQt.QtGui.QItemSelectionRange · declarations 001
Back to PythonQt.QtGui.QItemSelectionRange
bottom
bottom() -> int
X.bottom() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::bottom() const
Returns the row index corresponding to the lowermost selected row in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
bottom(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#bottom
bottomRight
bottomRight() -> Any
X.bottomRight() -> PythonQt.QtCore.QPersistentModelIndex
Supplemental documentation: Qt 5 reference:
const QPersistentModelIndex \&QItemSelectionRange::bottomRight() const
Returns the index for the item located at the bottom-right corner of the selection range.
See also bottom(), right(), and topLeft().
Upstream PySide2 reference signatures (binding differences may apply):
bottomRight(self) -> PySide2.QtCore.QPersistentModelIndex
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#bottomRight
contains
contains(row: Any, column: Any, parentIndex: Any) -> bool
X.contains(row, column, parentIndex) -> bool
Supplemental documentation: Qt 5 reference:
bool QItemSelectionRange::contains(const QModelIndex \&index) const
Returns true if the model item specified by the index lies within the range of
selected items; otherwise returns false.
bool QItemSelectionRange::contains(int row, int column, const QModelIndex \&parentIndex) const
This is an overloaded function.
Returns true if the model item specified by (row, column) and with parentIndex
as the parent item lies within the range of selected items; otherwise returns false.
Upstream PySide2 reference signatures (binding differences may apply):
contains(self, index: PySide2.QtCore.QModelIndex) -> bool
contains(self, row: int, column: int, parentIndex: PySide2.QtCore.QModelIndex) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#contains
height
height() -> int
X.height() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::height() const
Returns the number of selected rows in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
height(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#height
indexes
indexes() -> tuple
X.indexes() -> tuple
Supplemental documentation: Qt 5 reference:
QModelIndexList QItemSelectionRange::indexes() const
Returns the list of model index items stored in the selection.
Upstream PySide2 reference signatures (binding differences may apply):
indexes(self) -> typing.List[int]
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#indexes
intersected
intersected(other: Any) -> Any
X.intersected(other) -> PythonQt.QtGui.QItemSelectionRange
Supplemental documentation: Qt 5 reference:
QItemSelectionRange QItemSelectionRange::intersected(const QItemSelectionRange \&other) const
Returns a new selection range containing only the items that are found in both the selection range and the other selection range.
This function was introduced in Qt 4.2.
Upstream PySide2 reference signatures (binding differences may apply):
intersected(self, other: PySide2.QtCore.QItemSelectionRange) -> PySide2.QtCore.QItemSelectionRange
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#intersected
intersects
intersects(other: Any) -> bool
X.intersects(other) -> bool
Supplemental documentation: Qt 5 reference:
bool QItemSelectionRange::intersects(const QItemSelectionRange \&other) const
Returns true if this selection range intersects (overlaps with) the other range
given; otherwise returns false.
Upstream PySide2 reference signatures (binding differences may apply):
intersects(self, other: PySide2.QtCore.QItemSelectionRange) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#intersects
isEmpty
isEmpty() -> bool
X.isEmpty() -> bool
Supplemental documentation: Qt 5 reference:
bool QItemSelectionRange::isEmpty() const
Returns true if the selection range contains no selectable item
This function was introduced in Qt 4.7.
Upstream PySide2 reference signatures (binding differences may apply):
isEmpty(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#isEmpty
isValid
isValid() -> bool
X.isValid() -> bool
Supplemental documentation: Qt 5 reference:
bool QItemSelectionRange::isValid() const
Returns true if the selection range is valid; otherwise returns false.
Upstream PySide2 reference signatures (binding differences may apply):
isValid(self) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#isValid
left
left() -> int
X.left() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::left() const
Returns the column index corresponding to the leftmost selected column in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
left(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#left
model
model() -> Any
X.model() -> PythonQt.QtCore.QAbstractItemModel
Supplemental documentation: Qt 5 reference:
const QAbstractItemModel *QItemSelectionRange::model() const
Returns the model that the items in the selection range belong to.
Upstream PySide2 reference signatures (binding differences may apply):
model(self) -> PySide2.QtCore.QAbstractItemModel
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#model
operator_assign
operator_assign(other: Any) -> Any
X.operator_assign(other) -> PythonQt.QtGui.QItemSelectionRange
parent
parent() -> Any
X.parent() -> PythonQt.QtCore.QModelIndex
Supplemental documentation: Qt 5 reference:
QModelIndex QItemSelectionRange::parent() const
Returns the parent model item index of the items in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
parent(self) -> PySide2.QtCore.QModelIndex
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#parent
right
right() -> int
X.right() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::right() const
Returns the column index corresponding to the rightmost selected column in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
right(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#right
swap
swap(other: Any) -> None
X.swap(other)
Supplemental documentation: Qt 5 reference:
void QItemSelectionRange::swap(QItemSelectionRange \&other)
Swaps this selection range's contents with other. This function is very fast and never fails.
This function was introduced in Qt 5.6.
Upstream PySide2 reference signatures (binding differences may apply):
swap(self, other: PySide2.QtCore.QItemSelectionRange) -> None
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#swap
top
top() -> int
X.top() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::top() const
Returns the row index corresponding to the uppermost selected row in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
top(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#top
topLeft
topLeft() -> Any
X.topLeft() -> PythonQt.QtCore.QPersistentModelIndex
Supplemental documentation: Qt 5 reference:
const QPersistentModelIndex \&QItemSelectionRange::topLeft() const
Returns the index for the item located at the top-left corner of the selection range.
See also top(), left(), and bottomRight().
Upstream PySide2 reference signatures (binding differences may apply):
topLeft(self) -> PySide2.QtCore.QPersistentModelIndex
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#topLeft
width
width() -> int
X.width() -> int
Supplemental documentation: Qt 5 reference:
int QItemSelectionRange::width() const
Returns the number of selected columns in the selection range.
Upstream PySide2 reference signatures (binding differences may apply):
width(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qitemselectionrange.html#width