<div dir="ltr"><div dir="ltr">Il giorno mar 7 mag 2019 alle ore 18:48 Matic Kukovec <<a href="mailto:kukovecmatic@hotmail.com">kukovecmatic@hotmail.com</a>> ha scritto:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi guys,</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have a QTabWidget that starts a QDrag when a tab is pressed and dragged outside</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
the bounds of the QTabWidget's tab bar.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That works great, but when the mouse button is released the tab doesn't<i> <b>jump-</b><b>back</b></i> into position</div>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
until there is a new mouse event on a non active tab and stays wherever the QDrag was initiated.</div></div></blockquote><div><br></div><div>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.</div></div></div>