PySide6.QtGui.QTextTableCellFormat¶
- class QTextTableCellFormat¶
- The - QTextTableCellFormatclass provides formatting information for table cells in a- QTextDocument. More…- Synopsis¶- Methods¶- def - __init__()
- def - bottomBorder()
- def - bottomPadding()
- def - leftBorder()
- def - leftPadding()
- def - rightBorder()
- def - rightPadding()
- def - setBorder()
- def - setBorderBrush()
- def - setBorderStyle()
- def - setLeftBorder()
- def - setLeftPadding()
- def - setPadding()
- def - setRightBorder()
- def - setTopBorder()
- def - setTopPadding()
- 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().- __init__()¶
 - Constructs a new table cell format object. - __init__(fmt)
- Parameters:
- fmt – - QTextFormat
 
 - bottomBorder()¶
- Return type:
- float 
 
 - Returns the bottom border width of the table cell. - See also - Returns the bottom border brush of the table cell. - See also - bottomBorderStyle()¶
- Return type:
 
 - Returns the bottom border style of the table cell. - See also - bottomPadding()¶
- Return type:
- float 
 
 - Gets the bottom padding of the table cell. - leftBorder()¶
- Return type:
- float 
 
 - Returns the left border width of the table cell. - See also - Returns the left border brush of the table cell. - See also - leftBorderStyle()¶
- Return type:
 
 - Returns the left border style of the table cell. - See also - leftPadding()¶
- Return type:
- float 
 
 - Gets the left padding of the table cell. - rightBorder()¶
- Return type:
- float 
 
 - Returns the right border width of the table cell. - See also - Returns the right border brush of the table cell. - See also - rightBorderStyle()¶
- Return type:
 
 - Returns the right border style of the table cell. - See also - rightPadding()¶
- Return type:
- float 
 
 - Gets the right padding of the table cell. - setBorder(width)¶
- Parameters:
- width – float 
 
 - Sets the left, right, top, and bottom border - widthof the table cell.- Sets the left, right, top, and bottom border - brushof the table cell.- setBorderStyle(style)¶
- Parameters:
- style – - BorderStyle
 
 - Sets the left, right, top, and bottom border - styleof the table cell.- setBottomBorder(width)¶
- Parameters:
- width – float 
 
 - Sets the bottom border - widthof the table cell.- See also - Sets the bottom border - brushof the table cell.- See also - setBottomBorderStyle(style)¶
- Parameters:
- style – - BorderStyle
 
 - Sets the bottom border - styleof the table cell.- See also - setBottomPadding(padding)¶
- Parameters:
- padding – float 
 
 - Sets the bottom - paddingof the table cell.- setLeftBorder(width)¶
- Parameters:
- width – float 
 
 - Sets the left border - widthof the table cell.- See also - Sets the left border - brushof the table cell.- See also - setLeftBorderStyle(style)¶
- Parameters:
- style – - BorderStyle
 
 - Sets the left border - styleof the table cell.- See also - setLeftPadding(padding)¶
- Parameters:
- padding – float 
 
 - Sets the left - paddingof the table cell.- setPadding(padding)¶
- Parameters:
- padding – float 
 
 - Sets the left, right, top, and bottom - paddingof the table cell.- setRightBorder(width)¶
- Parameters:
- width – float 
 
 - Sets the right border - widthof the table cell.- See also - Sets the right border - brushof the table cell.- See also - setRightBorderStyle(style)¶
- Parameters:
- style – - BorderStyle
 
 - Sets the right border - styleof the table cell.- See also - setRightPadding(padding)¶
- Parameters:
- padding – float 
 
 - Sets the right - paddingof the table cell.- setTopBorder(width)¶
- Parameters:
- width – float 
 
 - Sets the top border - widthof the table cell.- See also - Sets the top border - brushof the table cell.- See also - setTopBorderStyle(style)¶
- Parameters:
- style – - BorderStyle
 
 - Sets the top border - styleof the table cell.- See also - setTopPadding(padding)¶
- Parameters:
- padding – float 
 
 - Sets the top - paddingof the table cell.- topBorder()¶
- Return type:
- float 
 
 - Returns the top border width of the table cell. - See also - Returns the top border brush of the table cell. - See also - topBorderStyle()¶
- Return type:
 
 - Returns the top border style of the table cell. - See also - topPadding()¶
- Return type:
- float 
 
 - Gets the top padding of the table cell.