Arrange Widgets in QSplitter
Hi, I need to place three widgets into a QSplitter.
The problem i face is that i need to align first two widgets horizontally and to that i want to align the third widget vertically. I could not find a solution , all I was able to do was to align all three either vertically or horizontally.
Thanks
Vinod
Re: Arrange Widgets in QSplitter
You can add first two widgets to a horizontal layout and align this layout with third widget in a vertical splitter.
Re: Arrange Widgets in QSplitter
But QSplitter accepts only QWidgets right? so how will i add a layout into the splitter
Re: Arrange Widgets in QSplitter
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.