Draggable tabs on mac

39 views
Skip to first unread message

mangecoeur

unread,
Jul 20, 2012, 5:42:19 PM7/20/12
to spyd...@googlegroups.com
Hi, I'm playing with spyder's UI to try some ideas I had. One thing i noticed is there's a custom TabBar class which implements draggable behaviour, even though this is part of QT 4.5+ . I was wondering if there was extra functionality that i don't understand, like being able to drag tabs between different tab widgets (i.e. not just rearranging within one tab widget). In any case dragging doesn't work on mac, is it the same on win/linux or not?

anatoly techtonik

unread,
Jul 21, 2012, 3:42:11 AM7/21/12
to spyd...@googlegroups.com
On Saturday, July 21, 2012 12:42:19 AM UTC+3, mangecoeur wrote:
Hi, I'm playing with spyder's UI to try some ideas I had. One thing i noticed is there's a custom TabBar class which implements draggable behaviour, even though this is part of QT 4.5+ . I was wondering if there was extra functionality that i don't understand, like being able to drag tabs between different tab widgets (i.e. not just rearranging within one tab widget). In any case dragging doesn't work on mac, is it the same on win/linux or not?

Carlos Córdoba

unread,
Jul 21, 2012, 12:53:21 PM7/21/12
to spyd...@googlegroups.com
Yep, tabs can be dragged in all plugins with the notable exception of the Editor. I don't think this will be fixed in our new release (2.2, to be ready in October) but probably for the next one.

Cheers,
Carlos

El 21/07/12 02:42, anatoly techtonik escribió:
On Saturday, July 21, 2012 12:42:19 AM UTC+3, mangecoeur wrote:
Hi, I'm playing with spyder's UI to try some ideas I had. One thing i noticed is there's a custom TabBar class which implements draggable behaviour, even though this is part of QT 4.5+ . I was wondering if there was extra functionality that i don't understand, like being able to drag tabs between different tab widgets (i.e. not just rearranging within one tab widget). In any case dragging doesn't work on mac, is it the same on win/linux or not?
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To view this discussion on the web visit https://groups.google.com/d/msg/spyderlib/-/Cp4AJcybLQkJ.
To post to this group, send email to spyd...@googlegroups.com.
To unsubscribe from this group, send email to spyderlib+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spyderlib?hl=en.

Pierre Raybaut

unread,
Jul 28, 2012, 4:23:24 PM7/28/12
to spyd...@googlegroups.com
When I wrote this class, the feature was not yet implemented in Qt.
Furthermore, it did implement the dragging feature between different
tab widgets (Qt still doesn't support this, AFAIK) but this is no
longer used within Spyder (it was originally used in the code editor
widget for moving scripts from one tab widget to another, in the
previous code editor implementation). Now the drag'n drop tabs are
only used in the console widget.

Cheers,
Pierre

2012/7/20 mangecoeur <jon.cham...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "spyder" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/spyderlib/-/2qsZ_Wy1VQYJ.
Reply all
Reply to author
Forward
0 new messages