Disallowing tabbed docks is also a nice touch, is there a way to do this on a DockWidget by DockWidget basis? There are some widgets that we will want to have tabbed, while others will want to be always visible.
Mostly what's going in these windows are graphs of data (similar to a lie-detector polygraph), there will also be a couple of windows with numeric displays, and a few with 2D image representations of data. The graphs will have captions, and be user-configurable - they may change overall size from time to time - so I want the Scroll Area option for when they are just too big for their windows. Also, the numeric displays will be pretty small, even using big fonts, when compared to the polygraph display.
I've done applications like this in the past where only the programmers could re-layout the screen, but that puts programmers "in the loop" - would be best if the users could tweak their own layouts.
-------------------
I suppose what I would wish for would be:
If there are only dock widgets in the top and bottom
and no widget in the top is at minimum height
and any widget in the bottom is not yet at its maximum height
then allow the separator top-bottom to be pulled upwards until either:
a widget in the top is reduced to minimum height or
all widgets in the bottom have reached maximum height
(and, of course, extend this logic for all cases up, down, left and right)
The behavior I see now is stopping the separator when any widget in the row is at (or above) its maximum dimension - but in some window resizing cases the restricted widget is drawn (nicely) centered while allowing other widgets in its row to use the available space.
The "wasted space" around widgets that are in a row/column larger than their maximum dimension isn't such a bad thing - in my opinion. It's just a reality of the chosen layout, and often may be a result of stretching a main window very large for a layout that "works" very efficiently at smaller sizes.
All in all, I think the dockable widget concept is a 100% improvement over "fully configurable" but dumb windows with such annoying layout options as "Tile" and "Cascade".![]()
Bookmarks