View Full Version : Animating "any" widget?!?
nupul
8th April 2006, 04:55
Qt4 is equipped with a powerful paint engine. Now can widgets like Buttons, Custom widgets and as well the whole widget window be animated??
eg:
1. Button rotating when clicked,
2. Widget's top level window shearing on minimization etc...
What are the limitations of Animations in Qt4?
Thanks.
Nupul
You could adapt some ideas from Qt sources: src/gui/widgets/qeffects.*
There isn't rotation, but fading and scrolling, though. But after understanding the principles used in QEffects (which is a private class of Qt), it shouldn't be too hard to implement a rotating effect.. ;)
nupul
10th April 2006, 05:15
You could adapt some ideas from Qt sources: src/gui/widgets/qeffects.*
This path doesn't exist in my Qt installation dir and nor did I find it in the assistant!
and nor did i find any files resembling this name....could you send me a link or an attachment!
jpn
10th April 2006, 07:06
This path doesn't exist in my Qt installation dir and nor did I find it in the assistant!
and nor did i find any files resembling this name....could you send me a link or an attachment!
It's a private Qt class which is not intended to be used.
Check inside the installation package
qt-x11-*-src-4.1.2.tar.gz: qt-x11-*-src-4.1.2\src\gui\widgets
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.