diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/font')
36 files changed, 0 insertions, 450 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/BorderedText.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/BorderedText.qml deleted file mode 100644 index fe4e2e7025..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/BorderedText.qml +++ /dev/null @@ -1,9 +0,0 @@ -import QtQuick 1.0 -import "../../shared" 1.0 - -TestText { - property color bcolor: "blue" - font.pixelSize: 10 - text: "The quick brown fox\njumps over\nthe lazy dog." - Rectangle { id: border; color: "transparent"; border.color: bcolor; anchors.fill: parent; opacity: 0.2 } -} 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 differdeleted file mode 100644 index cfa61a9a99..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml deleted file mode 100644 index fdf23106c4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png Binary files differdeleted file mode 100644 index e47b47954a..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.qml deleted file mode 100644 index f6cddc43a4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext2.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png Binary files differdeleted file mode 100644 index 0d3c672804..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.qml deleted file mode 100644 index 13f413a1ca..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/plaintext3.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext3.0.png" - } -} 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 differdeleted file mode 100644 index 76e5b9f80f..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml deleted file mode 100644 index 3da391dc50..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.0.png Binary files differdeleted file mode 100644 index bb65aded70..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.qml deleted file mode 100644 index afae3f89bc..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-MAC/richtext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext2.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png Binary files differdeleted file mode 100644 index 56d98ff0a5..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.qml deleted file mode 100644 index fdf23106c4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png Binary files differdeleted file mode 100644 index 1ab1eb5bb0..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.qml deleted file mode 100644 index f6cddc43a4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext2.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.0.png Binary files differdeleted file mode 100644 index 04e0f5e842..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.qml deleted file mode 100644 index 13f413a1ca..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/plaintext3.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext3.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png Binary files differdeleted file mode 100644 index 68921f6588..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.qml deleted file mode 100644 index 3da391dc50..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png Binary files differdeleted file mode 100644 index c9450c7c80..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.qml deleted file mode 100644 index afae3f89bc..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data-X11/richtext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext2.0.png" - } -} 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 differdeleted file mode 100644 index 89195ae7dc..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml deleted file mode 100644 index fdf23106c4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.0.png Binary files differdeleted file mode 100644 index 0574f63fe9..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.qml deleted file mode 100644 index f6cddc43a4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext2.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.0.png Binary files differdeleted file mode 100644 index 0d3c672804..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.qml deleted file mode 100644 index 13f413a1ca..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/plaintext3.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "plaintext3.0.png" - } -} 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 differdeleted file mode 100644 index 6a4872839e..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml deleted file mode 100644 index 3da391dc50..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.0.png b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.0.png Binary files differdeleted file mode 100644 index 34f8e387b9..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.0.png +++ /dev/null diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.qml deleted file mode 100644 index afae3f89bc..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/data/richtext2.qml +++ /dev/null @@ -1,11 +0,0 @@ -import Qt.VisualTest 4.7 - -VisualTest { - Frame { - msec: 0 - } - Frame { - msec: 16 - image: "richtext2.0.png" - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml deleted file mode 100644 index 64ab65b8ae..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext.qml +++ /dev/null @@ -1,101 +0,0 @@ -import QtQuick 1.0 -import "../../shared" 1.0 - -Rectangle { - id: s; width: 620; height: 360; color: "lightsteelblue" - property string text: "Jackdaws love my big sphinx of quartz." - - Column { - spacing: 8 - TestText { - text: s.text; horizontalAlignment: Text.AlignLeft; width: s.width - } - TestText { - font.pixelSize: 18 - text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: s.width; - } - TestText { - font.pixelSize: 24 - text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: s.width; - } - Grid{ - columns: 2 - spacing: 4 - TestText { - text: s.text; color: "red"; smooth: true - } - TestText { - text: s.text; font.capitalization: "AllUppercase" - } - TestText { - text: s.text; font.underline: true - } - TestText { - text: s.text; font.overline: true; smooth: true - } - TestText { - text: s.text; font.strikeout: true - } - TestText { - text: s.text; font.underline: true; font.overline: true; font.strikeout: true - } - TestText { - text: s.text; style: Text.Outline; styleColor: "white" - } - TestText { - text: s.text; style: Text.Sunken; styleColor: "gray" - } - TestText { - text: s.text; style: Text.Raised; styleColor: "yellow" - } - TestText { - text: s.text; font.letterSpacing: 2 - } - } - TestText { - text: s.text; font.underline: true; font.letterSpacing: 2; font.capitalization: "AllUppercase"; color: "blue" - } - TestText { - text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green" - } - Row{ - height: childrenRect.height - spacing: 4 - TestText { - text: s.text; elide: Text.ElideLeft; width: 200 - } - TestText { - text: s.text; elide: Text.ElideMiddle; width: 200 - } - TestText { - text: s.text; elide: Text.ElideRight; width: 200 - } - } - Row{ - height: childrenRect.height - spacing: 4 - TestText{ - text: s.text; elide: Text.ElideLeft; width: 200; wrapMode: Text.WordWrap - } - TestText { - text: s.text; elide: Text.ElideMiddle; width: 200; wrapMode: Text.WordWrap - } - TestText { - text: s.text; elide: Text.ElideRight; width: 200; wrapMode: Text.WordWrap - } - } - Row{ - height: childrenRect.height - spacing: 4 - TestText { - text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere - } - TestText { - text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.Wrap - } - TestText { -text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200 - } - } - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml deleted file mode 100644 index 01de1f0046..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml +++ /dev/null @@ -1,23 +0,0 @@ -import QtQuick 1.0 -import "../../shared" 1.0 - -Rectangle { - width: 400; height: 200 - - Row { - spacing: 20 - anchors.centerIn: parent - TestText { - text: "First line\nSecond line"; wrapMode: Text.Wrap - } - TestText { - text: "First line\nSecond line"; width: 70 - } - TestText { - text: "First Second\nThird Fourth"; wrapMode: Text.Wrap; width: 50 - } - TestText { - text: "First line<br>Second line"; textFormat: Text.StyledText - } - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext3.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext3.qml deleted file mode 100644 index 10a2d9ab19..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext3.qml +++ /dev/null @@ -1,62 +0,0 @@ -import QtQuick 1.0 - -Rectangle { - id: main - width: 620; height: 280 - - - Grid { - x: 4; y: 4 - spacing: 8 - columns: 4 - - Column { - spacing: 4 - BorderedText { } - BorderedText { horizontalAlignment: Text.AlignHCenter } - BorderedText { horizontalAlignment: Text.AlignRight } - } - - Column { - spacing: 4 - BorderedText { wrapMode: Text.Wrap } - BorderedText { horizontalAlignment: Text.AlignHCenter; wrapMode: Text.Wrap } - BorderedText { horizontalAlignment: Text.AlignRight; wrapMode: Text.Wrap } - } - - Column { - spacing: 4 - BorderedText { wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { horizontalAlignment: Text.AlignHCenter; wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { horizontalAlignment: Text.AlignRight; wrapMode: Text.Wrap; elide: Text.ElideRight } - } - - Column { - spacing: 4 - BorderedText { width: 230; wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { width: 230; horizontalAlignment: Text.AlignHCenter; wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { width: 230; horizontalAlignment: Text.AlignRight; wrapMode: Text.Wrap; elide: Text.ElideRight } - } - - Column { - spacing: 4 - BorderedText { width: 120; wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { width: 120; horizontalAlignment: Text.AlignHCenter; wrapMode: Text.Wrap; elide: Text.ElideRight } - BorderedText { width: 120; horizontalAlignment: Text.AlignRight; wrapMode: Text.Wrap; elide: Text.ElideRight } - } - - Column { - spacing: 4 - BorderedText { width: 120; wrapMode: Text.Wrap } - BorderedText { width: 120; horizontalAlignment: Text.AlignHCenter; wrapMode: Text.Wrap } - BorderedText { width: 120; horizontalAlignment: Text.AlignRight; wrapMode: Text.Wrap } - } - - Column { - spacing: 4 - BorderedText { width: 120 } - BorderedText { width: 120; horizontalAlignment: Text.AlignHCenter } - BorderedText { width: 120; horizontalAlignment: Text.AlignRight } - } - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml deleted file mode 100644 index a748b686c4..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext.qml +++ /dev/null @@ -1,47 +0,0 @@ -import QtQuick 1.0 -import "../../shared" 1.0 - -Rectangle { - id: s; width: 620; height: 300; 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: 6 - TestText { - text: s.text - } - TestText { - text: s.text; font.pixelSize: 18 - } - TestText { - text: s.text; font.pixelSize: 24 - } - TestText { - text: s.text; color: "red"; smooth: true - } - TestText { - text: s.text; font.capitalization: "AllUppercase" - } - TestText { - text: s.text; font.underline: true - } - TestText { - text: s.text; font.overline: true; smooth: true - } - TestText { - text: s.text; font.strikeout: true - } - TestText { - text: s.text; font.underline: true; font.overline: true; font.strikeout: true - } - TestText { - text: s.text; font.letterSpacing: 2 - } - TestText { - text: s.text; font.underline: true; font.letterSpacing: 2; font.capitalization: "AllUppercase"; color: "blue" - } - TestText { - text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green" - } - } -} diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext2.qml deleted file mode 100644 index f5e85fa00a..0000000000 --- a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/richtext2.qml +++ /dev/null @@ -1,43 +0,0 @@ -import QtQuick 1.0 -import "../../shared" 1.0 - -//This is a continuation of richtext.qml, it was bisected so that it could fit on smaller screens -Rectangle { - id: s; width: 620; height: 300; 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: 6 - TestText { - text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white" - } - TestText { - text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray" - } - TestText { - text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow" - } - TestText { - text: s.text; horizontalAlignment: Text.AlignLeft; width: s.width - } - TestText { - text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: s.width; height: 20 - } - TestText { - text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: s.width; height: 20 - } - Row{ - height: childrenRect.height; - spacing: 4 - TestText { - text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere - } - TestText { - text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.Wrap - } - TestText { - text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200 - } - } - } -} |