![]() |
CopperSpice API
2.0.0
|
The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument. More...
Friends | |
| class | QTextFormat |
Additional Inherited Members | |
Public Types inherited from QTextCharFormat | |
| enum | FontPropertiesInheritanceBehavior |
| enum | UnderlineStyle |
| enum | VerticalAlignment |
Public Types inherited from QTextFormat | |
| enum | FormatType |
| enum | ObjectTypes |
| enum | Property |
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().
| QTextTableCellFormat::QTextTableCellFormat | ( | ) |
Constructs a new table cell format object.
|
inline |
Gets the bottom padding of the table cell.
|
inline |
Returns true if this table cell format is valid, otherwise returns false.
|
inline |
Gets the left padding of the table cell.
|
inline |
Gets the right padding of the table cell.
|
inline |
Sets the bottom padding of the table cell.
|
inline |
Sets the left padding of the table cell.
|
inline |
Sets the left, right, top, and bottom padding of the table cell.
|
inline |
Sets the right padding of the table cell.
|
inline |
Sets the top padding of the table cell.
|
inline |
Gets the top padding of the table cell.