Organize the components in window (Qt-Designer)
Hi
I'm creating a Mame 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.
- my video -
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
Re: Organize the components in window (Qt-Designer)
It looks like you should be using sub-layouts. Try this:
1. Select the line edit and the label and click the horizontal layout button. Let's call this layout the "top left layout".
2. Select the movie, the libraries, and the new "top left layout", and click the vertical layout button. This will be your "left layout".
3. Select the QGraphicsView and the left layout and click the horizontal layout button.
If that isn't exactly what you want, it should help you figure out what to do anyways.
Re: Organize the components in window (Qt-Designer)