QTextTableCellFormat Class▲
-
Header: QTextTableCellFormat
-
Since: Qt 4.4
-
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▲
[since 4.4] QTextTableCellFormat::QTextTableCellFormat()▲
Constructs a new table cell format object.
This function was introduced in Qt 4.4.
[since 4.4] qreal QTextTableCellFormat::bottomPadding() const▲
Gets the bottom padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also setBottomPadding(), leftPadding(), rightPadding(), topPadding()
[since 4.4] bool QTextTableCellFormat::isValid() const▲
Returns true if this table cell format is valid; otherwise returns false.
This function was introduced in Qt 4.4.
[since 4.4] qreal QTextTableCellFormat::leftPadding() const▲
Gets the left padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also setLeftPadding(), rightPadding(), topPadding(), bottomPadding()
[since 4.4] qreal QTextTableCellFormat::rightPadding() const▲
Gets the right padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also setRightPadding(), leftPadding(), topPadding(), bottomPadding()
[since 4.4] void QTextTableCellFormat::setBottomPadding(qreal padding)▲
Sets the bottom padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also bottomPadding(), setLeftPadding(), setRightPadding(), setTopPadding()
[since 4.4] void QTextTableCellFormat::setLeftPadding(qreal padding)▲
Sets the left padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also leftPadding(), setRightPadding(), setTopPadding(), setBottomPadding()
[since 4.4] void QTextTableCellFormat::setPadding(qreal padding)▲
Sets the left, right, top, and bottom padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also setLeftPadding(), setRightPadding(), setTopPadding(), setBottomPadding()
[since 4.4] void QTextTableCellFormat::setRightPadding(qreal padding)▲
Sets the right padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also rightPadding(), setLeftPadding(), setTopPadding(), setBottomPadding()
[since 4.4] void QTextTableCellFormat::setTopPadding(qreal padding)▲
Sets the top padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also topPadding(), setLeftPadding(), setRightPadding(), setBottomPadding()
[since 4.4] qreal QTextTableCellFormat::topPadding() const▲
Gets the top padding of the table cell.
This function was introduced in Qt 4.4.
See Also▲
See also setTopPadding(), leftPadding(), rightPadding(), bottomPadding()