QTextTableCellFormat露

The QTextTableCellFormat class provides formatting information for table cells in a QTextDocument . More鈥�

Inheritance diagram of PySide2.QtGui.QTextTableCellFormat

Synopsis露

Functions露

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 PySide2.QtGui.QTextTableCellFormat露

PySide2.QtGui.QTextTableCellFormat(fmt)

PySide2.QtGui.QTextTableCellFormat(QTextTableCellFormat)

param QTextTableCellFormat:

PySide2.QtGui.QTextTableCellFormat

param fmt:

PySide2.QtGui.QTextFormat

Constructs a new table cell format object.

PySide2.QtGui.QTextTableCellFormat.bottomBorder()露
Return type:

float

Returns the bottom border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.bottomBorderBrush()露
Return type:

PySide2.QtGui.QBrush

Returns the bottom border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.bottomBorderStyle()露
Return type:

BorderStyle

Returns the bottom border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.bottomPadding()露
Return type:

float

Gets the bottom padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.leftBorder()露
Return type:

float

Returns the left border width of the table cell.

See also

setLeftBorder()

PySide2.QtGui.QTextTableCellFormat.leftBorderBrush()露
Return type:

PySide2.QtGui.QBrush

Returns the left border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.leftBorderStyle()露
Return type:

BorderStyle

Returns the left border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.leftPadding()露
Return type:

float

Gets the left padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.rightBorder()露
Return type:

float

Returns the right border width of the table cell.

See also

setRightBorder()

PySide2.QtGui.QTextTableCellFormat.rightBorderBrush()露
Return type:

PySide2.QtGui.QBrush

Returns the right border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.rightBorderStyle()露
Return type:

BorderStyle

Returns the right border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.rightPadding()露
Return type:

float

Gets the right padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.setBorder(width)露
Parameters:

width 鈥� float

Sets the left, right, top, and bottom border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.setBorderBrush(brush)露
Parameters:

brush 鈥� PySide2.QtGui.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 鈥� float

Sets the bottom border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.setBottomBorderBrush(brush)露
Parameters:

brush 鈥� PySide2.QtGui.QBrush

Sets the bottom border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.setBottomBorderStyle(style)露
Parameters:

style 鈥� BorderStyle

Sets the bottom border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.setBottomPadding(padding)露
Parameters:

padding 鈥� float

Sets the bottom padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.setLeftBorder(width)露
Parameters:

width 鈥� float

Sets the left border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.setLeftBorderBrush(brush)露
Parameters:

brush 鈥� PySide2.QtGui.QBrush

Sets the left border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.setLeftBorderStyle(style)露
Parameters:

style 鈥� BorderStyle

Sets the left border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.setLeftPadding(padding)露
Parameters:

padding 鈥� float

Sets the left padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.setPadding(padding)露
Parameters:

padding 鈥� float

Sets the left, right, top, and bottom padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.setRightBorder(width)露
Parameters:

width 鈥� float

Sets the right border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.setRightBorderBrush(brush)露
Parameters:

brush 鈥� PySide2.QtGui.QBrush

Sets the right border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.setRightBorderStyle(style)露
Parameters:

style 鈥� BorderStyle

Sets the right border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.setRightPadding(padding)露
Parameters:

padding 鈥� float

Sets the right padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.setTopBorder(width)露
Parameters:

width 鈥� float

Sets the top border width of the table cell.

PySide2.QtGui.QTextTableCellFormat.setTopBorderBrush(brush)露
Parameters:

brush 鈥� PySide2.QtGui.QBrush

Sets the top border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.setTopBorderStyle(style)露
Parameters:

style 鈥� BorderStyle

Sets the top border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.setTopPadding(padding)露
Parameters:

padding 鈥� float

Sets the top padding of the table cell.

PySide2.QtGui.QTextTableCellFormat.topBorder()露
Return type:

float

Returns the top border width of the table cell.

See also

setTopBorder()

PySide2.QtGui.QTextTableCellFormat.topBorderBrush()露
Return type:

PySide2.QtGui.QBrush

Returns the top border brush of the table cell.

PySide2.QtGui.QTextTableCellFormat.topBorderStyle()露
Return type:

BorderStyle

Returns the top border style of the table cell.

PySide2.QtGui.QTextTableCellFormat.topPadding()露
Return type:

float

Gets the top padding of the table cell.