Hi,

I have a little question regarding the QTreeWidget. I have a couple columns inside the treewidget which are resizeable and moveable. Now I want to get notified when the user changes the size or position of a column so I can store the new size/position and save it in a config file. Unfortunatly, there does not seem to be an event or something which informs me about the changes.
I tried it by declaring a "columnResized" method

class myTreeWidget_DEF(QtGui.QTreeWidget):
   def __init__(self, parent=None):
       QtGui.QTreeWidget.__init__(self, parent)
def columnResized(self, a,b,c):
       print "test"

but nothing happens.

Does anyone has an idea?

Thank you very much!

Andre

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to