summaryrefslogtreecommitdiffstats
path: root/tests/auto/integrationtests/lancelot/scripts/statictext.qps
diff options
context:
space:
mode:
authorJo Asplin <jo.asplin@nokia.com>2011-11-25 09:30:03 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-30 09:30:22 +0100
commit9acec431c360379a21cdbe36d8e342083f344c3c (patch)
treedcd0e4d4d60f7f9cfb6f6d210b6ebaf016573d1b /tests/auto/integrationtests/lancelot/scripts/statictext.qps
parent75b66dc8b036c4f4ef3ff8ea109efd698b72732d (diff)
Moved integrationtests/* into other/
Currently there seems to be no precise definition of what an integrationtest is in the context of Qt testing. To avoid confusion, the tests under integrationtests/ are moved into other/ (which is effectively where we keep tests that don't clearly fit into any other category). Tests can be moved back into an integrationtests/ directory at a later point, should an unambiguous definition be established. Change-Id: I3bb289be2dc2aca11b51a8ce8fcc5942f06d6c5c Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'tests/auto/integrationtests/lancelot/scripts/statictext.qps')
-rw-r--r--tests/auto/integrationtests/lancelot/scripts/statictext.qps122
1 files changed, 0 insertions, 122 deletions
diff --git a/tests/auto/integrationtests/lancelot/scripts/statictext.qps b/tests/auto/integrationtests/lancelot/scripts/statictext.qps
deleted file mode 100644
index b62b623462..0000000000
--- a/tests/auto/integrationtests/lancelot/scripts/statictext.qps
+++ /dev/null
@@ -1,122 +0,0 @@
-drawStaticText -5 5 "Text that is drawn outside the bounds..."
-
-translate 20 20
-begin_block text_drawing
-save
- setFont "sansserif" 10 normal
- drawStaticText 0 20 "sansserif 10pt, normal"
-
- setFont "sansserif" 12 normal
- drawStaticText 0 40 "sansserif 12pt, normal"
-
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "sansserif 12pt, bold"
-
- setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "sansserif 10pt, bold italic"
-
-
- translate 0 100
- setPen #7fff0000
-
- setFont "sansserif" 10 normal
- drawStaticText 0 20 "alpha sansserif 10pt, normal"
-
- setFont "sansserif" 12 normal
- drawStaticText 0 40 "alpha sansserif 12pt, normal"
-
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "alpha sansserif 12pt, bold"
-
- setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "alpha sansserif 10pt, bold italic"
-
-
- translate 0 100
- setPen black
- save
- scale 0.9 0.9
-
- setFont "sansserif" 10 normal
- drawStaticText 0 20 "scaled sansserif 10pt, normal"
-
- setFont "sansserif" 12 normal
- drawStaticText 0 40 "scaled sansserif 12pt, normal"
-
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "scaled sansserif 12pt, bold"
-
- setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "scaled sansserif 10pt, bold italic"
- restore
-
- translate 0 100
- setPen black
- save
- translate 200 90
- rotate 185
-
- setFont "sansserif" 10 normal
- drawStaticText 0 20 "scaled sansserif 10pt, normal"
-
- setFont "sansserif" 12 normal
- drawStaticText 0 40 "scaled sansserif 12pt, normal"
-
- setFont "sansserif" 10 bold
- drawStaticText 0 60 "scaled sansserif 12pt, bold"
-
- setFont "sansserif" 10 bold italic
- drawStaticText 0 80 "scaled sansserif 10pt, bold italic"
- restore
-
- translate 0 100
- gradient_appendStop 0 red
- gradient_appendStop 0.5 #00ff00
- gradient_appendStop 1 blue
- gradient_setLinear 0 0 200 0
- setPen brush
-
- setFont "sansserif" 10 normal
- drawStaticText 0 0 "gradient sansserif 10pt, normal"
-
- setFont "sansserif" 12 normal
- drawStaticText 0 20 "gradient sansserif 12pt, normal"
-
- setFont "sansserif" 10 bold
- drawStaticText 0 40 "gradient sansserif 12pt, bold"
-
- setFont "sansserif" 10 bold italic
- drawStaticText 0 60 "gradient sansserif 10pt, bold italic"
-restore
-end_block
-
-translate 250 0
-drawStaticText 25 520 "clipped to rectangle"
-save
- setPen #3f000000
- setBrush nobrush
- drawRect 20 0 100 500
- setClipRect 20 0 100 500
- setPen black
- repeat_block text_drawing
-restore
-
-translate 150 0
-drawStaticText 25 520 "clipped to path"
-save
- path_moveTo clip 20 0
- path_cubicTo clip 0 200 40 400 20 400
- path_lineTo clip 30 500
- path_lineTo clip 30 0
- path_lineTo clip 40 0
- path_lineTo clip 40 500
- path_lineTo clip 120 500
- path_lineTo clip 120 0
- path_lineTo clip 20 0
- setPen #3f000000
- setBrush nobrush
- drawPath clip
- setClipPath clip
- setPen black
- repeat_block text_drawing
-restore