The QQuickTextDocument class provides access to the QTextDocument of QQuickTextEdit. More...
Header: | #include <QQuickTextDocument> |
qmake: | QT += quick |
Since: | Qt 5.1 |
Inherits: | QObject |
QQuickTextDocument(QQuickItem *parent) | |
QTextDocument * | textDocument() const |
The QQuickTextDocument class provides access to the QTextDocument of QQuickTextEdit.
This class provides access to the QTextDocument of QQuickTextEdit elements. This is provided to allow usage of the Rich Text Processing functionalities of Qt. You are not allowed to modify the document, but it can be used to output content, for example with QTextDocumentWriter), or provide additional formatting, for example with QSyntaxHighlighter.
The class has to be used from C++ directly, using the property of the TextEdit.
Warning: The QTextDocument provided is used internally by Qt Quick elements to provide text manipulation primitives. You are not allowed to perform any modification of the internal state of the QTextDocument. If you do, the element in question may stop functioning or crash.
Constructs a QQuickTextDocument object with parent as the parent object.
Returns a pointer to the QTextDocument object.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: