The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. More...
#include <QTextTableCellFormat>
Inherits: QTextCharFormat.
Note: All functions in this class are reentrant.
This class was introduced in Qt 4.4.
QTextTableCellFormat () | |
qreal | bottomPadding () const |
bool | isValid () const |
qreal | leftPadding () const |
qreal | rightPadding () const |
void | setBottomPadding ( qreal padding ) |
void | setLeftPadding ( qreal padding ) |
void | setPadding ( qreal padding ) |
void | setRightPadding ( qreal padding ) |
void | setTopPadding ( qreal padding ) |
qreal | topPadding () const |
The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument.
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.
Constructs a new table cell format object.
This function was introduced in Qt 4.4.
Gets the bottom padding of the table cell.
This function was introduced in Qt 4.4.
See also setBottomPadding(), leftPadding(), rightPadding(), and topPadding().
Returns true if this table cell format is valid; otherwise returns false.
This function was introduced in Qt 4.4.
Gets the left padding of the table cell.
This function was introduced in Qt 4.4.
See also setLeftPadding(), rightPadding(), topPadding(), and bottomPadding().
Gets the right padding of the table cell.
This function was introduced in Qt 4.4.
See also setRightPadding(), leftPadding(), topPadding(), and bottomPadding().
Sets the bottom padding of the table cell.
This function was introduced in Qt 4.4.
See also bottomPadding(), setLeftPadding(), setRightPadding(), and setTopPadding().
Sets the left padding of the table cell.
This function was introduced in Qt 4.4.
See also leftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding().
Sets the left, right, top, and bottom padding of the table cell.
This function was introduced in Qt 4.4.
See also setLeftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding().
Sets the right padding of the table cell.
This function was introduced in Qt 4.4.
See also rightPadding(), setLeftPadding(), setTopPadding(), and setBottomPadding().
Sets the top padding of the table cell.
This function was introduced in Qt 4.4.
See also topPadding(), setLeftPadding(), setRightPadding(), and setBottomPadding().
Gets the top padding of the table cell.
This function was introduced in Qt 4.4.
See also setTopPadding(), leftPadding(), rightPadding(), and bottomPadding().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.