PDA

View Full Version : Re: QTreeWidget columns



npc
7th March 2007, 10:52
Hi,

How to fix a column in QTreeWidged, i.e; the drag and drop option should be disabled for columns.

I used treewidget->setDragEnabled(false); but it doesnt help me.

thanks,
**npc**

npc
8th March 2007, 14:02
By default the columns are moveable in QTreeWidget,

any idea how to make the columns to fix ?

jpn
8th March 2007, 14:45
QTreeView::header()
QHeaderView::setMovable()