Skip to content

PythonQt.QtGui.QTextTableFormat · declarations 001

Back to PythonQt.QtGui.QTextTableFormat

alignment

alignment() -> Any

X.alignment()

Supplemental documentation: Qt 5 reference:

Qt::Alignment QTextTableFormat::alignment() const

Returns the table's alignment.

See also setAlignment().

Upstream PySide2 reference signatures (binding differences may apply):

alignment(self) -> PySide2.QtCore.Qt.Alignment

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#alignment

border

border() -> float

X.border() -> float

borderBrush

borderBrush() -> Any

X.borderBrush() -> PythonQt.QtGui.QBrush

borderStyle

borderStyle() -> Any

X.borderStyle()

bottomMargin

bottomMargin() -> float

X.bottomMargin() -> float

cellPadding

cellPadding() -> float

X.cellPadding() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextTableFormat::cellPadding() const

Returns the table's cell padding. This describes the distance between the border of a cell and its contents.

See also setCellPadding().

Upstream PySide2 reference signatures (binding differences may apply):

cellPadding(self) -> float

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#cellPadding

cellSpacing

cellSpacing() -> float

X.cellSpacing() -> float

Supplemental documentation: Qt 5 reference:

qreal QTextTableFormat::cellSpacing() const

Returns the table's cell spacing. This describes the distance between adjacent cells.

See also setCellSpacing().

Upstream PySide2 reference signatures (binding differences may apply):

cellSpacing(self) -> float

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#cellSpacing

clearColumnWidthConstraints

clearColumnWidthConstraints() -> None

X.clearColumnWidthConstraints()

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::clearColumnWidthConstraints()

Clears the column width constraints for the table.

See also columnWidthConstraints() and setColumnWidthConstraints().

Upstream PySide2 reference signatures (binding differences may apply):

clearColumnWidthConstraints(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#clearColumnWidthConstraints

columnWidthConstraints

columnWidthConstraints() -> tuple

X.columnWidthConstraints() -> tuple

Supplemental documentation: Qt 5 reference:

QVector\<QTextLength> QTextTableFormat::columnWidthConstraints() const

Returns a list of constraints used by this table format to control the appearance of columns in a table.

See also setColumnWidthConstraints().

Upstream PySide2 reference signatures (binding differences may apply):

columnWidthConstraints(self) -> typing.List[PySide2.QtGui.QTextLength]

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#columnWidthConstraints

columns

columns() -> int

X.columns() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableFormat::columns() const

Returns the number of columns specified by the table format.

Upstream PySide2 reference signatures (binding differences may apply):

columns(self) -> int

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

headerRowCount

headerRowCount() -> int

X.headerRowCount() -> int

Supplemental documentation: Qt 5 reference:

int QTextTableFormat::headerRowCount() const

Returns the number of rows in the table that define the header.

This function was introduced in Qt 4.2.

See also setHeaderRowCount().

Upstream PySide2 reference signatures (binding differences may apply):

headerRowCount(self) -> int

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#headerRowCount

height

height() -> Any

X.height() -> PythonQt.QtGui.QTextLength

isValid

isValid() -> bool

X.isValid() -> bool

Supplemental documentation: Qt 5 reference:

bool QTextTableFormat::isValid() const

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

Upstream PySide2 reference signatures (binding differences may apply):

isValid(self) -> bool

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

leftMargin

leftMargin() -> float

X.leftMargin() -> float

margin

margin() -> float

X.margin() -> float

padding

padding() -> float

X.padding() -> float

pageBreakPolicy

pageBreakPolicy() -> Any

X.pageBreakPolicy()

position

position() -> Any

X.position()

rightMargin

rightMargin() -> float

X.rightMargin() -> float

setAlignment

setAlignment(alignment: Any) -> None

X.setAlignment(alignment)

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::setAlignment(Qt::Alignment alignment)

Sets the table's alignment.

See also alignment().

Upstream PySide2 reference signatures (binding differences may apply):

setAlignment(self, alignment: PySide2.QtCore.Qt.Alignment) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setAlignment

setBorder

setBorder(border: Any) -> Any

X.setBorder(border)

setBorderBrush

setBorderBrush(brush: Any) -> Any

X.setBorderBrush(brush)

setBorderStyle

setBorderStyle(style: Any) -> Any

X.setBorderStyle(style)

setBottomMargin

setBottomMargin(margin: Any) -> Any

X.setBottomMargin(margin)

setCellPadding

setCellPadding(padding: float) -> None

X.setCellPadding(padding)

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::setCellPadding(qreal padding)

Sets the cell padding for the table. This determines the distance between the border of a cell and its contents.

See also cellPadding().

Upstream PySide2 reference signatures (binding differences may apply):

setCellPadding(self, padding: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setCellPadding

setCellSpacing

setCellSpacing(spacing: float) -> None

X.setCellSpacing(spacing)

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::setCellSpacing(qreal spacing)

Sets the cell spacing for the table. This determines the distance between adjacent cells.

This property will be ignored if borderCollapse is enabled.

See also cellSpacing().

Upstream PySide2 reference signatures (binding differences may apply):

setCellSpacing(self, spacing: float) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setCellSpacing

setColumnWidthConstraints

setColumnWidthConstraints(constraints: Any) -> None

X.setColumnWidthConstraints(constraints)

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::setColumnWidthConstraints(const QVector\<QTextLength> \&constraints)

Sets the column width constraints for the table.

See also columnWidthConstraints() and clearColumnWidthConstraints().

Upstream PySide2 reference signatures (binding differences may apply):

setColumnWidthConstraints(self, constraints: typing.List[PySide2.QtGui.QTextLength]) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setColumnWidthConstraints

setColumns

setColumns(columns: int) -> None

X.setColumns(columns)

Upstream PySide2 reference signatures (binding differences may apply):

setColumns(self, columns: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setColumns

setHeaderRowCount

setHeaderRowCount(count: int) -> None

X.setHeaderRowCount(count)

Supplemental documentation: Qt 5 reference:

void QTextTableFormat::setHeaderRowCount(int count)

Declares the first count rows of the table as table header. The table header rows get repeated when a table is broken across a page boundary.

This function was introduced in Qt 4.2.

See also headerRowCount().

Upstream PySide2 reference signatures (binding differences may apply):

setHeaderRowCount(self, count: int) -> None

Source: https://doc.qt.io/archives/qt-5.15/qtexttableformat.html#setHeaderRowCount

setHeight

setHeight(height: Any) -> Any

X.setHeight(height)

setLeftMargin

setLeftMargin(margin: Any) -> Any

X.setLeftMargin(margin)

setMargin

setMargin(margin: Any) -> Any

X.setMargin(margin)

setPadding

setPadding(padding: Any) -> Any

X.setPadding(padding)

setPageBreakPolicy

setPageBreakPolicy(arg0: flags) -> Any

X.setPageBreakPolicy(flags)

setPosition

setPosition(f: Any) -> Any

X.setPosition(f)

setRightMargin

setRightMargin(margin: Any) -> Any

X.setRightMargin(margin)

setTopMargin

setTopMargin(margin: Any) -> Any

X.setTopMargin(margin)

setWidth

setWidth(length: Any) -> Any

X.setWidth(length)

topMargin

topMargin() -> float

X.topMargin() -> float

width

width() -> Any

X.width() -> PythonQt.QtGui.QTextLength