QTextTableCellFormat#
The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument . More…
Synopsis#
Functions#
- def - bottomBorder()
- def - bottomBorderBrush()
- def - bottomBorderStyle()
- def - bottomPadding()
- def - leftBorder()
- def - leftBorderBrush()
- def - leftBorderStyle()
- def - leftPadding()
- def - rightBorder()
- def - rightBorderBrush()
- def - rightBorderStyle()
- def - rightPadding()
- def - setBorder(width)
- def - setBorderBrush(brush)
- def - setBorderStyle(style)
- def - setBottomBorder(width)
- def - setBottomBorderBrush(brush)
- def - setBottomBorderStyle(style)
- def - setBottomPadding(padding)
- def - setLeftBorder(width)
- def - setLeftBorderBrush(brush)
- def - setLeftBorderStyle(style)
- def - setLeftPadding(padding)
- def - setPadding(padding)
- def - setRightBorder(width)
- def - setRightBorderBrush(brush)
- def - setRightBorderStyle(style)
- def - setRightPadding(padding)
- def - setTopBorder(width)
- def - setTopBorderBrush(brush)
- def - setTopBorderStyle(style)
- def - setTopPadding(padding)
- def - topBorder()
- def - topBorderBrush()
- def - topBorderStyle()
- def - topPadding()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
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() .
- class PySide6.QtGui.QTextTableCellFormat#
- PySide6.QtGui.QTextTableCellFormat(fmt) - Parameters:
 
Constructs a new table cell format object.
- PySide6.QtGui.QTextTableCellFormat.bottomBorder()#
- Return type:
- float 
 
Returns the bottom border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.bottomBorderBrush()#
- Return type:
 
Returns the bottom border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.bottomBorderStyle()#
- Return type:
 
Returns the bottom border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.bottomPadding()#
- Return type:
- float 
 
Gets the bottom padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.leftBorder()#
- Return type:
- float 
 
Returns the left border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.leftBorderBrush()#
- Return type:
 
Returns the left border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.leftBorderStyle()#
- Return type:
 
Returns the left border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.leftPadding()#
- Return type:
- float 
 
Gets the left padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.rightBorder()#
- Return type:
- float 
 
Returns the right border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.rightBorderBrush()#
- Return type:
 
Returns the right border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.rightBorderStyle()#
- Return type:
 
Returns the right border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.rightPadding()#
- Return type:
- float 
 
Gets the right padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setBorder(width)#
- Parameters:
- width – float 
 
Sets the left, right, top, and bottom border width of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setBorderBrush(brush)#
- Parameters:
- brush – - PySide6.QtGui.QBrush
 
Sets the left, right, top, and bottom border brush of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setBorderStyle(style)#
- Parameters:
- style – - BorderStyle
 
Sets the left, right, top, and bottom border style of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setBottomBorder(width)#
- Parameters:
- width – float 
 
Sets the bottom border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setBottomBorderBrush(brush)#
- Parameters:
- brush – - PySide6.QtGui.QBrush
 
Sets the bottom border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setBottomBorderStyle(style)#
- Parameters:
- style – - BorderStyle
 
Sets the bottom border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setBottomPadding(padding)#
- Parameters:
- padding – float 
 
Sets the bottom padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setLeftBorder(width)#
- Parameters:
- width – float 
 
Sets the left border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setLeftBorderBrush(brush)#
- Parameters:
- brush – - PySide6.QtGui.QBrush
 
Sets the left border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setLeftBorderStyle(style)#
- Parameters:
- style – - BorderStyle
 
Sets the left border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setLeftPadding(padding)#
- Parameters:
- padding – float 
 
Sets the left padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setPadding(padding)#
- Parameters:
- padding – float 
 
Sets the left, right, top, and bottom padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setRightBorder(width)#
- Parameters:
- width – float 
 
Sets the right border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setRightBorderBrush(brush)#
- Parameters:
- brush – - PySide6.QtGui.QBrush
 
Sets the right border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setRightBorderStyle(style)#
- Parameters:
- style – - BorderStyle
 
Sets the right border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setRightPadding(padding)#
- Parameters:
- padding – float 
 
Sets the right padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.setTopBorder(width)#
- Parameters:
- width – float 
 
Sets the top border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setTopBorderBrush(brush)#
- Parameters:
- brush – - PySide6.QtGui.QBrush
 
Sets the top border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setTopBorderStyle(style)#
- Parameters:
- style – - BorderStyle
 
Sets the top border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.setTopPadding(padding)#
- Parameters:
- padding – float 
 
Sets the top padding of the table cell.
- PySide6.QtGui.QTextTableCellFormat.topBorder()#
- Return type:
- float 
 
Returns the top border width of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.topBorderBrush()#
- Return type:
 
Returns the top border brush of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.topBorderStyle()#
- Return type:
 
Returns the top border style of the table cell.
See also
- PySide6.QtGui.QTextTableCellFormat.topPadding()#
- Return type:
- float 
 
Gets the top padding of the table cell.