PDA

View Full Version : Resizing a QTreeWidgetItem with a widget inside



NullPointer
2nd January 2012, 00:32
Hello there!!

I have an application that has a lot of infos...
It's organized in levels.

I'm constructing a tree with QTreeWidget, with parent and child items and for each item I put a widget at the second column.
Everything is right, except when I try to resize the row/widget, once I want to expand that widget.

I searched in forum and in Google, but nothing...

I want widget to grows in height, so I can show the extra info, but I need to shrink it back, when the user don't want it anymore....

How can I do this?

Thanks in advance :)

NullPointer
16th January 2012, 02:20
Iha!!

Done:
7276

7275

By clicking on the same "tab", it shrink. :D