The PySide.QtGui.QTextTableCellFormat class provides formatting information for table cells in a PySide.QtGui.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 PySide.QtGui.QTextTableCellFormat.setLeftPadding() , PySide.QtGui.QTextTableCellFormat.setRightPadding() , PySide.QtGui.QTextTableCellFormat.setTopPadding() , and PySide.QtGui.QTextTableCellFormat.setBottomPadding() . All the paddings can be set at once using PySide.QtGui.QTextTableCellFormat.setPadding() .
| Parameters: |
|
|---|
Constructs a new table cell format object.
Creates a new table cell format with the same attributes as the given text format.
| Return type: | PySide.QtCore.qreal |
|---|
Gets the bottom padding of the table cell.
| Return type: | PySide.QtCore.qreal |
|---|
Gets the left padding of the table cell.
| Return type: | PySide.QtCore.qreal |
|---|
Gets the right padding of the table cell.
| Parameters: | padding – PySide.QtCore.qreal |
|---|
Sets the bottom padding of the table cell.
| Parameters: | padding – PySide.QtCore.qreal |
|---|
Sets the left padding of the table cell.
| Parameters: | padding – PySide.QtCore.qreal |
|---|
Sets the left, right, top, and bottom padding of the table cell.
| Parameters: | padding – PySide.QtCore.qreal |
|---|
Sets the right padding of the table cell.
| Parameters: | padding – PySide.QtCore.qreal |
|---|
Sets the top padding of the table cell.
| Return type: | PySide.QtCore.qreal |
|---|
Gets the top padding of the table cell.