[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Question on multiple tool bars
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2008-09-04 18:04:35
Message-ID: 20080904180435.GA8057 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 04.09.08 07:53:48, David Boosalis wrote:
> I would like to have two rows of tool bars.  KMainWindow almost gets me
> there as it supports multiple toolbars, but I don't think it allows me to
> control where they are placed.  I tried an hello world example with two
> toolbars (Hello World with two toolbars - now thats oxymornic) , but I did
> not have any control of where they were placed, both occupied the same
> vertial space.

Why? I don't have any data for this, but from experience I'd say people
would get pretty upset when your app wastes precious vertical space when
there's plenty of horizontal space available.

Having said that, you could try with a QWidget that contains a layout
with just a QSpacerItem. That should enlarge the QWidget as much as
poosible and hence make the upper toolbar as wide as the toolbar area
and force the second toolbar into the next row.

Andreas

-- 
You will experience a strong urge to do good; but it will pass.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic