Doc: Merge dangling text with \note paragraph

It's not possible to have empty lines inside a \note as this will cause
the text after the empty line to appear outside the note box. So, remove
the empty lines to make the note paragraph complete.
Also, revise the text.

Fixes: QTBUG-117111
Pick-to: 6.5
Change-Id: I50ad0cd559f684c5264898ef8bbac16910f96dea
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit e4bde15e149cf449911c9b871acfe8fafd4ac712)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Andreas Eliasson 2023-11-10 13:38:15 +01:00 committed by Qt Cherry-pick Bot
parent 462351a107
commit 8806b91afe

View File

@ -1287,15 +1287,13 @@ QString QPropertyBindingError::description() const
can be used to express relationships between different properties in your
application.
\note In the case of QML it is important that \l QProperty needs to be exposed
in \l Q_PROPERTY with the BINDABLE keyword. As a result the QML engine, uses it
as the bindable interface to set up the property binding. In turn, the binding
can be then interacted with C++ via the normal API like:
\note For QML, it's important to expose the \l QProperty in \l Q_PROPERTY
with the BINDABLE keyword. As a result, the QML engine uses
it as the bindable interface to set up the property binding. In turn, the
binding can then be interacted with C++ via the normal API:
QProperty<T>::onValueChanged, QProperty::takeBinding and QBindable::hasBinding
If the property is BINDABLE, then the engine will use the change-tracking
inherent to the C++ property system for getting notified about changes; and
If the property is BINDABLE, the engine will use the change-tracking
inherent to the C++ property system for getting notified about changes, and it
won't rely on signals being emitted.
*/