diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-01-17 10:42:26 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-19 11:11:02 +0100 |
commit | de0a5f28bc565c971989e68a19c8621a2309ed91 (patch) | |
tree | c1508783394682a2aab90fba81d7871a9c9a6036 /tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml | |
parent | bab2eaf3da299c471dd898c89cf356984b077412 (diff) |
Add a baseUrl property to Text and TextEdit.
Specifies the base URL which embedded links in rich text are resolved
against. By default this is the URL of the item.
Task-number: QTBUG-23655
Change-Id: Ib51b8503a18d9ac4e1801c77b77b3595d8f4912a
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml')
-rw-r--r-- | tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml b/tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml new file mode 100644 index 0000000000..200ded196d --- /dev/null +++ b/tests/auto/qtquick2/qquicktextedit/data/embeddedImagesLocalRelative.qml @@ -0,0 +1,7 @@ +import QtQuick 2.0 + +TextEdit { + textFormat: TextEdit.RichText + text: "<img src='exists.png'>" + baseUrl: "http/" +} |