Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

QTextTableCellFormat Class

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

 #include <QTextTableCellFormat>

Inherits: QTextCharFormat.

Note: All functions in this class are reentrant.

This class was introduced in Qt 4.4.

Public Functions

QTextTableCellFormat()
qreal bottomPadding() const
bool isValid() const
qreal leftPadding() const
qreal rightPadding() const
void setBottomPadding(qreal padding)
void setLeftPadding(qreal padding)
void setPadding(qreal padding)
void setRightPadding(qreal padding)
void setTopPadding(qreal padding)
qreal topPadding() const

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

See also QTextFormat, QTextBlockFormat, QTextTableFormat, and QTextCharFormat.

Member Function Documentation

QTextTableCellFormat::QTextTableCellFormat()

Constructs a new table cell format object.

This function was introduced in Qt 4.4.

qreal QTextTableCellFormat::bottomPadding() const

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

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

This function was introduced in Qt 4.4.

qreal QTextTableCellFormat::leftPadding() const

Gets the left padding of the table cell.

This function was introduced in Qt 4.4.

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

qreal QTextTableCellFormat::rightPadding() const

Gets the right padding of the table cell.

This function was introduced in Qt 4.4.

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

void QTextTableCellFormat::setBottomPadding(qreal padding)

Sets the bottom padding of the table cell.

This function was introduced in Qt 4.4.

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

void QTextTableCellFormat::setLeftPadding(qreal padding)

Sets the left padding of the table cell.

This function was introduced in Qt 4.4.

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

void QTextTableCellFormat::setPadding(qreal 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().

void QTextTableCellFormat::setRightPadding(qreal padding)

Sets the right padding of the table cell.

This function was introduced in Qt 4.4.

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

void QTextTableCellFormat::setTopPadding(qreal padding)

Sets the top padding of the table cell.

This function was introduced in Qt 4.4.

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

qreal QTextTableCellFormat::topPadding() const

Gets the top padding of the table cell.

This function was introduced in Qt 4.4.

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

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 5.0-snapshot
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web