[Qt-qml] Basic rich text editing in QML
Benoît HERVIER
khertan at khertan.net
Tue Jun 28 13:06:31 CEST 2011
2011/6/28 <aaron.kennedy at nokia.com>:
> Hi,
>
> On 27/06/2011, at 6:12 PM, ext Cornelius Hald wrote:
>
>> Hi,
>>
>> could someone from the QML-Team please comment on this? What's the road
>> map for rich text editing? Does it make sense to roll my own solution
>> now or should I just wait a month?
>
> 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.
>
> Cheers,
>
> Aaron
>
>>
>> Thanks!
>> Conny
>>
>>
>> On Thu, 2011-06-23 at 19:06 +0200, Cornelius Hald wrote:
>>> Hi guys,
>>>
>>> I'm trying to do basic rich text editing in QML. Basically I'd like to
>>> do a simple text editor where you, for example, can select text and mark
>>> it as bold or italic.
>>>
>>> So far I've looked at TextEdit, but it looks like I have to copy the
>>> value of the 'text' property, add markup, and write it back. That
>>> doesn't really look like a solution.
>>>
>>> Is there maybe another text widget in one of the 'components' projects?
>>> I couldn't find one so far.
>>>
>>> Also I've heard there might come a more feature-full text widget in QML
>>> 2.0. Is that true? Is there some code already available?
>>>
>>> I'm also willing to use some C++, so would it make sense to inherit
>>> TextEdit and build on top of that? Or build on top of anything else?
>>>
>>> I'm looking forward to your suggestions.
>>>
>>> Thanks!
>>> Conny
>>>
>>>
>>> _______________________________________________
>>> Qt-qml mailing list
>>> Qt-qml at qt.nokia.com
>>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>>
>>
>> _______________________________________________
>> Qt-qml mailing list
>> Qt-qml at qt.nokia.com
>> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
Hi,
Maybe before adding visual effect with dynamic light features, pixel
shadder effects, having a simple blinking cursor, and possibilities to
really edit text.
As currently qml is not just a real headach for everything where text
edition with a simple text layout is needed, it s quite impossible to
implement things cleanly.
Regards,
--
Benoît HERVIER, Khertan Software - http://khertan.net/
More information about the Qt-qml
mailing list