QTextTableCellFormat Class

The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. More...

Header: #include <QTextTableCellFormat>
qmake: QT += gui
Since: Qt 4.4
Inherits: QTextCharFormat

This class was introduced in Qt 4.4.

Note: All functions in this class are reentrant.

Additional Inherited Members

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 QTextFormat, QTextBlockFormat, QTextTableFormat, and QTextCharFormat.