diff options
Diffstat (limited to 'src/quick/scenegraph/util/qsgtextnode.cpp')
-rw-r--r-- | src/quick/scenegraph/util/qsgtextnode.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/quick/scenegraph/util/qsgtextnode.cpp b/src/quick/scenegraph/util/qsgtextnode.cpp index 27f9e3edae..7f98664ed7 100644 --- a/src/quick/scenegraph/util/qsgtextnode.cpp +++ b/src/quick/scenegraph/util/qsgtextnode.cpp @@ -243,6 +243,8 @@ QT_BEGIN_NAMESPACE objects to include from the layout. This can be useful, for instance, when creating elided layouts. If \a lineCount is < 0, then the the node will include the lines from \a lineStart to the end of the layout. + + \sa clear() */ /*! @@ -252,6 +254,17 @@ QT_BEGIN_NAMESPACE then this marks the first character in a selected area of \a selectionCount number of characters. The selection is represented as a background fill with the \l selectionColor() and the selected text is rendered in the \l selectionTextColor(). + + \sa clear() +*/ + +/*! + \fn QSGTextNode::clear() + + Clears the contents of the node, deleting nodes and other data that represents the layouts + and documents that have been added to it. + + \sa addTextLayout(), addTextDocument() */ QT_END_NAMESPACE |