Dockwidgets - Only one per Area? (= Left, Right, Top, Bottom)

Milian Wolff mail at milianw.de
Wed Oct 28 23:14:26 UTC 2009


On Wednesday 28 October 2009 22:36:46 Milian Wolff wrote:
> Hey all!
> 
> I finally found the cause for an issue that bugs me personally a lot:
> 
> The menu "View -> Tool Views" cannot hide currently shown dock widgets,
>  i.e. it does not toggle, but only activate. This makes it pretty useless
>  IMO.
> 
> The problem is that the actions have a QActionCollection associated, which
>  has setExclusive() set. Under that condition, Qt refuses to toggle actions
>  (see documentation).

... <snip> ...

> My question is now: How should I proceed? Fix the menu (== remove the
>  action collection), and introduce some code to Ideal that makes sure that
>  only one dock widget is shown at the same time?
> 
> Of course I don't want to make the changes too big before beta6...

Have committed a small fix that makes the menu usable and lets the current 
behavior stay, i.e. only one visible dock widget per bar.

Still, I'd like to know whether one should be possible to have multiple (imo 
would make sense).

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20091029/b4421528/attachment.sig>


More information about the KDevelop-devel mailing list