PDA

View Full Version : Treeview Structure



bismitapadhy
3rd June 2009, 08:15
I want to create a tree view structure.For this i am using QTreeWidgetItem.In the tree structure i want to disble expansion/contraction chech box.
Help me to disble/remove the the check box.I want only tree like structure.

aamer4yu
3rd June 2009, 09:02
How about using QTreeWidget::setRootIsDecorated ??

If doesnt work, just use delegates (QItemDelegate) and override the QItemDelegate::drawDecoration function.

bismitapadhy
3rd June 2009, 14:44
I want to create a tree view structure.For this i am using QTreeWidgetItem.In the tree structure i want to disble expansion/contraction button aswell as qtrrewidget header..
Help me to disble/remove the expandable button and treewidget header.In the tree structure i want to disble expansion/contraction button aswell as qtrrewidget header..