[PyQt] Organize the components in window (Qt-Designer)

Alfredo Junior junixrj at yahoo.com
Sun Apr 1 17:30:55 BST 2012


Thank you man.

Now is working as I want.

BR,

Junix
 
Linux user: #262629 (counter.li.org)
ICQ: #99042637


----- Original Message -----
From: Vincent Vande Vyvre <vincent.vandevyvre at swing.be>
To: pyqt at riverbankcomputing.com
Cc: 
Sent: Sunday, April 1, 2012 4:34 AM
Subject: Re: [PyQt] Organize the components in window (Qt-Designer)

Le 01/04/12 05:57, Alfredo Junior a écrit :
> Hi
> I'm creating a Mame(mamedev.org) Front-end in PyQt4 and using Qt-Designer to build my windows.
> This (Qt-Designer) is a little bit new to me and I have a problem to manage the layout components in the window.
> As you can see in a video below, I can't organize the components into the window.
> http://vimeo.com/39561463
> I don't know how to do, because the vertical/horizontal layout there are not some property as max. size, for example.
> I'm not sure if by the video I came to my goal to show you the exactly that I need.
> Thanks for advance.
>
> Junix
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
You must use size policy in your's widgets and place your verticalLayout
and QGraphicsWidget into a horizontalLayout before set the final gridLayout.

Joined an example with the same widgets, take a look at the size policy.

-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte+7
<https://launchpad.net/qarte+7> . PaQager <https://launchpad.net/paqager>

_______________________________________________
PyQt mailing list    PyQt at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt 


More information about the PyQt mailing list