QTabWidget tabBar refresh?

Matic Kukovec <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <VI1PR01MB5344DFFBD0B0D69B2D5B4A25D7310@VI1PR01MB5344.eurprd01.prod.exchangelabs.com>
Hi guys,

I have a QTabWidget that starts a QDrag when a tab is pressed and dragged outside
the bounds of the QTabWidget's tab bar.
That works great, but when the mouse button is released the tab doesn't jump-back into position
until there is a new mouse event on a non active tab and stays wherever the QDrag was initiated.
Here is an example:
[cid:b9badb6e-0c4f-4631-b0fd-a0a92ef6fddd]
Is there a way to make the tab bar properly reposition the tabs automatically in code?

Thanks,
Matic

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
2019-05-07_18-35-11.gif (image/gif, 29.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.