Skip to content

PythonQt.Qt.QTextTableCell

QTextTableCell

PythonQtInstanceWrapper object

Native bases: PythonQtInstanceWrapper

Supplemental documentation: Qt 5 reference:

Detailed Description

Table cells are pieces of document structure that belong to a table. The table orders cells into particular rows and columns; cells can also span multiple columns and rows.

Cells are usually created when a table is inserted into a document with QTextCursor::insertTable(), but they are also created and destroyed when a table is resized.

Cells contain information about their location in a table; you can obtain the row() and column() numbers of a cell, and its rowSpan() and columnSpan().

The format() of a cell describes the default character format of its contents. The firstCursorPosition() and lastCursorPosition() functions are used to obtain the extent of the cell in the document.

Source: https://doc.qt.io/archives/qt-5.15/qtexttablecell.html

Complete member index

Every captured member retains its own identity. Identical captured declaration text is linked once; this does not establish native inheritance or interchangeable objects.

Member Kind Signature Summary
__init__ function (self, *args: Any, **kwargs: Any) -> None Native constructor; consult class documentation for supported overloads. (shared captured text)
begin function (self) -> Any Returns a frame iterator pointing to the beginning of the table's cell. (shared captured text)
className function (self, *args: Any, **kwargs: Any) -> Any Return the classname of the object (shared captured text)
column function (self) -> int X.column() -> int (shared captured text)
columnSpan function (self) -> int X.columnSpan() -> int (shared captured text)
delete function (self, *args: Any, **kwargs: Any) -> Any Deletes the C++ object (at your own risk, my friend!) (shared captured text)
end function (self) -> Any Returns a frame iterator pointing to the end of the table's cell. (shared captured text)
firstCursorPosition function (self) -> Any X.firstCursorPosition() -> PythonQt.QtGui.QTextCursor (shared captured text)
firstPosition function (self) -> int X.firstPosition() -> int (shared captured text)
format function (self) -> Any X.format() -> PythonQt.QtGui.QTextCharFormat (shared captured text)
help function (self, *args: Any, **kwargs: Any) -> Any Shows the help of available methods for this class (shared captured text)
inherits function (self, *args: Any, **kwargs: Any) -> Any Returns if the class inherits or is of given type name (shared captured text)
isValid function (self) -> bool X.isValid() -> bool (shared captured text)
lastCursorPosition function (self) -> Any X.lastCursorPosition() -> PythonQt.QtGui.QTextCursor (shared captured text)
lastPosition function (self) -> int X.lastPosition() -> int (shared captured text)
row function (self) -> int X.row() -> int (shared captured text)
rowSpan function (self) -> int X.rowSpan() -> int (shared captured text)
setFormat function (self, format: Any) -> None [QTextTableCell](https://doc.qt.io/archives/qt-5.15/qtexttablecell.html) cell \= table-\>cellAt(2, 3); [QTextCharFormat](https://doc.qt.io/archives/qt-5.15/qtextcharformat.html) format \=… (shared captured text)
tableCellFormatIndex function (self) -> int X.tableCellFormatIndex() -> int (shared captured text)