[Qt-interest] How can I implement a LineEdit which can scroll to show some text automatically?

Raja Sekharan websweetweb at gmail.com
Sat Apr 25 11:20:29 CEST 2009


I am assuming you want want a linedit that automatically scrolls text
like a news flash.

You would do that using a timer - the timer should call a function that
removes one character from the beginning and adds one character in the
end from the complete text.

Raj

On Sat, 2009-04-25 at 09:22 +0800, Kermit Mei wrote:
> Hello, I want to implement a LineEdit to show some text. The text is
> always more then one line, and the LineEdit should show all the text by
> a scroll mode. I mean, the text should be scrolling in the LineEdit
> automatically like playing a movie.
> 
> How can I do it?
> 
> Thanks.
> 
> Kermit
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest




More information about the Qt-interest-old mailing list