PDA

View Full Version : Animating QDockWidget



vajindarladdad
11th December 2008, 10:16
Hi ..
I am creating an application which has a QDockWidget .
I am making it visible and unvisible.
I want to apply different animations while making it visible.
How can i Do that ?
Does Qt support stylesheet or animation for this .
Please let me know .

The QDockWidget should work as it does in Visual Studio.

Thanks and Regards ,
Vajindar

Mohammad_Aqajani
18th January 2021, 06:43
it's about 13 years ago that this question asked, any sample code?

d_stranz
18th January 2021, 17:27
it's about 13 years ago that this question asked

Yeah, it's a teenager now, probably hanging out with the wrong people and smoking cigarettes.

I would experiment with using a QPropertyAnimation on the QWidget::windowOpacity property. You might have to derive from QDockWidget and override the QWidget::setVisible() method to start the animation.