diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-02-15 18:25:47 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-19 23:22:33 +0100 |
commit | 8e949e741bab0ee084444bb176a57ad61deb0f3f (patch) | |
tree | 81e30f6f7fc5cb6d717152000801bd700ef4e08b /tests/auto/quick/qquicktextdocument/data | |
parent | 97724fb418a507eea6b7c88857c1b300fd0d3515 (diff) |
Add QQuickTextDocument
Adding QQuickTextDocument as a way to
access the QTextDocument of QQuickTextEdit from C++.
This makes it possible to use a
QSyntaxHighlighter from C++ without exposing more
than one single qml property in the TextEdit.
Change-Id: If1790b591493adcb0b68aef0c8ca706e00450657
Reviewed-by: Alan Alpert <aalpert@rim.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/auto/quick/qquicktextdocument/data')
-rw-r--r-- | tests/auto/quick/qquicktextdocument/data/text.qml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/quick/qquicktextdocument/data/text.qml b/tests/auto/quick/qquicktextdocument/data/text.qml new file mode 100644 index 0000000000..43a8c6bb82 --- /dev/null +++ b/tests/auto/quick/qquicktextdocument/data/text.qml @@ -0,0 +1,6 @@ +import QtQuick 2.1 + +TextEdit { + text: "" +} + |