PythonQt.QtGui.QTableWidget · declarations 001
Back to PythonQt.QtGui.QTableWidget
activated
activated(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.activated; argument details are not documented.
cellActivated
cellActivated(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellActivated; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellActivated(int row, int column)
This signal is emitted when the cell specified by row and column has been activated
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellActivated
cellChanged
cellChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellChanged(int row, int column)
This signal is emitted whenever the data of the item in the cell specified by row and column has changed.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellChanged
cellClicked
cellClicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellClicked; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellClicked(int row, int column)
This signal is emitted whenever a cell in the table is clicked. The row and column specified is the cell that was clicked.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellClicked
cellDoubleClicked
cellDoubleClicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellDoubleClicked; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellDoubleClicked(int row, int column)
This signal is emitted whenever a cell in the table is double clicked. The row and column specified is the cell that was double clicked.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellDoubleClicked
cellEntered
cellEntered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellEntered; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellEntered(int row, int column)
This signal is emitted when the mouse cursor enters a cell. The cell is specified by row and column.
This signal is only emitted when mouseTracking is turned on, or when a mouse button is pressed while moving into an item.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellEntered
cellPressed
cellPressed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.cellPressed; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::cellPressed(int row, int column)
This signal is emitted whenever a cell in the table is pressed. The row and column specified is the cell that was pressed.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellPressed
cellWidget
cellWidget(row: int, column: int) -> Any
X.cellWidget(row, column) -> PythonQt.QtGui.QWidget
Supplemental documentation: Qt 5 reference:
QWidget *QTableWidget::cellWidget(int row, int column) const
Returns the widget displayed in the cell in the given row and column.
Note: The table takes ownership of the widget.
This function was introduced in Qt 4.1.
See also setCellWidget().
Upstream PySide2 reference signatures (binding differences may apply):
cellWidget(self, row: int, column: int) -> PySide2.QtWidgets.QWidget
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#cellWidget
clear
clear() -> None
X.clear()
Supplemental documentation: Qt 5 reference:
[slot] void QTableWidget::clear()
Removes all items in the view. This will also remove all selections and headers. If you don't want to remove the headers, use QTableWidget::clearContents(). The table dimensions stay the same.
Upstream PySide2 reference signatures (binding differences may apply):
clear(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#clear
clearContents
clearContents() -> None
X.clearContents()
Supplemental documentation: Qt 5 reference:
[slot] void QTableWidget::clearContents()
Removes all items not in the headers from the view. This will also remove all selections. The table dimensions stay the same.
This function was introduced in Qt 4.2.
Upstream PySide2 reference signatures (binding differences may apply):
clearContents(self) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#clearContents
clearSpans
clearSpans() -> Any
X.clearSpans()
clicked
clicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.clicked; argument details are not documented.
closePersistentEditor
closePersistentEditor(item: Any) -> None
X.closePersistentEditor(item)
Supplemental documentation: Qt 5 reference:
void QTableWidget::closePersistentEditor(QTableWidgetItem *item)
Closes the persistent editor for item.
See also openPersistentEditor() and isPersistentEditorOpen().
Upstream PySide2 reference signatures (binding differences may apply):
closePersistentEditor(self, index: PySide2.QtCore.QModelIndex) -> None
closePersistentEditor(self, item: PySide2.QtWidgets.QTableWidgetItem) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#closePersistentEditor
column
column(item: Any) -> int
X.column(item) -> int
Supplemental documentation: Qt 5 reference:
int QTableWidget::column(const QTableWidgetItem *item) const
Returns the column for the item.
Upstream PySide2 reference signatures (binding differences may apply):
column(self, item: PySide2.QtWidgets.QTableWidgetItem) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#column
columnAt
columnAt(x: Any) -> int
X.columnAt(x) -> int
columnCount
instance-attribute
columnCount: int
Qt 5 reference:
columnCount : int
This property holds the number of columns in the table
By default, for a table constructed without row and column counts, this property contains a value of 0.
Access functions:
| int | columnCount() const |
|---|---|
| void | setColumnCount(int columns) |
int QTableWidget::columnCount() const
Returns the number of columns.
Note: Getter function for property columnCount.
See also setColumnCount().
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#columnCount
columnSpan
columnSpan(row: Any, column: Any) -> int
X.columnSpan(row, column) -> int
columnViewportPosition
columnViewportPosition(column: Any) -> int
X.columnViewportPosition(column) -> int
columnWidth
columnWidth(column: Any) -> int
X.columnWidth(column) -> int
cornerButtonEnabled
instance-attribute
cornerButtonEnabled: Any
currentCellChanged
currentCellChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.currentCellChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::currentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn)
This signal is emitted whenever the current cell changes. The cell specified by previousRow and previousColumn is the cell that previously had the focus, the cell specified by currentRow and currentColumn is the new current cell.
This function was introduced in Qt 4.1.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#currentCellChanged
currentColumn
currentColumn() -> int
X.currentColumn() -> int
Supplemental documentation: Qt 5 reference:
int QTableWidget::currentColumn() const
Returns the column of the current item.
See also currentRow() and setCurrentCell().
Upstream PySide2 reference signatures (binding differences may apply):
currentColumn(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#currentColumn
currentItem
currentItem() -> Any
X.currentItem() -> PythonQt.QtGui.QTableWidgetItem
Supplemental documentation: Qt 5 reference:
QTableWidgetItem *QTableWidget::currentItem() const
Returns the current item.
See also setCurrentItem().
Upstream PySide2 reference signatures (binding differences may apply):
currentItem(self) -> PySide2.QtWidgets.QTableWidgetItem
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#currentItem
currentItemChanged
currentItemChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.currentItemChanged; argument details are not documented.
Supplemental documentation: Qt 5 reference:
[signal] void QTableWidget::currentItemChanged(QTableWidgetItem *current, QTableWidgetItem *previous)
This signal is emitted whenever the current item changes. The previous item is the item that previously had the focus, current is the new current item.
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#currentItemChanged
currentRow
currentRow() -> int
X.currentRow() -> int
Supplemental documentation: Qt 5 reference:
int QTableWidget::currentRow() const
Returns the row of the current item.
See also currentColumn() and setCurrentCell().
Upstream PySide2 reference signatures (binding differences may apply):
currentRow(self) -> int
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#currentRow
customContextMenuRequested
customContextMenuRequested(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.customContextMenuRequested; argument details are not documented.
destroyed
destroyed(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.destroyed; argument details are not documented.
doubleClicked
doubleClicked(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.doubleClicked; argument details are not documented.
dropEvent
dropEvent(event: Any) -> None
X.dropEvent(event)
Supplemental documentation: Qt 5 reference:
[override virtual protected] void QTableWidget::dropEvent(QDropEvent *event)
Reimplements: QAbstractItemView::dropEvent(QDropEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
dropEvent(self, event: PySide2.QtGui.QDropEvent) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#dropEvent
dropMimeData
dropMimeData(row: int, column: int, data: Any, action: Any) -> bool
X.dropMimeData(row, column, data, action) -> bool
Supplemental documentation: Qt 5 reference:
[virtual protected] bool QTableWidget::dropMimeData(int row, int column, const QMimeData *data, Qt::DropAction action)
Handles the data supplied by a drag and drop operation that ended with the given
action in the given row and column. Returns true if the data and action can be
handled by the model; otherwise returns false.
See also supportedDropActions().
Upstream PySide2 reference signatures (binding differences may apply):
dropMimeData(self, row: int, column: int, data: PySide2.QtCore.QMimeData, action: PySide2.QtCore.Qt.DropAction) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#dropMimeData
editItem
editItem(item: Any) -> None
X.editItem(item)
Supplemental documentation: Qt 5 reference:
void QTableWidget::editItem(QTableWidgetItem *item)
Starts editing the item if it is editable.
Upstream PySide2 reference signatures (binding differences may apply):
editItem(self, item: PySide2.QtWidgets.QTableWidgetItem) -> None
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#editItem
entered
entered(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.entered; argument details are not documented.
event
event(e: Any) -> bool
X.event(e) -> bool
Supplemental documentation: Qt 5 reference:
[override virtual protected] bool QTableWidget::event(QEvent *e)
Reimplements: QAbstractItemView::event(QEvent *event).
Upstream PySide2 reference signatures (binding differences may apply):
event(self, e: PySide2.QtCore.QEvent) -> bool
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#event
findItems
findItems(text: str, arg1: flags) -> tuple
X.findItems(text, flags) -> tuple
Supplemental documentation: Qt 5 reference:
QList\<QTableWidgetItem *> QTableWidget::findItems(const QString \&text, Qt::MatchFlags flags) const
Finds items that matches the text using the given flags.
Upstream PySide2 reference signatures (binding differences may apply):
findItems(self, text: str, flags: PySide2.QtCore.Qt.MatchFlags) -> typing.List[PySide2.QtWidgets.QTableWidgetItem]
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#findItems
gridStyle
instance-attribute
gridStyle: Any
hideColumn
hideColumn(column: Any) -> Any
X.hideColumn(column)
hideRow
hideRow(row: Any) -> Any
X.hideRow(row)
horizontalHeader
horizontalHeader() -> Any
X.horizontalHeader() -> PythonQt.QtGui.QHeaderView
horizontalHeaderItem
horizontalHeaderItem(column: int) -> Any
X.horizontalHeaderItem(column) -> PythonQt.QtGui.QTableWidgetItem
Supplemental documentation: Qt 5 reference:
QTableWidgetItem *QTableWidget::horizontalHeaderItem(int column) const
Returns the horizontal header item for column, column, if one has been set; otherwise
returns nullptr.
See also setHorizontalHeaderItem().
Upstream PySide2 reference signatures (binding differences may apply):
horizontalHeaderItem(self, column: int) -> PySide2.QtWidgets.QTableWidgetItem
Source: https://doc.qt.io/archives/qt-5.15/qtablewidget.html#horizontalHeaderItem
iconSizeChanged
iconSizeChanged(*args: Any, **kwargs: Any) -> Any
Native PythonQt.QtGui.QTableWidget.iconSizeChanged; argument details are not documented.