QTextTableCellFormat¶
The
QTextTableCellFormat
class provides formatting information for table cells in aQTextDocument
. 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
()
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()
.
-
class
QTextTableCellFormat
¶ QTextTableCellFormat(fmt)
QTextTableCellFormat(QTextTableCellFormat)
- param QTextTableCellFormat
- param fmt
Constructs a new table cell format object.
-
PySide2.QtGui.QTextTableCellFormat.
bottomBorder
()¶ - Return type
qreal
Returns the bottom border width of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
bottomBorderBrush
()¶ - Return type
Returns the bottom border brush of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
bottomBorderStyle
()¶ - Return type
BorderStyle
Returns the bottom border style of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
bottomPadding
()¶ - Return type
qreal
Gets the bottom padding of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
leftBorder
()¶ - Return type
qreal
Returns the left border width of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
leftBorderBrush
()¶ - Return type
Returns the left border brush of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
leftBorderStyle
()¶ - Return type
BorderStyle
Returns the left border style of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
leftPadding
()¶ - Return type
qreal
Gets the left padding of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
rightBorder
()¶ - Return type
qreal
Returns the right border width of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
rightBorderBrush
()¶ - Return type
Returns the right border brush of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
rightBorderStyle
()¶ - Return type
BorderStyle
Returns the right border style of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
rightPadding
()¶ - Return type
qreal
Gets the right padding of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setBorder
(width)¶ - Parameters
width –
qreal
Sets the left, right, top, and bottom border
width
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setBorderBrush
(brush)¶ - Parameters
brush –
QBrush
Sets the left, right, top, and bottom border
brush
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setBorderStyle
(style)¶ - Parameters
style –
BorderStyle
Sets the left, right, top, and bottom border
style
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setBottomBorder
(width)¶ - Parameters
width –
qreal
Sets the bottom border
width
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setBottomBorderBrush
(brush)¶ - Parameters
brush –
QBrush
Sets the bottom border
brush
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setBottomBorderStyle
(style)¶ - Parameters
style –
BorderStyle
Sets the bottom border
style
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setBottomPadding
(padding)¶ - Parameters
padding –
qreal
Sets the bottom
padding
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setLeftBorder
(width)¶ - Parameters
width –
qreal
Sets the left border
width
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setLeftBorderBrush
(brush)¶ - Parameters
brush –
QBrush
Sets the left border
brush
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setLeftBorderStyle
(style)¶ - Parameters
style –
BorderStyle
Sets the left border
style
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setLeftPadding
(padding)¶ - Parameters
padding –
qreal
Sets the left
padding
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setPadding
(padding)¶ - Parameters
padding –
qreal
Sets the left, right, top, and bottom
padding
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setRightBorder
(width)¶ - Parameters
width –
qreal
Sets the right border
width
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setRightBorderBrush
(brush)¶ - Parameters
brush –
QBrush
Sets the right border
brush
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setRightBorderStyle
(style)¶ - Parameters
style –
BorderStyle
Sets the right border
style
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setRightPadding
(padding)¶ - Parameters
padding –
qreal
Sets the right
padding
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
setTopBorder
(width)¶ - Parameters
width –
qreal
Sets the top border
width
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setTopBorderBrush
(brush)¶ - Parameters
brush –
QBrush
Sets the top border
brush
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setTopBorderStyle
(style)¶ - Parameters
style –
BorderStyle
Sets the top border
style
of the table cell.See also
-
PySide2.QtGui.QTextTableCellFormat.
setTopPadding
(padding)¶ - Parameters
padding –
qreal
Sets the top
padding
of the table cell.
-
PySide2.QtGui.QTextTableCellFormat.
topBorder
()¶ - Return type
qreal
Returns the top border width of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
topBorderBrush
()¶ - Return type
Returns the top border brush of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
topBorderStyle
()¶ - Return type
BorderStyle
Returns the top border style of the table cell.
See also
-
PySide2.QtGui.QTextTableCellFormat.
topPadding
()¶ - Return type
qreal
Gets the top padding of the table cell.
© 2020 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.