frankel at circlesfx.com
Sun Jul 20 02:19:22 BST 2008
How does one allow the fields of a tree to be editable?
I've read that items of a tree widget are not editable by default.
By setting setEditTriggers(), one can control editability. That gets
set on the view, right? I've got a pure model that the view gets set
to. Is there something I need to do there as well?
Here's a portion of my view code:
self.theView = QtGui.QTreeView()
Double-clicking on a field just opens/closes that tree branch's
nesting. Setting the edit triggers to AllEditTriggers yields the same
results: no editability.
Thanks in advance!
More information about the PyQt