diff options
Diffstat (limited to 'Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt')
-rw-r--r-- | Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt b/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt index e0b8377..43bb38f 100644 --- a/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt +++ b/Qt/examples/declarative/rtl/sys_rtl/sys_rtl.qtt @@ -49,10 +49,6 @@ Note: Empty/whitepace text has no direction, thus TextEdits will still show the | *Step* | *Verification* | | Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Implicit alignment | | Observe the three different element types - Text, TextInput, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the right | -| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right, and fully to the left respectively | -| In the TextEdit field, copy some of the Arabic text | | -| At the leftmost position of the text, press Enter | | -| Paste the copied text | The text is pasted into the box, also right aligned |')); }, left_center_and_right_text_alignment_data: @@ -70,10 +66,6 @@ Note: Empty/whitepace text has no direction, thus TextEdits will still show the | Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Implicit alignment | | Press the indicator until '+name+' alignment shows | Verify that the indicator at the bottom shows '+name+' alignment | | Observe the three different element types - Text, TextInput, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the '+alignment+' | -| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right of the text only, and then fully to the left side respectively | -| In the TextEdit field, copy some of the Arabic text | | -| At the leftmost position of the text, press Enter | | -| Paste the copied text | The text is pasted into the box, also '+alignment+' aligned |')); }, justified_text_alignment: function() @@ -85,10 +77,24 @@ Note: Empty/whitepace text has no direction, thus TextEdits will still show the | Execute systemtests/Qt/examples/declarative/rtl/rtltext.qml | Verify that the indicator at the bottom shows Implicit alignment | | Press the indicator until Justify alignment shows | Verify that the indicator at the bottom shows Justify alignment | | Observe two of the three different element types - Text, TextEdit | Verify that for each case where the text box shows right-to-left text, the text is aligned to the right | -| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right, and fully to the left respectively | -| In the TextEdit field, copy some of the Arabic text | | -| At the leftmost position of the text, press Enter | | -| Paste the copied text | The text is pasted into the box, also right aligned |')); + }, + + left_center_and_right_text_alignment_data: + { + left: ["Left", "left"], + center: ["Center", "center"], + right: ["Right", "right"] + }, + + select_copy_paste: function(name,alignment) + { +| *Step* | *Verification* | +| Execute systemtests/Qt/examples/declarative/rtl/rtltexteditselection.qml | Verify that the indicator at the bottom button shows Implicit alignment | +| (Skip this on devices with no Home/End key) In the right-to-left TextInput, press Home, then End | Verify the cursor moves fully to the right of the text only, and then fully to the left side respectively | +| Press the lower button until it shows '+name+' Alignment | | +| In the TextEdit field, select some of the text some of the Arabic text | The selected text is shown in the Paste: <text> button - it is now copied | +| At the leftmost position of the text, press Enter on the keypad or soft keyboard | A new line is created below the existing text | +| Press the Paste: <text> button | The text is pasted into the box, also '+alignment+' aligned |')); } } |