[PyQt] splitters

Matt Newell newellm at blur.com
Thu Jun 3 20:06:36 BST 2010


On Thursday 03 June 2010 11:06:04 Lic. José M. Rodriguez Bacallao wrote:
> no one?
> 
> On Wed, Jun 2, 2010 at 9:24 AM, Lic. José M. Rodriguez Bacallao
> 
> <jmrbcu at gmail.com> wrote:
> > what I mean is something like the first case, and yes, I know that I
> > can nest several splitters but the problem is that I want that those
> > splitters in the first case have a common handler to resize all
> > splitted widgets at one time. Any suggestions?
> > 
> > PS: sorry for my English, it's not so good.
> > 


You should be able to embed two horizontal splitters inside a verticle 
splitter.  Keep the two horizontals in sync using a slot that reacts to 
either's  splitterMoved signal.  Then add a small center widget that allows 
resizing all 4 at once.

Matt


More information about the PyQt mailing list