[Qt-interest] How to optimize QML Text element?

Bo Thorsen bo at fioniasoftware.dk
Tue Jul 12 13:03:53 CEST 2011


Den 12-07-2011 11:57, Hai Yang skrev:
> For example, I have 10,000 words and some internet pics (<img ...>) need
> to be displayed in QML Text element.
>
> How to optimize it so that I can get a smooth response when flicking.

You can use TextArea (in the components) for showing the text, or use 
WebView if you can format the text to HTML. You can also just add up the 
text to a large string and set Text.Wrap on wrapMode.

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list