Hello.

I have a problem with a QTreeWidget. I have inside it two qabstractscrollarea-s (header, and the treewidgetitem-s from which i builded the tree) . The problem is that when I need the scrollbars they appear but, it takes the whole space (both scrollarea-s). I want it to be limited only to lower area. I tried using (on header scroll area)
Qt Code:
  1. header->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
To copy to clipboard, switch view to plain text mode 
but it doesn't work.
Please help me.