moowy
28th September 2006, 14:51
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)
header->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) ;
but it doesn't work. :(
Please help me.
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)
header->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff) ;
but it doesn't work. :(
Please help me.