[Qt-interest] Qt-interest] Suggestion for a fading slide

Ross Driedger ross at earz.ca
Wed Mar 17 18:35:57 CET 2010


On 17-Mar-10, at 9:55 AM, qt-interest-request at trolltech.com wrote:

> Message: 2
> Date: Wed, 17 Mar 2010 14:32:59 +0100
> From: Francesco Lamonica <alienpenguin at gmail.com>
> Subject: [Qt-interest] Suggestion for a fading slide
> To: Qt Interest List <qt-interest at trolltech.com>
> Message-ID:
> 	<8817aa361003170632u7fb613e5wdf06d52671a8b5a5 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi all,
> i'm developing a simple app where i have to show some text in  
> "slides" and
> these slides should change with a "fading effect"
> i have thought about using a QGraphicsView and  
> QGraphicsSimpleTextItem (t1 &
> t2) with a QTimer handling the opacity of t1 and t2. i.e. t1 going  
> from
> opacity 100 to 0 and t2 viceversa.
> Is that sensible and/or you can provide some ideas/suggestions?

I do exactly this except I use a QTimeLine object instead of a QTimer  
and I like the results.


Ross Driedger
ross (at) earz (dot) ca



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100317/8410106d/attachment.html 


More information about the Qt-interest-old mailing list