Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, April 2007
A blinking pixmap in QWidget


Message 1 in thread

Hi Everyone,
I want to build up a QWidget which has a blinking
pixmap inside. This blinking pixmap will disappear
every 1 second. If focus change to other widget, the
blinking will stop.

The first idea comes to me is QWidget::startTimer and
override the timerEvent function.

But I was wondering if there is other way to do that ?

Regards,
Pagan


--
 [ signature omitted ]