QTableWidgetSelectionRange¶
The QTableWidgetSelectionRange
class provides a way to interact with selection in a model without using model indexes and a selection model. More…

Synopsis¶
Functions¶
def
bottomRow
()def
columnCount
()def
leftColumn
()def
rightColumn
()def
rowCount
()def
topRow
()
Detailed Description¶
The QTableWidgetSelectionRange
class stores the top left and bottom right rows and columns of a selection range in a table. The selections in the table may consist of several selection ranges.
Note
If the item within the selection range is marked as not selectable, e.g., itemFlags() & Qt::ItemIsSelectable == 0
then it will not appear in the selection range.
See also
-
class
PySide6.QtWidgets.
QTableWidgetSelectionRange
¶ PySide6.QtWidgets.QTableWidgetSelectionRange(QTableWidgetSelectionRange)
PySide6.QtWidgets.QTableWidgetSelectionRange(top, left, bottom, right)
- Parameters
left – int
right – int
bottom – int
top – int
QTableWidgetSelectionRange –
PySide6.QtWidgets.QTableWidgetSelectionRange
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
bottomRow
()¶ - Return type
int
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
columnCount
()¶ - Return type
int
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
leftColumn
()¶ - Return type
int
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
rightColumn
()¶ - Return type
int
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
rowCount
()¶ - Return type
int
-
PySide6.QtWidgets.QTableWidgetSelectionRange.
topRow
()¶ - Return type
int
© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.