[PyQt] QTabWidget tab movement?

Matic Kukovec kukovecmatic at hotmail.com
Thu Apr 11 20:22:49 BST 2019


Hi,

Is there a way to change the behavior and animation of a QTabWidgets tab bar drag functionality?
[cid:0eaca555-c24a-480d-8da1-3a8ea8ee6682]
In the above image you can see that the dragged tab disappears outside the bounds of the tab bar.
I would like to remove the movement of tabs outside the tab bar space.

Can anyone suggest of where to begin in changing this behavior?

Thanks,
Matic
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190411/6e6fb9f4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tab_movement.gif
Type: image/gif
Size: 43989 bytes
Desc: tab_movement.gif
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20190411/6e6fb9f4/attachment-0001.gif>


More information about the PyQt mailing list