[Interest] Eclipse-like docking window?
jaume dominguez faus
jaume at land.aau.dk
Mon Mar 5 12:37:10 CET 2012
No, I don't want to dock views into an editor. That already works as
desired (it tabs the dragged view). The problem is that the main area of
the window is never occupied. It remains empty and since this is the
area that takes the space gained or lost when the whole window is
resized, it is a bit uncomfortable. My intention is that the "main" area
in the window is any (at the user's wish). In other words, there is no
Could this be done, somehow?
On 03/05/2012 10:20 AM, Andreas Pakulat wrote:
> On 05.03.12 09:17:29, jaume dominguez faus wrote:
>> Hi list.
>> I have been playing around with the QDockWidget and QMainWindow. I can
>> easily dock and undock widgets on the borders of the main window. But
>> I'm interested in having an environment where you can freely add, move,
>> remove internal views anywhere. Exactly something like Eclipse does.
>> Eclipse has a default layout that is initially shown, but the user can
>> easily redistribute all the views at wish.
>> I couldn't manage to have my application to behave like that with
>> QDockWidget and QMainWindow. Docking in the center does not seem to be
>> possible. Does anybody know how can I manage this? Any previous effort
>> towards this?
> Eclipse does not allow to dock views into the editor area either. The
> only things that you cannot achieve out of the box with QDockWidgets and
> QMainWindow that Eclipse can do are the fast-view bars - that'll require
> some extra code to be written - and multiple "lines" of dockwidgets
> side-by-side (thats probably not possible even with some extra code).
> Interest mailing list
> Interest at qt-project.org
More information about the Interest