diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext')
36 files changed, 5365 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.qml new file mode 100644 index 0000000..56d616e --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data-X11/parentanchor.qml @@ -0,0 +1,131 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 32 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 48 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 64 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 80 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 96 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 112 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 128 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 144 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 160 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 176 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 192 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 208 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 224 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 240 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 256 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 272 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 288 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 304 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 320 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 336 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 352 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 368 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 384 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 400 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 416 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 432 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 448 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 464 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 480 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 496 + hash: "3e022a120a2dbe688d53657508de36cf" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data/parentanchor.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data/parentanchor.qml new file mode 100644 index 0000000..56d616e --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/data/parentanchor.qml @@ -0,0 +1,131 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 32 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 48 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 64 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 80 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 96 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 112 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 128 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 144 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 160 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 176 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 192 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 208 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 224 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 240 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 256 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 272 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 288 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 304 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 320 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 336 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 352 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 368 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 384 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 400 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 416 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 432 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 448 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 464 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 480 + hash: "3e022a120a2dbe688d53657508de36cf" + } + Frame { + msec: 496 + hash: "3e022a120a2dbe688d53657508de36cf" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/parentanchor.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/parentanchor.qml new file mode 100644 index 0000000..80f0f03 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/baseline/parentanchor.qml @@ -0,0 +1,14 @@ +import Qt 4.6 + +Rectangle { + id: s; width: 600; height: 100; color: "lightsteelblue" + property string text: "The quick brown fox jumps over the lazy dog." + Text { + text: s.text + anchors.verticalCenter: s.verticalCenter + } + Text { + text: s.text + anchors.baseline: s.verticalCenter + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.0.png Binary files differnew file mode 100644 index 0000000..eea3362 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.qml new file mode 100644 index 0000000..1ccede4 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide.qml @@ -0,0 +1,279 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 32 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 48 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 64 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 80 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 96 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 112 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 128 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 144 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 160 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 176 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 192 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 208 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 224 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 240 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 256 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 272 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 288 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 304 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 320 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 336 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 352 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 368 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 384 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 400 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 416 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 432 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 448 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 464 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 480 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 496 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 512 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 528 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 544 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 560 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 576 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 592 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 608 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 624 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 640 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 656 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 672 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 688 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 704 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 720 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 736 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 752 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 768 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 784 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 800 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 816 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 832 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 848 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 864 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 880 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 896 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 912 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 928 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 944 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 960 + image: "elide.0.png" + } + Frame { + msec: 976 + hash: "1678890d66761a30100c37132ccec9a2" + } + Key { + type: 6 + key: 16777249 + modifiers: 0 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 992 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 1008 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 1024 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 1040 + hash: "1678890d66761a30100c37132ccec9a2" + } + Frame { + msec: 1056 + hash: "1678890d66761a30100c37132ccec9a2" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.0.png Binary files differnew file mode 100644 index 0000000..3dfade5 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.1.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.1.png Binary files differnew file mode 100644 index 0000000..1ee2076 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.1.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.2.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.2.png Binary files differnew file mode 100644 index 0000000..ae680be --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.2.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.3.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.3.png Binary files differnew file mode 100644 index 0000000..c2859be --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.3.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.qml new file mode 100644 index 0000000..07ad236 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/elide2.qml @@ -0,0 +1,991 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 32 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 48 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 64 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 80 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 96 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 112 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 128 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 144 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 160 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 176 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 192 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 208 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 224 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 240 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 256 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 272 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 288 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 304 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 320 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 336 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 352 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 368 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 384 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 400 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 416 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 432 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 448 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 464 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 480 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 496 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 512 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 528 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 544 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 560 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 576 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 592 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 608 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 624 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 640 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 656 + hash: "3f362ad550db910f1d9f261557c65913" + } + Frame { + msec: 672 + hash: "3f362ad550db910f1d9f261557c65913" + } + Frame { + msec: 688 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 704 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 720 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 736 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 752 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 768 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 784 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 800 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 816 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 832 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 848 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 864 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 880 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 896 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 912 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 928 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 944 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 960 + image: "elide2.0.png" + } + Frame { + msec: 976 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 992 + hash: "a590e1358fac567dda9fdfc6bfe4ab89" + } + Frame { + msec: 1008 + hash: "a590e1358fac567dda9fdfc6bfe4ab89" + } + Frame { + msec: 1024 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1040 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1056 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1072 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1088 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1104 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1120 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1136 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1152 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1168 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1184 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1200 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1216 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1232 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1248 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1264 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1280 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1296 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1312 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1328 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1344 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1360 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1376 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1392 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1408 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1424 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1440 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1456 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1472 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1488 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1504 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1520 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1536 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1552 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1568 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1584 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1600 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1616 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1632 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1648 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1664 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1680 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1696 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1712 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1728 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1744 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Key { + type: 6 + key: 16777249 + modifiers: 0 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1760 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1776 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1792 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1808 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1824 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1840 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1856 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1872 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1888 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1904 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1920 + image: "elide2.1.png" + } + Frame { + msec: 1936 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1952 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1968 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 1984 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2000 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2016 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2032 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2048 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2064 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2080 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2096 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2112 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2128 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2144 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2160 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2176 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2192 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2208 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2224 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2240 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2256 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2272 + hash: "04c62a4d01e9309eaeea87902013c8b9" + } + Frame { + msec: 2288 + hash: "04c62a4d01e9309eaeea87902013c8b9" + } + Frame { + msec: 2304 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2320 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2336 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2352 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2368 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2384 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2400 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2416 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2432 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2448 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2464 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2480 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2496 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2512 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2528 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2544 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2560 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2576 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2592 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2608 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2624 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2640 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2656 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2672 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2688 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2704 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2720 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2736 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2752 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2768 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2784 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2800 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2816 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2832 + hash: "f44b88b80219497370b5d2ad380d03bf" + } + Frame { + msec: 2848 + hash: "f44b88b80219497370b5d2ad380d03bf" + } + Frame { + msec: 2864 + hash: "a093510751799f3466156f9775988044" + } + Frame { + msec: 2880 + image: "elide2.2.png" + } + Frame { + msec: 2896 + hash: "a093510751799f3466156f9775988044" + } + Frame { + msec: 2912 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2928 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2944 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2960 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2976 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2992 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3008 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3024 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3040 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3056 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3072 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3088 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3104 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3120 + hash: "df90afe882b18f3fd7b12e52ff36e66f" + } + Frame { + msec: 3136 + hash: "df90afe882b18f3fd7b12e52ff36e66f" + } + Frame { + msec: 3152 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3168 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3184 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3200 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3216 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3232 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3248 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3264 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3280 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3296 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3312 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3328 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3344 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3360 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3376 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3392 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3408 + hash: "e1ce9c06e59fb6348fff3ce650c7943e" + } + Frame { + msec: 3424 + hash: "e1ce9c06e59fb6348fff3ce650c7943e" + } + Frame { + msec: 3440 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3456 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3472 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3488 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3504 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3520 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3536 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3552 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3568 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3584 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3600 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3616 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3632 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3648 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3664 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3680 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3696 + hash: "6bfd7cfd6369df1eb570fda103d9e009" + } + Frame { + msec: 3712 + hash: "6bfd7cfd6369df1eb570fda103d9e009" + } + Frame { + msec: 3728 + hash: "b6dba4a456cd8d1b62501039cb796625" + } + Frame { + msec: 3744 + hash: "b6dba4a456cd8d1b62501039cb796625" + } + Frame { + msec: 3760 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3776 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3792 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3808 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3824 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3840 + image: "elide2.3.png" + } + Frame { + msec: 3856 + hash: "d2e873e69aed3e0b6e53123cd63e386c" + } + Frame { + msec: 3872 + hash: "d2e873e69aed3e0b6e53123cd63e386c" + } + Frame { + msec: 3888 + hash: "baa8edfce77628c7a1ec83adce96e2c6" + } + Frame { + msec: 3904 + hash: "baa8edfce77628c7a1ec83adce96e2c6" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.0.png Binary files differnew file mode 100644 index 0000000..80549b4 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.qml new file mode 100644 index 0000000..c2fd0d8 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-MAC/multilength.qml @@ -0,0 +1,303 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "17f39c541a0b5bf958c3fdaa51b72fec" + } + Frame { + msec: 32 + hash: "da61bb1afef532688045116bcce1da40" + } + Frame { + msec: 48 + hash: "04ddcb158ce8ade4ea9ad16405c7d81a" + } + Frame { + msec: 64 + hash: "7ca43ec7a6e630c9bc07478abf5c2686" + } + Frame { + msec: 80 + hash: "ae2c4e73395cf4a5663110ba1b9996b2" + } + Frame { + msec: 96 + hash: "5059426cced6ff6f92102100416b34d8" + } + Frame { + msec: 112 + hash: "e816cb366ba9498d0ae194b789c25f12" + } + Frame { + msec: 128 + hash: "fd8cd9b2916b7045086df92d19e8b436" + } + Frame { + msec: 144 + hash: "965dfe4cad0a3d07c0b086d6351a43a1" + } + Frame { + msec: 160 + hash: "56759a670c864d5f2ae392fa8545f3a4" + } + Frame { + msec: 176 + hash: "8d3c2be4fcef526650cc84b5c2d29170" + } + Frame { + msec: 192 + hash: "6d9f995bef186a69b259b8d18470f0e7" + } + Frame { + msec: 208 + hash: "670c68a0943c5f037f8bf4c9ca0df501" + } + Frame { + msec: 224 + hash: "6218cf02cb762aa6c33985fe1b2e47bb" + } + Frame { + msec: 240 + hash: "6e3424f2b72d6582ceb5a6c1bfe3dba4" + } + Frame { + msec: 256 + hash: "fb819344ab1d2966b043be790831e680" + } + Frame { + msec: 272 + hash: "a729845b780cc708ddd578eab3bc0ab1" + } + Frame { + msec: 288 + hash: "543f6566c4dfaecb70007848cc4f8525" + } + Frame { + msec: 304 + hash: "5497699414bd8a428ead9703dc7273d5" + } + Frame { + msec: 320 + hash: "e9230e525bb0ce33fe4bf3a2c948357d" + } + Frame { + msec: 336 + hash: "ef6a6989f013d444547c0b98a65a34bf" + } + Frame { + msec: 352 + hash: "ee89f5163fe269884d59acac7fc23336" + } + Frame { + msec: 368 + hash: "0ffb11ceccdc607c1a072dde4aa40f93" + } + Frame { + msec: 384 + hash: "97a51d7916e04815724506e289040e2a" + } + Frame { + msec: 400 + hash: "a63d6d73827e1b40a7fec76e6555d7ab" + } + Frame { + msec: 416 + hash: "d3eaf72442852317a48dc2b638ad48be" + } + Frame { + msec: 432 + hash: "fa867a486d51089ddfeb60b9d44b329e" + } + Frame { + msec: 448 + hash: "834ee944cfc63209bcba94153ccd2c4e" + } + Frame { + msec: 464 + hash: "6d637d4763ae457233ab669f9f124bc1" + } + Frame { + msec: 480 + hash: "66c60bd9de1870f46b726c404ab924d5" + } + Frame { + msec: 496 + hash: "088499b53390e3a2c3ca7f42cac101a4" + } + Frame { + msec: 512 + hash: "19d41f7696c86120460c4db7a0f9be1a" + } + Frame { + msec: 528 + hash: "cd3ae14964e174db94e3e6c8609f366a" + } + Frame { + msec: 544 + hash: "0c2172e091c2fb42d7c016779fa543d7" + } + Frame { + msec: 560 + hash: "7534175e24b2cbab08518de8fc691003" + } + Frame { + msec: 576 + hash: "a9ef64d20b4f93e60f25753e2d7dd2e0" + } + Frame { + msec: 592 + hash: "d8e62a9fec27bfc892b0f3034bc73c3f" + } + Frame { + msec: 608 + hash: "f8eee41f72e17693074a2ac250bb850e" + } + Frame { + msec: 624 + hash: "3a08b62a8aa1f410415afbd7b8ee8728" + } + Frame { + msec: 640 + hash: "0c4fba2bc8b7e440736f4a23d048c23c" + } + Frame { + msec: 656 + hash: "521264dbeec0fbe3a467739f0c3f7b85" + } + Frame { + msec: 672 + hash: "2c455560a624acfb7f316eae8926d765" + } + Frame { + msec: 688 + hash: "c9fa632a0998cfae39d434b623b3060d" + } + Frame { + msec: 704 + hash: "506ea16572fa0ee72cddcedfe5b4b9ea" + } + Frame { + msec: 720 + hash: "83ae06a3ad24d2a6d49c71df2a287716" + } + Frame { + msec: 736 + hash: "d4b11b45b4f97de0c0b878b97b804f09" + } + Frame { + msec: 752 + hash: "868aac6c273b7cc90c31c14298ab9a3b" + } + Frame { + msec: 768 + hash: "03d4222586194bb6513305d1837d3467" + } + Frame { + msec: 784 + hash: "21e6cd89f06077bd5d346c7ccb8fa1e9" + } + Frame { + msec: 800 + hash: "326092c4c29217f5afb5730ab3984353" + } + Frame { + msec: 816 + hash: "4963d64093e65fe1973ffab5b7a15abc" + } + Frame { + msec: 832 + hash: "3125e6e553bbf3f2fcf8fbf797a0c1f8" + } + Frame { + msec: 848 + hash: "879b24c994d4a9854d08bda2bbf2ceda" + } + Frame { + msec: 864 + hash: "03c4320dc2aa030c341d54899869b561" + } + Frame { + msec: 880 + hash: "ae0e91975aecc6a416b4a23504fced32" + } + Frame { + msec: 896 + hash: "e4150bdf0d4bab9bddc4605a9bde5b69" + } + Frame { + msec: 912 + hash: "dc961cb82a0e58603b3914f16f0a3f52" + } + Frame { + msec: 928 + hash: "5339507c303e42ecab853ca1688881f3" + } + Frame { + msec: 944 + hash: "a7c616c57f98eb03c1501747ea1a8b45" + } + Frame { + msec: 960 + image: "multilength.0.png" + } + Frame { + msec: 976 + hash: "773ad6bc56f80bd5f6ce346ae0bc79c9" + } + Frame { + msec: 992 + hash: "18b9ebfb9e5beac337143cc625fdfad7" + } + Frame { + msec: 1008 + hash: "efb9f12a98ea137e2b50d344c21c4a89" + } + Frame { + msec: 1024 + hash: "5b880958b3d20c09a10189cfc5f7b671" + } + Frame { + msec: 1040 + hash: "edf2d8c174ac6e2e3a887336dc04df8c" + } + Frame { + msec: 1056 + hash: "ad04b9e0e88695a13032abae8fef6f32" + } + Frame { + msec: 1072 + hash: "e4ad91c9da3e954cac33ce98832fee1c" + } + Frame { + msec: 1088 + hash: "a853212cf0ddc17cb0eb9be7f2ac5475" + } + Frame { + msec: 1104 + hash: "a03f7ac2553fe114c4591ed98dab3ceb" + } + Frame { + msec: 1120 + hash: "5de7491803582e0d13d2ff3e2eb3df82" + } + Frame { + msec: 1136 + hash: "0685263ac468ce39b468d37a20f7e5f8" + } + Frame { + msec: 1152 + hash: "14d4ab3f40dc6a0835c56c0f84256182" + } + Frame { + msec: 1168 + hash: "6a8c61c31c3d00592863ad356c45b354" + } + Frame { + msec: 1184 + hash: "08b3e3388469b1a62d3fc7f7a94f85a2" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.0.png Binary files differnew file mode 100644 index 0000000..5631a46 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.qml new file mode 100644 index 0000000..cfd832e --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/elide.qml @@ -0,0 +1,279 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 32 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 48 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 64 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 80 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 96 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 112 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 128 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 144 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 160 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 176 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 192 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 208 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 224 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 240 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 256 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 272 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 288 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 304 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 320 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 336 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 352 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 368 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 384 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 400 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 416 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 432 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 448 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 464 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 480 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 496 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 512 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 528 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 544 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 560 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 576 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 592 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 608 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 624 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 640 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 656 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 672 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 688 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 704 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 720 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 736 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 752 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 768 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 784 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 800 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 816 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 832 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 848 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 864 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 880 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 896 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 912 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 928 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 944 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 960 + image: "elide.0.png" + } + Frame { + msec: 976 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Key { + type: 6 + key: 16777249 + modifiers: 67108864 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 992 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 1008 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 1024 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 1040 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } + Frame { + msec: 1056 + hash: "48e2da07fd229d9db6afc0eda494cd11" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.0.png Binary files differnew file mode 100644 index 0000000..6e2b625 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.qml new file mode 100644 index 0000000..0c06196 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data-X11/multilength.qml @@ -0,0 +1,303 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "873e914454b7a040b05649ebd1a2f8c5" + } + Frame { + msec: 32 + hash: "7682a4f1e361ca252da9713734a598e8" + } + Frame { + msec: 48 + hash: "fa8884b550c8df872f96b61557163bcf" + } + Frame { + msec: 64 + hash: "b84ecf9e38f126c3e32defee831d9462" + } + Frame { + msec: 80 + hash: "21cc08f22d1f1fcb38b27a3a4259debe" + } + Frame { + msec: 96 + hash: "93bdfeab813e25e85917f49c0d5f1314" + } + Frame { + msec: 112 + hash: "5f03c252602e60fe19879945fa77c203" + } + Frame { + msec: 128 + hash: "f0b2079f6c512bf80989ebfdbec4cfd8" + } + Frame { + msec: 144 + hash: "9e7bb12d5b7605fc1d78ed9b2a549527" + } + Frame { + msec: 160 + hash: "242bbbe6da87708c92fd47607ecb789d" + } + Frame { + msec: 176 + hash: "f1db5c3a230b4d3e2e1dfefe6bf032a1" + } + Frame { + msec: 192 + hash: "a416e820efd8e173cc52372218513e33" + } + Frame { + msec: 208 + hash: "df711ab70c6087f8138fded16167f069" + } + Frame { + msec: 224 + hash: "fb28eb2eeccfab28299640ef996c1115" + } + Frame { + msec: 240 + hash: "c72c6d79a50dd7147f6b33784880eb36" + } + Frame { + msec: 256 + hash: "4421027e65e95f98499ca53c57220ede" + } + Frame { + msec: 272 + hash: "b7fbfb90d8cc167809e8e846d9021b4b" + } + Frame { + msec: 288 + hash: "004614b1bf18e9aa78e78509c4f289aa" + } + Frame { + msec: 304 + hash: "1792bbd8b69bae1d92fed2a6bcfe0187" + } + Frame { + msec: 320 + hash: "957a8b95d6e85885d854b8eb1db10b04" + } + Frame { + msec: 336 + hash: "d00c3e4d6d8e8d04b949840c28d73a33" + } + Frame { + msec: 352 + hash: "2b79feaa62d773d92d8a684685b2004c" + } + Frame { + msec: 368 + hash: "ef2f11b187028de0c56b23db3168fbc8" + } + Frame { + msec: 384 + hash: "3a489a96aaeca80355313198b935691d" + } + Frame { + msec: 400 + hash: "389f1798f900795a8686c38ace755974" + } + Frame { + msec: 416 + hash: "34fc20be52fe3843420819b9adb90b22" + } + Frame { + msec: 432 + hash: "fa715c5b6640eafe204bf3b8095c74b9" + } + Frame { + msec: 448 + hash: "8e8315edcf23167ac58228b8c28b43e6" + } + Frame { + msec: 464 + hash: "c18e82038f57dd869112cb1be14e4cfe" + } + Frame { + msec: 480 + hash: "3f07e95b09e39f2e5d93216850f4a4d9" + } + Frame { + msec: 496 + hash: "20f0e6eaeac04d6f93565adfab485218" + } + Frame { + msec: 512 + hash: "e3f66d1dfe88dd868a54a8493828ef5f" + } + Frame { + msec: 528 + hash: "d39d34f63e1b29c187249cb388552b38" + } + Frame { + msec: 544 + hash: "5d2e8df5003732f3b53fff4aaddea06c" + } + Frame { + msec: 560 + hash: "35c3aa2dae481a8f817d849b3f3151f2" + } + Frame { + msec: 576 + hash: "966b78018879224948b4d85fe73d7985" + } + Frame { + msec: 592 + hash: "0db067bf9debc3f36dd539cf83652fb8" + } + Frame { + msec: 608 + hash: "ea1c3249ffd2439533907ceaeaafbc56" + } + Frame { + msec: 624 + hash: "da85c0e14b95ca9a729984b67ebd52ad" + } + Frame { + msec: 640 + hash: "5c26ae844ac52dbe131fed0638787aac" + } + Frame { + msec: 656 + hash: "4b09c23ad624db80afcb2a6c1d5ddb96" + } + Frame { + msec: 672 + hash: "9995deb3d22b418a19093b4b988b3fcc" + } + Frame { + msec: 688 + hash: "77e53358f2d4392d0ba988187e7e272c" + } + Frame { + msec: 704 + hash: "3fbbb73e790cf4a0583531fe1580f761" + } + Frame { + msec: 720 + hash: "9d562e141095a258ee61463e644d9889" + } + Frame { + msec: 736 + hash: "d05633ca49f96bf327bed5c9c0f6ac98" + } + Frame { + msec: 752 + hash: "34c38e40e831dbede8fa83de31ed76aa" + } + Frame { + msec: 768 + hash: "288e52c8be54f4914f687cef4ce1f24a" + } + Frame { + msec: 784 + hash: "0b8b744aaf67e8b17fa459bb0ffb6db5" + } + Frame { + msec: 800 + hash: "273dbe3e8c21bfeafa516d07778928c8" + } + Frame { + msec: 816 + hash: "ef94ee1885287c72fa78038547d98b96" + } + Frame { + msec: 832 + hash: "965e6387672319ac04fdc42768e581f1" + } + Frame { + msec: 848 + hash: "95553d8aaece94c7017e57b03cd46c9a" + } + Frame { + msec: 864 + hash: "bdaf35b920e5b08b8639d452afd2d51e" + } + Frame { + msec: 880 + hash: "0ed16f00e89327dc8679bec42179c4ce" + } + Frame { + msec: 896 + hash: "8c93e0ac399e09e98e34b90654e0e42a" + } + Frame { + msec: 912 + hash: "93798fbb33adb6c813018757cfa34017" + } + Frame { + msec: 928 + hash: "db4d7581e9a1f082a2c29ef7482a7893" + } + Frame { + msec: 944 + hash: "67e074c1e083334de84a3549f4ee9ca4" + } + Frame { + msec: 960 + image: "multilength.0.png" + } + Frame { + msec: 976 + hash: "b1122c815a755c9988bcf03a3f7d7d6d" + } + Frame { + msec: 992 + hash: "31148bae6653bdc3f1827d06de845663" + } + Frame { + msec: 1008 + hash: "812428a944086ca46e102891964dac69" + } + Frame { + msec: 1024 + hash: "ee7bb66bd7e8623325200ac994f8b41a" + } + Frame { + msec: 1040 + hash: "6bd21a98e5c373a2c78334a0255e7750" + } + Frame { + msec: 1056 + hash: "2e8e1eea14068b0e82464ed52ec1ab7a" + } + Frame { + msec: 1072 + hash: "6dca5756e20eeb778e31d7b602ce77d7" + } + Frame { + msec: 1088 + hash: "3cbb6700b9e30864a2b1e3d4d71d2a78" + } + Frame { + msec: 1104 + hash: "c4d0230d2c4f73191a514e5df4c0b083" + } + Frame { + msec: 1120 + hash: "a33df967fe43151dfc503d2ac78f8ca8" + } + Frame { + msec: 1136 + hash: "0c7ff101efe60b600cacaf8d04d79053" + } + Frame { + msec: 1152 + hash: "d246cfb75d89b9666877860aaf45ba60" + } + Frame { + msec: 1168 + hash: "1130998aa2618a29ec6bc4b9219eedfa" + } + Frame { + msec: 1184 + hash: "741dd83003633bbf8d28c2d4ddd8a2d0" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.0.png Binary files differnew file mode 100644 index 0000000..1a8c89b --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.qml new file mode 100644 index 0000000..59f17f7 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide.qml @@ -0,0 +1,279 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 32 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 48 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 64 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 80 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 96 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 112 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 128 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 144 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 160 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 176 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 192 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 208 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 224 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 240 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 256 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 272 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 288 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 304 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 320 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 336 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 352 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 368 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 384 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 400 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 416 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 432 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 448 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 464 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 480 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 496 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 512 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 528 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 544 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 560 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 576 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 592 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 608 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 624 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 640 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 656 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 672 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 688 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 704 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 720 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 736 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 752 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 768 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 784 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 800 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 816 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 832 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 848 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 864 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 880 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 896 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 912 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 928 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 944 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 960 + image: "elide.0.png" + } + Frame { + msec: 976 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Key { + type: 6 + key: 16777249 + modifiers: 67108864 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 992 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 1008 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 1024 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 1040 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } + Frame { + msec: 1056 + hash: "c80d2bcd4be99c73e6c628870206ce8c" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.0.png Binary files differnew file mode 100644 index 0000000..3dfade5 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.1.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.1.png Binary files differnew file mode 100644 index 0000000..1ee2076 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.1.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.2.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.2.png Binary files differnew file mode 100644 index 0000000..ae680be --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.2.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.3.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.3.png Binary files differnew file mode 100644 index 0000000..c2859be --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.3.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.qml new file mode 100644 index 0000000..c592f18 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/data/elide2.qml @@ -0,0 +1,991 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 32 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 48 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 64 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 80 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 96 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 112 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 128 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 144 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 160 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 176 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 192 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 208 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 224 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 240 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 256 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 272 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 288 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 304 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 320 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 336 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 352 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 368 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 384 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 400 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 416 + hash: "086a46352aa1221b5e57f5624b0c256b" + } + Frame { + msec: 432 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 448 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 464 + hash: "fc3a7e898d6bfa2af4d774b20609f967" + } + Frame { + msec: 480 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 496 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 512 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 528 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 544 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 560 + hash: "3bcaa6426796bc9097e0aeba90dd5e39" + } + Frame { + msec: 576 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 592 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 608 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 624 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 640 + hash: "4daa612cd7e7ee455ff1a93329202865" + } + Frame { + msec: 656 + hash: "3f362ad550db910f1d9f261557c65913" + } + Frame { + msec: 672 + hash: "3f362ad550db910f1d9f261557c65913" + } + Frame { + msec: 688 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 704 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 720 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 736 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 752 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 768 + hash: "f159011c2b85fe212a32a7b5d2a57016" + } + Frame { + msec: 784 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 800 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 816 + hash: "a892c67199c23e5d9012a6a24cb45d16" + } + Frame { + msec: 832 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 848 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 864 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 880 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 896 + hash: "532e01ed6ede95eca68e641e2edb7f1c" + } + Frame { + msec: 912 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 928 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 944 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 960 + image: "elide2.0.png" + } + Frame { + msec: 976 + hash: "a7dc1d7dde956d62834de0968261386f" + } + Frame { + msec: 992 + hash: "a590e1358fac567dda9fdfc6bfe4ab89" + } + Frame { + msec: 1008 + hash: "a590e1358fac567dda9fdfc6bfe4ab89" + } + Frame { + msec: 1024 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1040 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1056 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1072 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1088 + hash: "778d34ca89b5db88fe26619576e9d337" + } + Frame { + msec: 1104 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1120 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1136 + hash: "9424caee019aa9bccd4156b0b9ca2723" + } + Frame { + msec: 1152 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1168 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1184 + hash: "000061a140ab71a44c0480a92ad3bc70" + } + Frame { + msec: 1200 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1216 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1232 + hash: "5dec9638853165428cd15ae02e1d03ce" + } + Frame { + msec: 1248 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1264 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1280 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1296 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1312 + hash: "ecb69bdbd13114715f738b1ace3ecf51" + } + Frame { + msec: 1328 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1344 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1360 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1376 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1392 + hash: "923b4f4f4a3dbaefbf003859067b2ea9" + } + Frame { + msec: 1408 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1424 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1440 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1456 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1472 + hash: "d4230a476237f9e13a132e775f1b960c" + } + Frame { + msec: 1488 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1504 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1520 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1536 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1552 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1568 + hash: "504ad2ba8543f7ad6490bd45d86fbef9" + } + Frame { + msec: 1584 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1600 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1616 + hash: "dd412c6a2e5cb8890cb43142c84a5673" + } + Frame { + msec: 1632 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1648 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1664 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1680 + hash: "38b1fa7bd4e2f13b05caa62903c56ab6" + } + Frame { + msec: 1696 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1712 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1728 + hash: "ffb2cb01c868c1dfa6b5154c4e8a7fd8" + } + Frame { + msec: 1744 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Key { + type: 6 + key: 16777249 + modifiers: 67108864 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1760 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1776 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1792 + hash: "9effd5fc19246cfe3d2f5968c5caaa4e" + } + Frame { + msec: 1808 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1824 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1840 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1856 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1872 + hash: "4fa14ae57d170b16fd90d59d5ec83561" + } + Frame { + msec: 1888 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1904 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1920 + image: "elide2.1.png" + } + Frame { + msec: 1936 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1952 + hash: "976dd5bc154522438f92790f28639512" + } + Frame { + msec: 1968 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 1984 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2000 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2016 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2032 + hash: "4ae1d6ddb9a78cc2f4e81b58fcca6a20" + } + Frame { + msec: 2048 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2064 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2080 + hash: "84bdf634cfd4de588f2b0984aa3e97bd" + } + Frame { + msec: 2096 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2112 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2128 + hash: "1a978ed6951afe40912efcfb54dcce65" + } + Frame { + msec: 2144 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2160 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2176 + hash: "a57eea59fe6475164e24688489977869" + } + Frame { + msec: 2192 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2208 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2224 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2240 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2256 + hash: "69ac1d93bd51f495783dbc6a0f7b27be" + } + Frame { + msec: 2272 + hash: "04c62a4d01e9309eaeea87902013c8b9" + } + Frame { + msec: 2288 + hash: "04c62a4d01e9309eaeea87902013c8b9" + } + Frame { + msec: 2304 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2320 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2336 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2352 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2368 + hash: "fac2f5730a600d6b69280d5e6962c1d2" + } + Frame { + msec: 2384 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2400 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2416 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2432 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2448 + hash: "13f7ce73c0a2f1c7958294e4fbf3d30d" + } + Frame { + msec: 2464 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2480 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2496 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2512 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2528 + hash: "96a5678ee5bcbf28df6a2bf66b2b6189" + } + Frame { + msec: 2544 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2560 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2576 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2592 + hash: "abb220abcd579abd988b6f9f7e0bc2b7" + } + Frame { + msec: 2608 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2624 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2640 + hash: "8a8585eb9a5cd1d6c38dc7076923e7f7" + } + Frame { + msec: 2656 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2672 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2688 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2704 + hash: "c13ec1d294921e6a56f6ac4198e084eb" + } + Frame { + msec: 2720 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2736 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2752 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2768 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2784 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2800 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2816 + hash: "53295720dbabe6fbfff56bea0e0ba7f1" + } + Frame { + msec: 2832 + hash: "f44b88b80219497370b5d2ad380d03bf" + } + Frame { + msec: 2848 + hash: "f44b88b80219497370b5d2ad380d03bf" + } + Frame { + msec: 2864 + hash: "a093510751799f3466156f9775988044" + } + Frame { + msec: 2880 + image: "elide2.2.png" + } + Frame { + msec: 2896 + hash: "a093510751799f3466156f9775988044" + } + Frame { + msec: 2912 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2928 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2944 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2960 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2976 + hash: "6327bcbb2d78d3c33eb964643b0d09a5" + } + Frame { + msec: 2992 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3008 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3024 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3040 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3056 + hash: "d7da3826914ad1d2696803b659992e73" + } + Frame { + msec: 3072 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3088 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3104 + hash: "ad40dc153a57c35ea62d9d044f08c9ac" + } + Frame { + msec: 3120 + hash: "df90afe882b18f3fd7b12e52ff36e66f" + } + Frame { + msec: 3136 + hash: "df90afe882b18f3fd7b12e52ff36e66f" + } + Frame { + msec: 3152 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3168 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3184 + hash: "5b84785ffe15c15c3b94c845db7a4a44" + } + Frame { + msec: 3200 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3216 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3232 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3248 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3264 + hash: "f5ca71af8d9fa1809ab88b60f9170bb5" + } + Frame { + msec: 3280 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3296 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3312 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3328 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3344 + hash: "39f1b201715413f13a60f449eef29706" + } + Frame { + msec: 3360 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3376 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3392 + hash: "4baf5c1227de45f9e620fe6eb0590014" + } + Frame { + msec: 3408 + hash: "e1ce9c06e59fb6348fff3ce650c7943e" + } + Frame { + msec: 3424 + hash: "e1ce9c06e59fb6348fff3ce650c7943e" + } + Frame { + msec: 3440 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3456 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3472 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3488 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3504 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3520 + hash: "ad812bdef31b4f1f42c35f7d56b3af83" + } + Frame { + msec: 3536 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3552 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3568 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3584 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3600 + hash: "c08c8bcfc8c23f5e0e89d7f632fde2ca" + } + Frame { + msec: 3616 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3632 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3648 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3664 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3680 + hash: "b8853dc109d063d982952780aa80419a" + } + Frame { + msec: 3696 + hash: "6bfd7cfd6369df1eb570fda103d9e009" + } + Frame { + msec: 3712 + hash: "6bfd7cfd6369df1eb570fda103d9e009" + } + Frame { + msec: 3728 + hash: "b6dba4a456cd8d1b62501039cb796625" + } + Frame { + msec: 3744 + hash: "b6dba4a456cd8d1b62501039cb796625" + } + Frame { + msec: 3760 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3776 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3792 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3808 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3824 + hash: "f43892fffe4a8ce005b60ec43ce0aa4a" + } + Frame { + msec: 3840 + image: "elide2.3.png" + } + Frame { + msec: 3856 + hash: "d2e873e69aed3e0b6e53123cd63e386c" + } + Frame { + msec: 3872 + hash: "d2e873e69aed3e0b6e53123cd63e386c" + } + Frame { + msec: 3888 + hash: "baa8edfce77628c7a1ec83adce96e2c6" + } + Frame { + msec: 3904 + hash: "baa8edfce77628c7a1ec83adce96e2c6" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide.qml new file mode 100644 index 0000000..fa6b5da --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide.qml @@ -0,0 +1,31 @@ +import Qt 4.6 + +Rectangle { + width: childrenRect.width + height: childrenRect.height + Column { + width: 80 + height: myText.height*4 + Text { + elide: "ElideLeft" + text: "aaa bbb ccc ddd eee fff" + width: 80 + id: myText + } + Text { + elide: "ElideMiddle" + text: "aaa bbb ccc ddd eee fff" + width: 80 + } + Text { + elide: "ElideRight" + text: "aaa bbb ccc ddd eee fff" + width: 80 + } + Text { + elide: "ElideNone" + text: "aaa bbb ccc ddd eee fff" + width: 80 + } + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml new file mode 100644 index 0000000..ecd9470 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml @@ -0,0 +1,12 @@ +import Qt 4.6 + +Rectangle { + width: 500 + height: 100 + + Text { + width: NumberAnimation { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 } + elide: Text.ElideRight + text: 'Here is some very long text that we should truncate when sizing window' + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml new file mode 100644 index 0000000..ab6e1533 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml @@ -0,0 +1,19 @@ +import Qt 4.6 + +Rectangle { + width: 500 + height: 50 + color: "lightBlue" + Rectangle { + width: myText.width + height: myText.height + color: "white" + anchors.centerIn: parent + Text { + id: myText + width: NumberAnimation { from: 500; to: 0; loops: Animation.Infinite; duration: 1000 } + elide: "ElideRight" + text: "Brevity is the soul of wit, and tediousness the limbs and outward flourishes.\x9CBrevity is a great charm of eloquence.\x9CBe concise!\x9CSHHHHHHHHHHHHHHHHHHHHHHHHHHHH" + } + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.0.png Binary files differnew file mode 100644 index 0000000..67b497f --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml new file mode 100644 index 0000000..ab17eb1 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml @@ -0,0 +1,351 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 32 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 48 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 64 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 80 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 96 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 112 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 128 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 144 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 160 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 176 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 192 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 208 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 224 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 240 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 256 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 272 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 288 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 304 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 320 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 336 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 352 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 368 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 384 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 400 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 416 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 432 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 448 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 464 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 480 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 496 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 512 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 528 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 544 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 560 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 576 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 592 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 608 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 624 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 640 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 656 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 672 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 688 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 704 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 720 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 736 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 752 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 768 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 784 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 800 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 816 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 832 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 848 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 864 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 880 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 896 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 912 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 928 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 944 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 960 + image: "plaintext.0.png" + } + Frame { + msec: 976 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 992 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1008 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1024 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1040 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1056 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1072 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1088 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1104 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1120 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1136 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1152 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1168 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1184 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Key { + type: 6 + key: 16777249 + modifiers: 0 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1200 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1216 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1232 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1248 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1264 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1280 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1296 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1312 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1328 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } + Frame { + msec: 1344 + hash: "cbf65bcb64a4781b79132b87f98d5fc7" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.0.png Binary files differnew file mode 100644 index 0000000..6379942 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml new file mode 100644 index 0000000..72499b9 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml @@ -0,0 +1,359 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 32 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 48 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 64 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 80 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 96 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 112 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 128 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 144 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 160 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 176 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 192 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 208 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 224 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 240 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 256 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 272 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 288 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 304 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 320 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 336 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 352 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 368 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 384 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 400 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 416 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 432 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 448 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 464 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 480 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 496 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 512 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 528 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 544 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 560 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 576 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 592 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 608 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 624 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 640 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 656 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 672 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 688 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 704 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 720 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 736 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 752 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 768 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 784 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 800 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 816 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 832 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 848 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 864 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 880 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 896 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 912 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 928 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 944 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 960 + image: "richtext.0.png" + } + Frame { + msec: 976 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 992 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1008 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1024 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1040 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1056 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1072 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1088 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1104 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1120 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1136 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1152 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Key { + type: 6 + key: 16777249 + modifiers: 0 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1168 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1184 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1200 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1216 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1232 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1248 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1264 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1280 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1296 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1312 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1328 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1344 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1360 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } + Frame { + msec: 1376 + hash: "b902ff73e7c943bb09b5d2ae6c7a760e" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.0.png Binary files differnew file mode 100644 index 0000000..50d56dc --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml new file mode 100644 index 0000000..f4cbcbd --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml @@ -0,0 +1,351 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 32 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 48 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 64 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 80 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 96 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 112 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 128 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 144 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 160 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 176 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 192 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 208 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 224 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 240 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 256 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 272 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 288 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 304 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 320 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 336 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 352 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 368 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 384 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 400 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 416 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 432 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 448 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 464 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 480 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 496 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 512 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 528 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 544 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 560 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 576 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 592 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 608 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 624 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 640 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 656 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 672 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 688 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 704 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 720 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 736 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 752 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 768 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 784 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 800 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 816 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 832 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 848 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 864 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 880 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 896 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 912 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 928 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 944 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 960 + image: "plaintext.0.png" + } + Frame { + msec: 976 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 992 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1008 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1024 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1040 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1056 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1072 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1088 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1104 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1120 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1136 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1152 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1168 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1184 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Key { + type: 6 + key: 16777249 + modifiers: 67108864 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1200 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1216 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1232 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1248 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1264 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1280 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1296 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1312 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1328 + hash: "d553014bc56a46787e30459b0f44f57a" + } + Frame { + msec: 1344 + hash: "d553014bc56a46787e30459b0f44f57a" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.0.png Binary files differnew file mode 100644 index 0000000..2910670 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.0.png diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml new file mode 100644 index 0000000..9f396c2 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml @@ -0,0 +1,359 @@ +import Qt.VisualTest 4.6 + +VisualTest { + Frame { + msec: 0 + } + Frame { + msec: 16 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 32 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 48 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 64 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 80 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 96 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 112 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 128 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 144 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 160 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 176 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 192 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 208 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 224 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 240 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 256 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 272 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 288 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 304 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 320 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 336 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 352 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 368 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 384 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 400 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 416 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 432 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 448 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 464 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 480 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 496 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 512 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 528 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 544 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 560 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 576 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 592 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 608 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 624 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 640 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 656 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 672 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 688 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 704 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 720 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 736 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 752 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 768 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 784 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 800 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 816 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 832 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 848 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 864 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 880 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 896 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 912 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 928 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 944 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 960 + image: "richtext.0.png" + } + Frame { + msec: 976 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 992 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1008 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1024 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1040 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1056 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1072 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1088 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1104 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1120 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1136 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1152 + hash: "dfea78484b840b8cab690e277b960723" + } + Key { + type: 6 + key: 16777249 + modifiers: 67108864 + text: "" + autorep: false + count: 1 + } + Frame { + msec: 1168 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1184 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1200 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1216 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1232 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1248 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1264 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1280 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1296 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1312 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1328 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1344 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1360 + hash: "dfea78484b840b8cab690e277b960723" + } + Frame { + msec: 1376 + hash: "dfea78484b840b8cab690e277b960723" + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml new file mode 100644 index 0000000..90b5411 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml @@ -0,0 +1,91 @@ +import Qt 4.6 + +Rectangle { + id: s; width: 800; height: 1000; color: "lightsteelblue" + property string text: "The quick brown fox jumps over the lazy dog." + + Column { + spacing: 10 + Text { + text: s.text + } + Text { + text: s.text; font.pixelSize: 18 + } + Text { + text: s.text; font.pointSize: 25 + } + Text { + text: s.text; color: "red"; smooth: true + } + Text { + text: s.text; font.capitalization: "AllUppercase" + } + Text { + text: s.text; font.underline: true + } + Text { + text: s.text; font.overline: true; smooth: true + } + Text { + text: s.text; font.strikeout: true + } + Text { + text: s.text; font.underline: true; font.overline: true; font.strikeout: true + } + Text { + text: s.text; font.letterSpacing: 200 + } + Text { + text: s.text; font.underline: true; font.letterSpacing: 200; font.capitalization: "AllUppercase"; color: "blue" + } + Text { + text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow" + } + Text { + text: s.text; horizontalAlignment: Text.AlignLeft; width: 800 + } + Text { + text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: 800; height: 20 + } + Text { + text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: 800; height: 20 + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200 + } + Text { + text: s.text; elide: Text.ElideLeft; width: 200 + } + Text { + text: s.text; elide: Text.ElideMiddle; width: 200 + } + Text { + text: s.text; elide: Text.ElideRight; width: 200 + } + Text { + text: s.text; elide: Text.ElideLeft; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text; elide: Text.ElideMiddle; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text; elide: Text.ElideRight; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere + } + Text { + text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAtWordBoundaryOrAnywhere + } + } +} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml new file mode 100644 index 0000000..0dba47c --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml @@ -0,0 +1,91 @@ +import Qt 4.6 + +Rectangle { + id: s; width: 800; height: 1000; color: "lightsteelblue" + property string text: "<b>The</b> <i>quick</i> <u>brown</u> <o>fox</o> <big>jumps</big> <small>over</small> <tt>the</tt> <s>lazy</s> <em>dog</em>." + + Column { + spacing: 10 + Text { + text: s.text + } + Text { + text: s.text; font.pixelSize: 18 + } + Text { + text: s.text; font.pointSize: 25 + } + Text { + text: s.text; color: "red"; smooth: true + } + Text { + text: s.text; font.capitalization: "AllUppercase" + } + Text { + text: s.text; font.underline: true + } + Text { + text: s.text; font.overline: true; smooth: true + } + Text { + text: s.text; font.strikeout: true + } + Text { + text: s.text; font.underline: true; font.overline: true; font.strikeout: true + } + Text { + text: s.text; font.letterSpacing: 200 + } + Text { + text: s.text; font.underline: true; font.letterSpacing: 200; font.capitalization: "AllUppercase"; color: "blue" + } + Text { + text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray" + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow" + } + Text { + text: s.text; horizontalAlignment: Text.AlignLeft; width: 800 + } + Text { + text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: 800; height: 20 + } + Text { + text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: 800; height: 20 + } + Text { + text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200 + } + Text { + text: s.text; elide: Text.ElideLeft; width: 200 + } + Text { + text: s.text; elide: Text.ElideMiddle; width: 200 + } + Text { + text: s.text; elide: Text.ElideRight; width: 200 + } + Text { + text: s.text; elide: Text.ElideLeft; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text; elide: Text.ElideMiddle; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text; elide: Text.ElideRight; width: 200; wrapMode: Text.WordWrap + } + Text { + text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere + } + Text { + text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAtWordBoundaryOrAnywhere + } + } +} |