diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index 161cfb1abad..73b0e769169 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -3291,7 +3291,7 @@ QTextTableFormat::QTextTableFormat(const QTextFormat &fmt) \fn void QTextTableFormat::setBorderCollapse(bool borderCollapse) \since 5.14 - Enabling \a borderCollapse will have the following implications: + By default, \l borderCollapse() is \c true, which has the following implications: \list \li The borders and grid of the table will be rendered following the CSS table \c border-collapse: \c collapse rules @@ -3308,10 +3308,12 @@ QTextTableFormat::QTextTableFormat(const QTextFormat &fmt) \endlist \endlist - With borderCollapse disabled, cell borders can still be styled + With \a borderCollapse set to \c false, cell borders can still be styled using QTextTableCellFormat but styling will be applied only within the cell's frame, which is probably not very useful in practice. + \note In Qt versions prior to 6.8, the default value was \c false. + \sa setBorder(), setBorderBrush(), setBorderStyle() \sa QTextTableCellFormat */ @@ -3320,7 +3322,7 @@ QTextTableFormat::QTextTableFormat(const QTextFormat &fmt) \fn bool QTextTableFormat::borderCollapse() const \since 5.14 - Returns true if borderCollapse is enabled. + Returns \c true if table borders are to be collapsed. The default is \c true. \sa setBorderCollapse() */