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@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>
example.ui
Description: application/designer
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt