[Qt-qml] Basic rich text editing in QML

Frank Mertens frank at cyblogic.de
Wed Jun 29 18:02:07 CEST 2011


On 06/29/2011 12:35 AM, Alan Alpert wrote:
> On Tue, 28 Jun 2011 20:30:01 ext Cornelius Hald wrote:
>> Hi Aaron,
>>
>> thanks for this answer!
>>
>> On Tue, 2011-06-28 at 00:16 +0000, aaron.kennedy at nokia.com wrote:
>>> We are currently playing with some improvements to our text support.
>>>
>>>   Currently these changes focus on improving the visual effects you can
>>>   accomplish with text, but may indirectly result in better rich text
>>>   editing.  I would expect that we will have a pretty good idea of what
>>>   will be possible in around a month, although the features may not be
>>>   completely implemented by then.
>>
>> I'm happy with the current visual feature set, but better support for
>> editing would be great. Also having a linkClicked() signal would be
>> nice!
>
> There is one already.
> http://doc.qt.nokia.com/4.7-snapshot/qml-textedit.html#onLinkActivated-signal
>
>> Are your current ideas somewhere public? Bugtracker, Git, something?
>> Also will it be based on the TextEdit code or a separate solution?
>
> http://bugreports.qt.nokia.com/browse/QTBUG-20109. It's still a little vague
> because it's still being researched.
>

I would expect the TextEdit to emit a signal onTextChanged each time the text changes.
Means it needs to scramble the entire contents of the underlying text document
and create a plain text copy of it, which doesn't seems to scale well beyond
basic text input on touch devices.

Just my 2 cents,
Frank.



More information about the Qt-qml mailing list