Home · All Classes · Modules

QTextTableCellFormat Class Reference
[QtGui module]

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

Inherits QTextCharFormat.

Methods


Detailed Description

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

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().


Method Documentation

QTextTableCellFormat.__init__ (self)

Constructs a new table cell format object.

This function was introduced in Qt 4.4.

QTextTableCellFormat.__init__ (self, QTextTableCellFormat)

float QTextTableCellFormat.bottomPadding (self)

Gets the bottom padding of the table cell.

This function was introduced in Qt 4.4.

See also setBottomPadding(), leftPadding(), rightPadding(), and topPadding().

bool QTextTableCellFormat.isValid (self)

Returns true if this table cell format is valid; otherwise returns false.

This function was introduced in Qt 4.4.

float QTextTableCellFormat.leftPadding (self)

Gets the left padding of the table cell.

This function was introduced in Qt 4.4.

See also setLeftPadding(), rightPadding(), topPadding(), and bottomPadding().

float QTextTableCellFormat.rightPadding (self)

Gets the right padding of the table cell.

This function was introduced in Qt 4.4.

See also setRightPadding(), leftPadding(), topPadding(), and bottomPadding().

QTextTableCellFormat.setBottomPadding (self, float padding)

Sets the bottom padding of the table cell.

This function was introduced in Qt 4.4.

See also bottomPadding(), setLeftPadding(), setRightPadding(), and setTopPadding().

QTextTableCellFormat.setLeftPadding (self, float padding)

Sets the left padding of the table cell.

This function was introduced in Qt 4.4.

See also leftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding().

QTextTableCellFormat.setPadding (self, float padding)

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

This function was introduced in Qt 4.4.

See also setLeftPadding(), setRightPadding(), setTopPadding(), and setBottomPadding().

QTextTableCellFormat.setRightPadding (self, float padding)

Sets the right padding of the table cell.

This function was introduced in Qt 4.4.

See also rightPadding(), setLeftPadding(), setTopPadding(), and setBottomPadding().

QTextTableCellFormat.setTopPadding (self, float padding)

Sets the top padding of the table cell.

This function was introduced in Qt 4.4.

See also topPadding(), setLeftPadding(), setRightPadding(), and setBottomPadding().

float QTextTableCellFormat.topPadding (self)

Gets the top padding of the table cell.

This function was introduced in Qt 4.4.

See also setTopPadding(), leftPadding(), rightPadding(), and bottomPadding().


PyQt 4.10.1 for MacOSCopyright © Riverbank Computing Ltd and Nokia 2012Qt 4.8.4