Skip to content

PythonQt.QtGui.QTextTable · declarations 001

Back to PythonQt.QtGui.QTextTable

appendColumns

appendColumns(count: int) -> None

X.appendColumns(count)

Supplemental documentation: Qt 5 reference:

void QTextTable::appendColumns(int count)

Appends count columns at the right side of the table.

This function was introduced in Qt 4.5.

See also insertColumns(), insertRows(), resize(), removeRows(), removeColumns(), and appendRows().

Upstream PySide2 reference signatures (binding differences may apply):

appendColumns(self, count: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#appendColumns

appendRows

appendRows(count: int) -> None

X.appendRows(count)

Supplemental documentation: Qt 5 reference:

void QTextTable::appendRows(int count)

Appends count rows at the bottom of the table.

This function was introduced in Qt 4.5.

See also insertColumns(), insertRows(), resize(), removeRows(), removeColumns(), and appendColumns().

Upstream PySide2 reference signatures (binding differences may apply):

appendRows(self, count: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#appendRows

begin

begin() -> Any

X.begin()

cellAt

cellAt(row: Any, col: Any) -> Any

X.cellAt(row, col) -> PythonQt.QtGui.QTextTableCell

Supplemental documentation: Qt 5 reference:

QTextTableCell QTextTable::cellAt(int row, int column) const

Returns the table cell at the given row and column in the table.

See also columns() and rows().

QTextTableCell QTextTable::cellAt(int position) const

This is an overloaded function.

Returns the table cell that contains the character at the given position in the document.

QTextTableCell QTextTable::cellAt(const QTextCursor \&cursor) const

This is an overloaded function.

Returns the table cell containing the given cursor.

Upstream PySide2 reference signatures (binding differences may apply):

cellAt(self, c: PySide2.QtGui.QTextCursor) -> PySide2.QtGui.QTextTableCell
cellAt(self, position: int) -> PySide2.QtGui.QTextTableCell
cellAt(self, row: int, col: int) -> PySide2.QtGui.QTextTableCell

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#cellAt

childFrames

childFrames() -> tuple

X.childFrames() -> tuple

columns

columns() -> int

X.columns() -> int

Supplemental documentation: Qt 5 reference:

int QTextTable::columns() const

Returns the number of columns in the table.

See also rows().

Upstream PySide2 reference signatures (binding differences may apply):

columns(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#columns

destroyed

destroyed(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QTextTable.destroyed; argument details are not documented.

end

end() -> Any

X.end()

firstCursorPosition

firstCursorPosition() -> Any

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

firstPosition

firstPosition() -> int

X.firstPosition() -> int

format

format() -> Any

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

Supplemental documentation: Qt 5 reference:

QTextTableFormat QTextTable::format() const

Returns the table's format.

See also setFormat().

Upstream PySide2 reference signatures (binding differences may apply):

format(self) -> PySide2.QtGui.QTextTableFormat

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

frameFormat

frameFormat() -> Any

X.frameFormat() -> PythonQt.QtGui.QTextFrameFormat

insertColumns

insertColumns(pos: int, num: int) -> None

X.insertColumns(pos, num)

Supplemental documentation: Qt 5 reference:

void QTextTable::insertColumns(int index, int columns)

Inserts a number of columns before the column with the specified index.

See also insertRows(), resize(), removeRows(), removeColumns(), appendRows(), and appendColumns().

Upstream PySide2 reference signatures (binding differences may apply):

insertColumns(self, pos: int, num: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#insertColumns

insertRows

insertRows(pos: int, num: int) -> None

X.insertRows(pos, num)

Supplemental documentation: Qt 5 reference:

void QTextTable::insertRows(int index, int rows)

Inserts a number of rows before the row with the specified index.

See also resize(), insertColumns(), removeRows(), removeColumns(), appendRows(), and appendColumns().

Upstream PySide2 reference signatures (binding differences may apply):

insertRows(self, pos: int, num: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#insertRows

lastCursorPosition

lastCursorPosition() -> Any

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

lastPosition

lastPosition() -> int

X.lastPosition() -> int

mergeCells

mergeCells(row: Any, col: Any, numRows: Any, numCols: Any) -> None

X.mergeCells(row, col, numRows, numCols)

Supplemental documentation: Qt 5 reference:

void QTextTable::mergeCells(int row, int column, int numRows, int numCols)

Merges the cell at the specified row and column with the adjacent cells into one cell. The new cell will span numRows rows and numCols columns. This method does nothing if numRows or numCols is less than the current number of rows or columns spanned by the cell.

This function was introduced in Qt 4.1.

See also splitCell().

void QTextTable::mergeCells(const QTextCursor \&cursor)

This is an overloaded function.

Merges the cells selected by the provided cursor.

This function was introduced in Qt 4.1.

See also splitCell().

Upstream PySide2 reference signatures (binding differences may apply):

mergeCells(self, cursor: PySide2.QtGui.QTextCursor) -> None
mergeCells(self, row: int, col: int, numRows: int, numCols: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#mergeCells

objectNameChanged

objectNameChanged(*args: Any, **kwargs: Any) -> Any

Native PythonQt.QtGui.QTextTable.objectNameChanged; argument details are not documented.

parentFrame

parentFrame() -> Any

X.parentFrame() -> PythonQt.QtGui.QTextFrame

removeColumns

removeColumns(pos: int, num: int) -> None

X.removeColumns(pos, num)

Supplemental documentation: Qt 5 reference:

void QTextTable::removeColumns(int index, int columns)

Removes a number of columns starting with the column at the specified index.

See also insertRows(), insertColumns(), removeRows(), resize(), appendRows(), and appendColumns().

Upstream PySide2 reference signatures (binding differences may apply):

removeColumns(self, pos: int, num: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#removeColumns

removeRows

removeRows(pos: int, num: int) -> None

X.removeRows(pos, num)

Supplemental documentation: Qt 5 reference:

void QTextTable::removeRows(int index, int rows)

Removes a number of rows starting with the row at the specified index.

See also insertRows(), insertColumns(), resize(), removeColumns(), appendRows(), and appendColumns().

Upstream PySide2 reference signatures (binding differences may apply):

removeRows(self, pos: int, num: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#removeRows

resize

resize(rows: int, cols: int) -> None

X.resize(rows, cols)

Supplemental documentation: Qt 5 reference:

void QTextTable::resize(int rows, int columns)

Resizes the table to contain the required number of rows and columns.

See also insertRows(), insertColumns(), removeRows(), and removeColumns().

Upstream PySide2 reference signatures (binding differences may apply):

resize(self, rows: int, cols: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#resize

rowEnd

rowEnd(c: Any) -> Any

X.rowEnd(c) -> PythonQt.QtGui.QTextCursor

Supplemental documentation: Qt 5 reference:

QTextCursor QTextTable::rowEnd(const QTextCursor \&cursor) const

Returns a cursor pointing to the end of the row that contains the given cursor.

See also rowStart().

Upstream PySide2 reference signatures (binding differences may apply):

rowEnd(self, c: PySide2.QtGui.QTextCursor) -> PySide2.QtGui.QTextCursor

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#rowEnd

rowStart

rowStart(c: Any) -> Any

X.rowStart(c) -> PythonQt.QtGui.QTextCursor

Supplemental documentation: Qt 5 reference:

QTextCursor QTextTable::rowStart(const QTextCursor \&cursor) const

Returns a cursor pointing to the start of the row that contains the given cursor.

See also rowEnd().

Upstream PySide2 reference signatures (binding differences may apply):

rowStart(self, c: PySide2.QtGui.QTextCursor) -> PySide2.QtGui.QTextCursor

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#rowStart

rows

rows() -> int

X.rows() -> int

Supplemental documentation: Qt 5 reference:

int QTextTable::rows() const

Returns the number of rows in the table.

See also columns().

Upstream PySide2 reference signatures (binding differences may apply):

rows(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#rows

setFormat

setFormat(format: Any) -> None

X.setFormat(format)

Supplemental documentation: Qt 5 reference:

void QTextTable::setFormat(const QTextTableFormat \&format)

Sets the table's format.

See also format().

Upstream PySide2 reference signatures (binding differences may apply):

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

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

setFrameFormat

setFrameFormat(format: Any) -> Any

X.setFrameFormat(format)

splitCell

splitCell(row: int, col: int, numRows: int, numCols: int) -> None

X.splitCell(row, col, numRows, numCols)

Supplemental documentation: Qt 5 reference:

void QTextTable::splitCell(int row, int column, int numRows, int numCols)

Splits the specified cell at row and column into an array of multiple cells with dimensions specified by numRows and numCols.

Note: It is only possible to split cells that span multiple rows or columns, such as rows that have been merged using mergeCells().

This function was introduced in Qt 4.1.

See also mergeCells().

Upstream PySide2 reference signatures (binding differences may apply):

splitCell(self, row: int, col: int, numRows: int, numCols: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttable.html#splitCell