PDA

View Full Version : Lock a row in QTreeWidget



maka3k
9th March 2010, 14:16
HI, I would like to "lock" the bottom most QTreeWidgetItem. Like in spreadsheet applications the row should not move when the user scrolls. My first approach was to delete and add the item again. But this leads to some strange behaviour.

Thank you,
Markus

aamer4yu
9th March 2010, 14:45
I guess you can check examples in 4.6.2 . If I remember right there was some example to freeze rows/columns in QTableWidget. You can try similar for QTreeWidget.