summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qfxtext
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/visual/qfxtext')
-rw-r--r--tests/auto/declarative/visual/qfxtext/elide/data/opengl/image0.pngbin0 -> 980 bytes
-rw-r--r--tests/auto/declarative/visual/qfxtext/elide/data/opengl/manifest.xml4
-rw-r--r--tests/auto/declarative/visual/qfxtext/elide/elide.xml6
-rw-r--r--tests/auto/declarative/visual/qfxtext/elide/test1
4 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/declarative/visual/qfxtext/elide/data/opengl/image0.png b/tests/auto/declarative/visual/qfxtext/elide/data/opengl/image0.png
new file mode 100644
index 0000000..7d45407
--- /dev/null
+++ b/tests/auto/declarative/visual/qfxtext/elide/data/opengl/image0.png
Binary files differ
diff --git a/tests/auto/declarative/visual/qfxtext/elide/data/opengl/manifest.xml b/tests/auto/declarative/visual/qfxtext/elide/data/opengl/manifest.xml
new file mode 100644
index 0000000..b784f42
--- /dev/null
+++ b/tests/auto/declarative/visual/qfxtext/elide/data/opengl/manifest.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<TestLog>
+ <TestFullFrame time="30" frameId="0"/>
+</TestLog>
diff --git a/tests/auto/declarative/visual/qfxtext/elide/elide.xml b/tests/auto/declarative/visual/qfxtext/elide/elide.xml
new file mode 100644
index 0000000..398da82
--- /dev/null
+++ b/tests/auto/declarative/visual/qfxtext/elide/elide.xml
@@ -0,0 +1,6 @@
+<VerticalLayout width="80" height="{Text.height*4}">
+ <Text elide="ElideLeft" text="aaa bbb ccc ddd eee fff" width="80" color="white" id="Text"/>
+ <Text elide="ElideMiddle" text="aaa bbb ccc ddd eee fff" width="80" color="white"/>
+ <Text elide="ElideRight" text="aaa bbb ccc ddd eee fff" width="80" color="white"/>
+ <Text elide="ElideNone" text="aaa bbb ccc ddd eee fff" width="80" color="white"/>
+</VerticalLayout>
diff --git a/tests/auto/declarative/visual/qfxtext/elide/test b/tests/auto/declarative/visual/qfxtext/elide/test
new file mode 100644
index 0000000..d35cbc9
--- /dev/null
+++ b/tests/auto/declarative/visual/qfxtext/elide/test
@@ -0,0 +1 @@
+elide.xml