[Interest] Dockwidget show/hide animation

Fábián Kristóf - Szabolcs f-kristof at hotmail.com
Wed Sep 12 20:50:18 CEST 2018


Hi,

I want to implement animated showing/hiding (sliding in-out) of a QDockWidget, currently I have implemented this: https://www.youtube.com/watch?v=qBkvHQrQBO0 In this video you can see that when I press the buttons, first I get a darker area (I think it's a dock window) shown which changes the layout and then the widget itself slides in. Is there any way to get rid of that "darker area" behind the widget? Maybe animate it together with the widget maybe.

The code: https://github.com/KDE/labplot/commit/3ef13eed12d03ca6f4026f4217b986010096e597

Thanks in advance,

Fabian Kristof

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180912/35b5f2fd/attachment.html>


More information about the Interest mailing list