[PyQt] Designer issues, WYS-is not-WYG

David Boddie david at boddie.org.uk
Tue Jun 28 10:17:05 BST 2011


On Tue, 28 Jun 2011 08:06:44 +0200, Hans-Peter Jansen wrote:
>
> On Tuesday 28 June 2011, 01:08:38 James Polk wrote:
> > I often get positon offset weirdness using QFrames,
> > QGroupBoxes,etc... They look good in Designer, then "off" in main
> > program, so I have to make them look "off" in Designer, so they'll
> > end up in the right place when they're used.
>
> This all sounds like you're using fixed geometries and no layouts.
>
> I cannot recommend doing this in any sane project.
>
> The ability of combining different layouts in a top level container
> constitutes one of Qt's strength, resulting in resolution independent
> user interfaces.

It might be worth mentioning the tutorials at this point:

  http://www.diotavelli.net/PyQtWiki/Tutorials

This one in particular might be useful:

  http://gumuz.nl/weblog/qt-designer-video-tutorial/

David


More information about the PyQt mailing list