Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Slide Down Widget Effect
unmeshphalak last edited by
Hello all, I have created main window which contains a dockable widget initially docked at bottom. I want to have a slide-out animated effect on that widget whenever i will hover the mouse to the side wherever it was docked last time.
The widget which is embedded in QDockWidget contain layouts, hence we cannot decrease the height so as to give animation through QPropertyAnimation.
Also since its dockable we cannot move it below main window.
Please suggest any solution.
andre last edited by
I think your best bet is to render the widget in an image, and do the animation with the image rather than the real widget. Then, when the animation is done, you replace the image with the real widget so the user can interact with it.