- class QTextTableCellFormat¶
The
QTextTableCellFormat
class provides formatting information for table cells in aQTextDocument
. 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()
, andsetBottomPadding()
. All the paddings can be set at once usingsetPadding()
.- __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
width
of the table cell.Sets the left, right, top, and bottom border
brush
of the table cell.- setBorderStyle(style)¶
- Parameters:
style –
BorderStyle
Sets the left, right, top, and bottom border
style
of the table cell.- setBottomBorder(width)¶
- Parameters:
width – float
Sets the bottom border
width
of the table cell.See also
Sets the bottom border
brush
of the table cell.See also
- setBottomBorderStyle(style)¶
- Parameters:
style –
BorderStyle
Sets the bottom border
style
of the table cell.See also
- setBottomPadding(padding)¶
- Parameters:
padding – float
Sets the bottom
padding
of the table cell.- setLeftBorder(width)¶
- Parameters:
width – float
Sets the left border
width
of the table cell.See also
Sets the left border
brush
of the table cell.See also
- setLeftBorderStyle(style)¶
- Parameters:
style –
BorderStyle
Sets the left border
style
of the table cell.See also
- setLeftPadding(padding)¶
- Parameters:
padding – float
Sets the left
padding
of the table cell.- setPadding(padding)¶
- Parameters:
padding – float
Sets the left, right, top, and bottom
padding
of the table cell.- setRightBorder(width)¶
- Parameters:
width – float
Sets the right border
width
of the table cell.See also
Sets the right border
brush
of the table cell.See also
- setRightBorderStyle(style)¶
- Parameters:
style –
BorderStyle
Sets the right border
style
of the table cell.See also
- setRightPadding(padding)¶
- Parameters:
padding – float
Sets the right
padding
of the table cell.- setTopBorder(width)¶
- Parameters:
width – float
Sets the top border
width
of the table cell.See also
Sets the top border
brush
of the table cell.See also
- setTopBorderStyle(style)¶
- Parameters:
style –
BorderStyle
Sets the top border
style
of the table cell.See also
- setTopPadding(padding)¶
- Parameters:
padding – float
Sets the top
padding
of 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.