Hi, I'm working on kind of a basic java editor using Qt Jambi (School projec), and it's all been going great so far, but I cant seem to find out how to let the user resize the layout boxes or widgets himself.

Let's say I have two widgets laid out like this:

Qt Code:
  1. ------------------
  2. | |
  3. ------------------ <---- I want the user to be able to drag this divider up and down
  4. | |
  5. ------------------
To copy to clipboard, switch view to plain text mode 

How would I go about doing this? Do I have to wrap the widget in another element? Simply change a layout / widget property I've overlooked?

Thanks,
any help will be highly appreciated!