Re: QTabWidget tabBar refresh?

Maurizio Berti <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAPn+-XQwCS8hj+yEas7pbf-CYb1tcjgtuXQy5wDB5m4cyu+HGw@mail.gmail.com>
Il giorno mar 7 mag 2019 alle ore 18:48 Matic Kukovec <
[email protected]> ha scritto:

> 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.
>

The default behavior should automatically do that, I assume that you're
doing something else within your implementation (also, I remember you were
playing around with QTabWidgets some weeks ago). If you can give us a
minimal and complete example of your code, we could try and understand
what's going on here.

_______________________________________________
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.