Skip to content

PythonQt.QtGui.QTextTableCell · declarations 001

Back to PythonQt.QtGui.QTextTableCell

begin

begin() -> Any

X.begin()

Supplemental documentation: Qt 5 reference:

QTextFrame::iterator QTextTableCell::begin() const

Returns a frame iterator pointing to the beginning of the table's cell.

See also end().

Upstream PySide2 reference signatures (binding differences may apply):

begin(self) -> PySide2.QtGui.QTextFrame.iterator

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

column

column() -> int

X.column() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableCell::column() const

Returns the number of the column in the table that contains this cell.

See also row().

Upstream PySide2 reference signatures (binding differences may apply):

column(self) -> int

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

columnSpan

columnSpan() -> int

X.columnSpan() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableCell::columnSpan() const

Returns the number of columns this cell spans. The default is 1.

See also rowSpan().

Upstream PySide2 reference signatures (binding differences may apply):

columnSpan(self) -> int

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

end

end() -> Any

X.end()

Supplemental documentation: Qt 5 reference:

QTextFrame::iterator QTextTableCell::end() const

Returns a frame iterator pointing to the end of the table's cell.

See also begin().

Upstream PySide2 reference signatures (binding differences may apply):

end(self) -> PySide2.QtGui.QTextFrame.iterator

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

firstCursorPosition

firstCursorPosition() -> Any

X.firstCursorPosition() -> PythonQt.QtGui.QTextCursor

Supplemental documentation: Qt 5 reference:

QTextCursor QTextTableCell::firstCursorPosition() const

Returns the first valid cursor position in this cell.

See also lastCursorPosition().

Upstream PySide2 reference signatures (binding differences may apply):

firstCursorPosition(self) -> PySide2.QtGui.QTextCursor

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

firstPosition

firstPosition() -> int

X.firstPosition() -> int

Upstream PySide2 reference signatures (binding differences may apply):

firstPosition(self) -> int

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

format

format() -> Any

X.format() -> PythonQt.QtGui.QTextCharFormat

Supplemental documentation: Qt 5 reference:

QTextCharFormat QTextTableCell::format() const

Returns the cell's character format.

See also setFormat().

Upstream PySide2 reference signatures (binding differences may apply):

format(self) -> PySide2.QtGui.QTextCharFormat

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

isValid

isValid() -> bool

X.isValid() -> bool

Supplemental documentation: Qt 5 reference:

bool QTextTableCell::isValid() const

Returns true if this is a valid table cell; otherwise returns false.

Upstream PySide2 reference signatures (binding differences may apply):

isValid(self) -> bool

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

lastCursorPosition

lastCursorPosition() -> Any

X.lastCursorPosition() -> PythonQt.QtGui.QTextCursor

Supplemental documentation: Qt 5 reference:

QTextCursor QTextTableCell::lastCursorPosition() const

Returns the last valid cursor position in this cell.

See also firstCursorPosition().

Upstream PySide2 reference signatures (binding differences may apply):

lastCursorPosition(self) -> PySide2.QtGui.QTextCursor

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

lastPosition

lastPosition() -> int

X.lastPosition() -> int

Upstream PySide2 reference signatures (binding differences may apply):

lastPosition(self) -> int

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

row

row() -> int

X.row() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableCell::row() const

Returns the number of the row in the table that contains this cell.

See also column().

Upstream PySide2 reference signatures (binding differences may apply):

row(self) -> int

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

rowSpan

rowSpan() -> int

X.rowSpan() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableCell::rowSpan() const

Returns the number of rows this cell spans. The default is 1.

See also columnSpan().

Upstream PySide2 reference signatures (binding differences may apply):

rowSpan(self) -> int

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

setFormat

setFormat(format: Any) -> None

X.setFormat(format)

Supplemental documentation: Qt 5 reference:

void QTextTableCell::setFormat(const QTextCharFormat \&format)

Sets the cell's character format to format. This can for example be used to change the background color of the entire cell:

QTextTableCell cell \= table->cellAt(2, 3); QTextCharFormat format \= cell.format(); format.setBackground(Qt::blue); cell.setFormat(format);

Note that the cell's row or column span cannot be changed through this function. You have to use QTextTable::mergeCells and QTextTable::splitCell instead.

This function was introduced in Qt 4.2.

See also format().

Upstream PySide2 reference signatures (binding differences may apply):

setFormat(self, format: PySide2.QtGui.QTextCharFormat) -> None

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

tableCellFormatIndex

tableCellFormatIndex() -> int

X.tableCellFormatIndex() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableCell::tableCellFormatIndex() const

Returns the index of the tableCell's format in the document's internal list of formats.

This function was introduced in Qt 4.5.

See also QTextDocument::allFormats().

Upstream PySide2 reference signatures (binding differences may apply):

tableCellFormatIndex(self) -> int

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