[Qt-qml] persistentSelection in TextEdit

michael.brasser at nokia.com michael.brasser at nokia.com
Wed Nov 10 03:03:12 CET 2010


On 09/11/2010, at 10:28 PM, ext henrik.hartz at nokia.com wrote:
> while discussing Qt Quick components API, we were looking at persistentSelection in TextEdit. What is the use-case of turning this off? We're curious if it's better to just not forward this property

You can see the difference in e.g. Apple Mail and Qt Creator:
* In Apple Mail, if you select a block of text when composing a message and then click in the "To" field, the selection disappears.
* In Qt Creator if you select a block of text in the main editor, and then click in the "Find" field, the selection remains.

I don't think it necessarily needs to be exposed in a high-level components API.

Regards,
Michael






More information about the Qt-qml mailing list