QTextTableCellFormat Class▲
-
Header: QTextTableCellFormat
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::Gui)
-
qmake: QT += gui
-
Inherits: QTextCharFormat
-
Group: QTextTableCellFormat is part of Rich Text Processing APIs, shared
Detailed Description▲
The table cell format of a table cell in a document specifies the visual properties of the table cell.
The padding properties of a table cell are controlled by setLeftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding(). All the paddings can be set at once using setPadding().
See Also▲
See also QTextFormat, QTextBlockFormat, QTextTableFormat, QTextCharFormat
Member Function Documentation▲
QTextTableCellFormat::QTextTableCellFormat()▲
Constructs a new table cell format object.
[since 5.14] qreal QTextTableCellFormat::bottomBorder() const▲
Returns the bottom border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setBottomBorder()
[since 5.14] QBrush QTextTableCellFormat::bottomBorderBrush() const▲
Returns the bottom border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setBottomBorderBrush()
[since 5.14] QTextFrameFormat::BorderStyle QTextTableCellFormat::bottomBorderStyle() const▲
Returns the bottom border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setBottomBorderStyle()
qreal QTextTableCellFormat::bottomPadding() const▲
Gets the bottom padding of the table cell.
See Also▲
See also setBottomPadding(), leftPadding(), rightPadding(), topPadding()
bool QTextTableCellFormat::isValid() const▲
Returns true if this table cell format is valid; otherwise returns false.
[since 5.14] qreal QTextTableCellFormat::leftBorder() const▲
Returns the left border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setLeftBorder()
[since 5.14] QBrush QTextTableCellFormat::leftBorderBrush() const▲
Returns the left border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setLeftBorderBrush()
[since 5.14] QTextFrameFormat::BorderStyle QTextTableCellFormat::leftBorderStyle() const▲
Returns the left border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setLeftBorderStyle()
qreal QTextTableCellFormat::leftPadding() const▲
Gets the left padding of the table cell.
See Also▲
See also setLeftPadding(), rightPadding(), topPadding(), bottomPadding()
[since 5.14] qreal QTextTableCellFormat::rightBorder() const▲
Returns the right border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setRightBorder()
[since 5.14] QBrush QTextTableCellFormat::rightBorderBrush() const▲
Returns the right border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setRightBorderBrush()
[since 5.14] QTextFrameFormat::BorderStyle QTextTableCellFormat::rightBorderStyle() const▲
Returns the right border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setRightBorderStyle()
qreal QTextTableCellFormat::rightPadding() const▲
Gets the right padding of the table cell.
See Also▲
See also setRightPadding(), leftPadding(), topPadding(), bottomPadding()
[since 5.14] void QTextTableCellFormat::setBorder(qreal width)▲
Sets the left, right, top, and bottom border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setLeftBorder(), setRightBorder(), setTopBorder(), setBottomBorder(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setBorderBrush(const QBrush &brush)▲
Sets the left, right, top, and bottom border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
[since 5.14] void QTextTableCellFormat::setBorderStyle(QTextFrameFormat::BorderStyle style)▲
Sets the left, right, top, and bottom border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
[since 5.14] void QTextTableCellFormat::setBottomBorder(qreal width)▲
Sets the bottom border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also bottomBorder(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setBottomBorderBrush(const QBrush &brush)▲
Sets the bottom border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also bottomBorderBrush(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setBottomBorderStyle(QTextFrameFormat::BorderStyle style)▲
Sets the bottom border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also bottomBorderStyle(), QTextTableFormat::setBorderCollapse
void QTextTableCellFormat::setBottomPadding(qreal padding)▲
Sets the bottom padding of the table cell.
See Also▲
See also bottomPadding(), setLeftPadding(), setRightPadding(), setTopPadding()
[since 5.14] void QTextTableCellFormat::setLeftBorder(qreal width)▲
Sets the left border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also leftBorder(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setLeftBorderBrush(const QBrush &brush)▲
Sets the left border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also leftBorderBrush(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setLeftBorderStyle(QTextFrameFormat::BorderStyle style)▲
Sets the left border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also leftBorderStyle(), QTextTableFormat::setBorderCollapse
void QTextTableCellFormat::setLeftPadding(qreal padding)▲
Sets the left padding of the table cell.
See Also▲
See also leftPadding(), setRightPadding(), setTopPadding(), setBottomPadding()
void QTextTableCellFormat::setPadding(qreal padding)▲
Sets the left, right, top, and bottom padding of the table cell.
See Also▲
See also setLeftPadding(), setRightPadding(), setTopPadding(), setBottomPadding()
[since 5.14] void QTextTableCellFormat::setRightBorder(qreal width)▲
Sets the right border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also rightBorder(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setRightBorderBrush(const QBrush &brush)▲
Sets the right border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also rightBorderBrush(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setRightBorderStyle(QTextFrameFormat::BorderStyle style)▲
Sets the right border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also rightBorderStyle(), QTextTableFormat::setBorderCollapse
void QTextTableCellFormat::setRightPadding(qreal padding)▲
Sets the right padding of the table cell.
See Also▲
See also rightPadding(), setLeftPadding(), setTopPadding(), setBottomPadding()
[since 5.14] void QTextTableCellFormat::setTopBorder(qreal width)▲
Sets the top border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also topBorder(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setTopBorderBrush(const QBrush &brush)▲
Sets the top border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also topBorderBrush(), QTextTableFormat::setBorderCollapse
[since 5.14] void QTextTableCellFormat::setTopBorderStyle(QTextFrameFormat::BorderStyle style)▲
Sets the top border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also topBorderStyle(), QTextTableFormat::setBorderCollapse
void QTextTableCellFormat::setTopPadding(qreal padding)▲
Sets the top padding of the table cell.
See Also▲
See also topPadding(), setLeftPadding(), setRightPadding(), setBottomPadding()
[since 5.14] qreal QTextTableCellFormat::topBorder() const▲
Returns the top border width of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setTopBorder()
[since 5.14] QBrush QTextTableCellFormat::topBorderBrush() const▲
Returns the top border brush of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setTopBorderBrush()
[since 5.14] QTextFrameFormat::BorderStyle QTextTableCellFormat::topBorderStyle() const▲
Returns the top border style of the table cell.
This function was introduced in Qt 5.14.
See Also▲
See also setTopBorderStyle()
qreal QTextTableCellFormat::topPadding() const▲
Gets the top padding of the table cell.
See Also▲
See also setTopPadding(), leftPadding(), rightPadding(), bottomPadding()