|
From: | Daniel J Sebald |
Subject: | Re: icons of floating widgets in gui |
Date: | Tue, 30 Oct 2012 13:19:45 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16 |
On 10/30/2012 06:13 AM, Michael Goffioul wrote:
On Tue, Oct 30, 2012 at 2:59 AM, Daniel J Sebald <address@hidden <mailto:address@hidden>> wrote: On 10/30/2012 01:48 AM, Daniel J Sebald wrote: At the moment, all floating widgets have the octave-logo as icon for distinct assignment to octave in alt-tab- or tasks-panels. The only exception is the terminal widget (fix here: https://bitbucket.org/ttl/__octave-ttl/changeset/204caff <https://bitbucket.org/ttl/octave-ttl/changeset/204caff>). I'm running Gnome. Perhaps this is different and functionality is GUI dependent or controllable. In the Alt-Tab I only see the Octave icon for the main window, but no floating widgets, which is probably the way it should be on my system because those floating widgets aren't independently stackable. That's unfortunately the default behavior of QDockWidget system, which is mainly intended for dockable toolbars.. That's why I suggested a while back that we'd probably need our own docking system.
OK, I see that now. The documentation calls the undocked widget "top level".
Perhaps this isn't too difficult to change. There is a signal sent went the float button is clicked. From that we can get the dock widget pointer. Then removeDockWidget( QDockWidget * dockwidget ) can be used to take the widget off of the main window. If that widget can then be put into another container or even a second main window which only has one item, maybe that would work.
The difficult part would be restoring the separated widget to the main window, but there are state and geometry features, so it might be doable.
Dan
[Prev in Thread] | Current Thread | [Next in Thread] |