You can add first two widgets to a horizontal layout and align this layout with third widget in a vertical splitter.
You can add first two widgets to a horizontal layout and align this layout with third widget in a vertical splitter.
But QSplitter accepts only QWidgets right? so how will i add a layout into the splitter
If you use designer, open the right click menu while selecting both layout and third widget, there will be an option to arrange in a splitter.
If you want to do that from the code, create a fourth widget and add the layout to it. Then arrange fourth and third widgets in a splitter. Code generated from designer form looks like that, try to create a test form and generate the code (using 'uic') for reference.
vinodpaul (7th September 2012)
Bookmarks