Move textselection example to manual test

Apparently it's always been incomplete, a relic from Nokia: there's no
means of entering the "menu" state, and nothing to detect a long-press
as the text says you can do.

On mobile platforms, the platform input method provides selection
handles; on embedded platforms, Qt Virtual Keyboard does it. So this is
generally unnecessary, but perhaps it could be revamped into a
demonstration of an alternative way to add text-selection handles.

Pick-to: 6.6 6.5
Change-Id: I231db14e5fbb4e82e8d732153e3d3843a080b409
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
This commit is contained in:
Shawn Rutledge 2023-06-13 09:06:36 +02:00
parent 5c805f2b80
commit 810a329983
7 changed files with 0 additions and 10 deletions

View File

@ -42,7 +42,6 @@ qt_add_qml_module(textexample
"imgtag/imgtag.qml"
"styledtext-layout.qml"
"text.qml"
"textselection/textselection.qml"
RESOURCES
"fonts/content/fonts/tarzeau_ocr_a.ttf"
"imgtag/images/face-sad.png"
@ -51,10 +50,6 @@ qt_add_qml_module(textexample
"imgtag/images/heart200.png"
"imgtag/images/qtlogo.png"
"imgtag/images/starfish_2.png"
"textselection/pics/endHandle.png"
"textselection/pics/endHandle.sci"
"textselection/pics/startHandle.png"
"textselection/pics/startHandle.sci"
)
install(TARGETS textexample

View File

@ -13,11 +13,6 @@
<file>imgtag/images/heart200.png</file>
<file>imgtag/images/qtlogo.png</file>
<file>imgtag/images/starfish_2.png</file>
<file>textselection/textselection.qml</file>
<file>textselection/pics/endHandle.png</file>
<file>textselection/pics/endHandle.sci</file>
<file>textselection/pics/startHandle.png</file>
<file>textselection/pics/startHandle.sci</file>
<file>styledtext-layout.qml</file>
<file>imgtag/TextWithImage.qml</file>
</qresource>

View File

Before

Width:  |  Height:  |  Size: 90 B

After

Width:  |  Height:  |  Size: 90 B

View File

Before

Width:  |  Height:  |  Size: 88 B

After

Width:  |  Height:  |  Size: 88 B