The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument . 更多...
| 頭: | #include <QTextTableCellFormat> |
| qmake: | QT += gui |
| Since: | Qt 4.4 |
| 繼承: | QTextCharFormat |
注意: 此類的所有函數 可重入 .
| 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 (),和 setBottomPadding (). All the paddings can be set at once using setPadding ().
另請參閱 QTextFormat , QTextBlockFormat , QTextTableFormat ,和 QTextCharFormat .
Constructs a new table cell format object.
該函數在 Qt 4.4 引入。
Gets the bottom padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 setBottomPadding (), leftPadding (), rightPadding (),和 topPadding ().
返迴
true
if this table cell format is valid; otherwise returns
false
.
該函數在 Qt 4.4 引入。
Gets the left padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 setLeftPadding (), rightPadding (), topPadding (),和 bottomPadding ().
Gets the right padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 setRightPadding (), leftPadding (), topPadding (),和 bottomPadding ().
Sets the bottom padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 bottomPadding (), setLeftPadding (), setRightPadding (),和 setTopPadding ().
Sets the left padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 leftPadding (), setRightPadding (), setTopPadding (),和 setBottomPadding ().
Sets the left, right, top, and bottom padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 setLeftPadding (), setRightPadding (), setTopPadding (),和 setBottomPadding ().
Sets the right padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 rightPadding (), setLeftPadding (), setTopPadding (),和 setBottomPadding ().
Sets the top padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 topPadding (), setLeftPadding (), setRightPadding (),和 setBottomPadding ().
Gets the top padding of the table cell.
該函數在 Qt 4.4 引入。
另請參閱 setTopPadding (), leftPadding (), rightPadding (),和 bottomPadding ().