Details
-
Task
-
Resolution: Done
-
P3: Somewhat important
-
None
-
22daf9fbdfaa859db6414d39d9354e7d46f63005, 6a36f1f6299980cd0338009cb31e2a36cd40e44f
Description
QML is style independent technology and doesn't come with ready-made finger-usable text selection controls. Luckily those are easy to implement using MouseArea, TextEdit and TextInput functions select(), selectWord and selectAll, and by creating your own selection handles using QML.
Clearing active selection is something all text selection controls need to implement. Currently to do that from QML you basically call "select(cursorPosition, cursorPosition)" with the parameters start and end position having the same value. For a convenience a new function deselect(), already available for C++ editors like QLineEdit, should be introduced.
Attachments
Issue Links
- depends on
-
QTBUG-13451 Support property versioning in QML
- Closed
- relates to
-
QTBUG-15279 Add versioning to new properties in QtQuick 1.1
- Closed