I need a way for certain items in a QTreeWidget to have only one editable column. A double click on any of the other columns on that item should not show the edit-widget. How can I accomplish this? I suppose I could intercept the mouse-event, but how do I know which column was clicked? Or is there an even easier way that I overlooked?

And is it possible for certain columns to show a QDateTimeEdit widget as their edit widget instead of a QLineEdit?

Thanks!