PDA

View Full Version : Widgets: Let the user change the size



Donner
14th November 2010, 16:25
Hi,

if I have two widgets next to each other (in a Grid Layout), a ListView and a TreeView. Is it possible to have some kind of slider in between them to allow the user to determine, how much space the ListView and how much the TreeView get?
Of course this is just an example... I'm looking for a container widget that allows the user to specify the size of the contained widgets...

An example would be Thunderbird, where you can change the width of the left sidebar...

Is there a solution for that?

Thanks,
D.

tbscope
14th November 2010, 17:04
http://doc.qt.nokia.com/4.7-snapshot/qsplitter.html

Donner
14th November 2010, 20:13
Hey,
thanks! That is exactly what I was looking for...

Thank you very much!