QTextTableCellFormat Class
La classe QTextTableCellFormat fornisce informazioni di formattazione per le celle delle tabelle in un’ QTextDocument. Per saperne di più...
| Intestazione: | #include <QTextTableCellFormat> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::Gui) |
| qmake: | QT += gui |
| Eredita da: | QTextCharFormat |
- Elenco di tutti i membri, compresi quelli ereditati
- QTextTableCellFormat fa parte delle API di elaborazione del testo formattato e delle classi condivise implicitamente.
Nota: tutte le funzioni di questa classe sono rientranti.
Funzioni pubbliche
| QTextTableCellFormat() | |
| qreal | bottomBorder() const |
| QBrush | bottomBorderBrush() const |
| QTextFrameFormat::BorderStyle | bottomBorderStyle() const |
| qreal | bottomPadding() const |
| bool | isValid() const |
| qreal | leftBorder() const |
| QBrush | leftBorderBrush() const |
| QTextFrameFormat::BorderStyle | leftBorderStyle() const |
| qreal | leftPadding() const |
| qreal | rightBorder() const |
| QBrush | rightBorderBrush() const |
| QTextFrameFormat::BorderStyle | rightBorderStyle() const |
| qreal | rightPadding() const |
| void | setBorder(qreal width) |
| void | setBorderBrush(const QBrush &brush) |
| void | setBorderStyle(QTextFrameFormat::BorderStyle style) |
| void | setBottomBorder(qreal width) |
| void | setBottomBorderBrush(const QBrush &brush) |
| void | setBottomBorderStyle(QTextFrameFormat::BorderStyle style) |
| void | setBottomPadding(qreal padding) |
| void | setLeftBorder(qreal width) |
| void | setLeftBorderBrush(const QBrush &brush) |
| void | setLeftBorderStyle(QTextFrameFormat::BorderStyle style) |
| void | setLeftPadding(qreal padding) |
| void | setPadding(qreal padding) |
| void | setRightBorder(qreal width) |
| void | setRightBorderBrush(const QBrush &brush) |
| void | setRightBorderStyle(QTextFrameFormat::BorderStyle style) |
| void | setRightPadding(qreal padding) |
| void | setTopBorder(qreal width) |
| void | setTopBorderBrush(const QBrush &brush) |
| void | setTopBorderStyle(QTextFrameFormat::BorderStyle style) |
| void | setTopPadding(qreal padding) |
| qreal | topBorder() const |
| QBrush | topBorderBrush() const |
| QTextFrameFormat::BorderStyle | topBorderStyle() const |
| qreal | topPadding() const |
Descrizione dettagliata
Il formato di una cella di tabella in un documento specifica le proprietà visive della cella stessa.
Le proprietà di riempimento di una cella di tabella sono controllate da ` setLeftPadding()`, ` setRightPadding()`, ` setTopPadding()` e ` setBottomPadding()`. Tutti i riempimenti possono essere impostati contemporaneamente utilizzando ` setPadding()`.
Vedi anche QTextFormat, QTextBlockFormat, QTextTableFormat e QTextCharFormat.
Documentazione delle funzioni membro
QTextTableCellFormat::QTextTableCellFormat()
Crea un nuovo oggetto di formattazione delle celle di una tabella.
qreal QTextTableCellFormat::bottomBorder() const
Restituisce la larghezza del bordo inferiore della cella della tabella.
Vedi anche setBottomBorder().
QBrush QTextTableCellFormat::bottomBorderBrush() const
Restituisce il pennello del bordo inferiore della cella della tabella.
Vedi anche setBottomBorderBrush().
QTextFrameFormat::BorderStyle QTextTableCellFormat::bottomBorderStyle() const
Restituisce lo stile del bordo inferiore della cella della tabella.
Vedi anche setBottomBorderStyle().
qreal QTextTableCellFormat::bottomPadding() const
Recupera il margine inferiore della cella della tabella.
Vedi anche setBottomPadding(), leftPadding(), rightPadding() e topPadding().
bool QTextTableCellFormat::isValid() const
Restituisce ` true ` se il formato della cella della tabella è valido; in caso contrario, restituisce ` false`.
qreal QTextTableCellFormat::leftBorder() const
Restituisce la larghezza del bordo sinistro della cella della tabella.
Vedi anche setLeftBorder().
QBrush QTextTableCellFormat::leftBorderBrush() const
Restituisce il pennello del bordo sinistro della cella della tabella.
Vedi anche setLeftBorderBrush().
QTextFrameFormat::BorderStyle QTextTableCellFormat::leftBorderStyle() const
Restituisce lo stile del bordo sinistro della cella della tabella.
Vedi anche setLeftBorderStyle().
qreal QTextTableCellFormat::leftPadding() const
Recupera il riempimento a sinistra della cella della tabella.
Vedi anche setLeftPadding(), rightPadding(), topPadding() e bottomPadding().
qreal QTextTableCellFormat::rightBorder() const
Restituisce la larghezza del bordo destro della cella della tabella.
Vedi anche setRightBorder().
QBrush QTextTableCellFormat::rightBorderBrush() const
Restituisce il pennello del bordo destro della cella della tabella.
Vedi anche setRightBorderBrush().
QTextFrameFormat::BorderStyle QTextTableCellFormat::rightBorderStyle() const
Restituisce lo stile del bordo destro della cella della tabella.
Vedi anche setRightBorderStyle().
qreal QTextTableCellFormat::rightPadding() const
Ottiene il riempimento corretto della cella della tabella.
Vedi anche setRightPadding(), leftPadding(), topPadding() e bottomPadding().
void QTextTableCellFormat::setBorder(qreal width)
Imposta i margini sinistro, destro, superiore e inferiore width della cella della tabella.
Vedi anche setLeftBorder(), setRightBorder(), setTopBorder(), setBottomBorder() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBorderBrush(const QBrush &brush)
Imposta i bordi sinistro, destro, superiore e inferiore brush della cella della tabella.
Vedi anche setLeftBorderBrush(), setRightBorderBrush(), setTopBorderBrush(), setBottomBorderBrush() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBorderStyle(QTextFrameFormat::BorderStyle style)
Imposta i bordi sinistro, destro, superiore e inferiore style della cella della tabella.
Vedi anche setLeftBorderStyle(), setRightBorderStyle(), setTopBorderStyle(), setBottomBorderStyle() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBottomBorder(qreal width)
Imposta il bordo inferiore width della cella della tabella.
Vedi anche bottomBorder() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBottomBorderBrush(const QBrush &brush)
Imposta il bordo inferiore brush della cella della tabella.
Vedi anche bottomBorderBrush() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBottomBorderStyle(QTextFrameFormat::BorderStyle style)
Imposta il bordo inferiore style della cella della tabella.
Vedi anche bottomBorderStyle() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setBottomPadding(qreal padding)
Imposta l'padding e inferiore della cella della tabella.
Vedi anche bottomPadding(), setLeftPadding(), setRightPadding() e setTopPadding().
void QTextTableCellFormat::setLeftBorder(qreal width)
Imposta il bordo sinistro width della cella della tabella.
Vedi anche leftBorder() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setLeftBorderBrush(const QBrush &brush)
Imposta il bordo sinistro brush della cella della tabella.
Vedi anche leftBorderBrush() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setLeftBorderStyle(QTextFrameFormat::BorderStyle style)
Imposta il bordo sinistro style della cella della tabella.
Vedi anche leftBorderStyle() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setLeftPadding(qreal padding)
Imposta l'padding sinistro della cella della tabella.
Vedi anche leftPadding(), setRightPadding(), setTopPadding() e setBottomPadding().
void QTextTableCellFormat::setPadding(qreal padding)
Imposta i margini sinistro, destro, superiore e inferiore ( padding ) della cella della tabella.
Vedi anche setLeftPadding(), setRightPadding(), setTopPadding() e setBottomPadding().
void QTextTableCellFormat::setRightBorder(qreal width)
Imposta il bordo destro width della cella della tabella.
Vedi anche rightBorder() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setRightBorderBrush(const QBrush &brush)
Imposta il bordo destro brush della cella della tabella.
Vedi anche rightBorderBrush() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setRightBorderStyle(QTextFrameFormat::BorderStyle style)
Imposta il bordo destro style della cella della tabella.
Vedi anche rightBorderStyle() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setRightPadding(qreal padding)
Imposta l'padding a destra della cella della tabella.
Vedi anche rightPadding(), setLeftPadding(), setTopPadding() e setBottomPadding().
void QTextTableCellFormat::setTopBorder(qreal width)
Imposta il bordo superiore width della cella della tabella.
Vedi anche topBorder() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setTopBorderBrush(const QBrush &brush)
Imposta il bordo superiore brush della cella della tabella.
Vedi anche topBorderBrush() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setTopBorderStyle(QTextFrameFormat::BorderStyle style)
Imposta il bordo superiore style della cella della tabella.
Vedi anche topBorderStyle() e QTextTableFormat::setBorderCollapse.
void QTextTableCellFormat::setTopPadding(qreal padding)
Imposta l'padding e superiore della cella della tabella.
Vedi anche topPadding(), setLeftPadding(), setRightPadding() e setBottomPadding().
qreal QTextTableCellFormat::topBorder() const
Restituisce la larghezza del bordo superiore della cella della tabella.
Vedi anche setTopBorder().
QBrush QTextTableCellFormat::topBorderBrush() const
Restituisce il pennello del bordo superiore della cella della tabella.
Vedi anche setTopBorderBrush().
QTextFrameFormat::BorderStyle QTextTableCellFormat::topBorderStyle() const
Restituisce lo stile del bordo superiore della cella della tabella.
Vedi anche setTopBorderStyle().
qreal QTextTableCellFormat::topPadding() const
Recupera il padding superiore della cella della tabella.
Vedi anche setTopPadding(), leftPadding(), rightPadding() e bottomPadding().
© 2026 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.