Qt Reference Documentation

- Qt 4.8
- ALL VERSIONS

- A
- A
- A
- Print

# Text: Text Selection Example

Files:

- declarative/text/textselection/textselection.svg
- declarative/text/textselection/qml/textselection/textselection.qml
- declarative/text/textselection/main.cpp
- declarative/text/textselection/textselection.pro
- declarative/text/textselection/textselection.qmlproject

This example shows how text selection, copy and paste operations can be implemented on top of the TextEdit element.