PythonQt.QtGui.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. |
className |
function | (self, *args: Any, **kwargs: Any) -> Any |
Return the classname of the object (shared captured text) |
column |
function | (self) -> int |
X.column() -> int |
columnSpan |
function | (self) -> int |
X.columnSpan() -> int |
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. |
firstCursorPosition |
function | (self) -> Any |
X.firstCursorPosition() -> PythonQt.QtGui.QTextCursor |
firstPosition |
function | (self) -> int |
X.firstPosition() -> int |
format |
function | (self) -> Any |
X.format() -> PythonQt.QtGui.QTextCharFormat |
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 |
lastCursorPosition |
function | (self) -> Any |
X.lastCursorPosition() -> PythonQt.QtGui.QTextCursor |
lastPosition |
function | (self) -> int |
X.lastPosition() -> int |
row |
function | (self) -> int |
X.row() -> int |
rowSpan |
function | (self) -> int |
X.rowSpan() -> int |
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 \=… |
tableCellFormatIndex |
function | (self) -> int |
X.tableCellFormatIndex() -> int |