[Qt-interest] How to set an effect on a opening widget

Oliver.Knoll at comit.ch Oliver.Knoll at comit.ch
Thu Aug 26 11:22:56 CEST 2010


On 2010-08-26 Ambre Ambre RIPPE wrote:

>   I was wondering whether this is possible to add any displaying effect on a
> QWidget ? 

If you are talking about a QDialog-based widget then usually it is the Window Manager of the underlying OS that does these effects.

And that is a Good Thing(tm), because then the user can disable those effects system-wide for every application (like I do ;)

However when you draw the widget entirely yourself (e.g. an "embedded dialog" within some other QWidget) you are free to "animate" it in whatever way. I could even imagine that the upcoming "Qt Quick" provides a few flashy effects in this area.

Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22






More information about the Qt-interest-old mailing list