aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/text/textselection/textselection.qml
Commit message (Collapse)AuthorAgeFilesLines
* Move textselection example to manual testShawn Rutledge2023-06-131-201/+0
| | | | | | | | | | | | | | | 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 <[email protected]>
* Text example: adhere to guidelinesOliver Eftevaag2023-03-101-8/+31
| | | | | | | | | | | - mark readonly properties as readonly. - Use qsTr() on user facing strings that would be sensible to localize. - Removed unused lines of code. - Separate lines with multiple bindings into multiple lines instead. Pick-to: 6.5 Change-Id: I9664cc2291be2f642dc2d9d27b6c356880a491c7 Reviewed-by: Shawn Rutledge <[email protected]>
* Examples: Do not use import version numbers anymoreKai Köhne2022-08-311-1/+1
| | | | | | | | Pick-to: 6.4 Change-Id: I1f4d4920bb9d132a846ac2dbcfdb8b660759d540 Reviewed-by: Qt CI Bot <[email protected]> Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Use SPDX license identifiersLucie Gérard2022-06-111-49/+2
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <[email protected]>
* Replace paintedWidth/Height with contentWidth/HeightTasuku Suzuki2022-03-271-2/+2
| | | | | | | | | They were renamed in 51b7425329e0fa221c319e8d75595c19f664aedb Pick-to: 6.2 6.3 Task-number: QTBUG-15160 Change-Id: If30f69d47adf391d2d1c795caaf2bbe15f6bc32a Reviewed-by: Shawn Rutledge <[email protected]>
* Update examples to use new PropertyChangesUlf Hermann2021-11-031-5/+9
| | | | | | | | Also, prefer the multi-line syntax over ';'-separated bindings for readability. Change-Id: I3d6eb854e514ee257ca83773a11e6e9e10770bff Reviewed-by: Mitch Curtis <[email protected]>
* Fix outdated BSD license headerKai Koehne2017-10-171-3/+13
| | | | | Change-Id: Icc08925454445fc9497fb3bfd2c26efe90605983 Reviewed-by: Jani Heikkinen <[email protected]>
* Fixed license headersJani Heikkinen2015-02-171-3/+3
| | | | | Change-Id: I4d5640ff95e1361ec7e65fb3e87d7726d8185ff5 Reviewed-by: Sergio Ahumada <[email protected]>
* Update copyright headersJani Heikkinen2015-02-121-5/+5
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I61120571787870c0ed17066afb31779b1e6e30e9 Reviewed-by: Iikka Eklund <[email protected]>
* fix whitespaceOswald Buddenhagen2014-01-221-10/+10
| | | | | | | remove trailing spaces and expand tabs Change-Id: Ieacb9d096b612c45d1a64700044c114d1f7522bc Reviewed-by: Simon Hausmann <[email protected]>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-101-1/+1
| | | | | | Change-Id: I6c3bd7bebe3d62d1cfd0fa6334544c9db8398c76 Reviewed-by: Akseli Salovaara <[email protected]> Reviewed-by: Sergio Ahumada <[email protected]>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-231-6/+6
| | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: Ie7f5d49ed8235d7a7845ab68f99ad1c220e64d5c Reviewed-by: Lars Knoll <[email protected]>
* Merge master <-> api_changesMatthew Vogt2012-03-051-0/+211
Change-Id: Iad2f07b989b25349fd2d4fff010e24dcd5a1688f