[PyQt] selectionChanged or currentChanged in QTreeView

Hans Meine meine at informatik.uni-hamburg.de
Thu Oct 7 15:53:36 BST 2010


Am Donnerstag 07 Oktober 2010, 16:48:07 schrieb danny:
> One followup question to your response. I can't find a "currentChanged"
> signal, only a "currentChanged" slot. Clearly there is something I am not
> understanding. I overrode QAbstractItemView.currentChanged because that is
> all I could find. In my code, I emitted my own signal. Is there in fact a
> "currentChanged" signal, and if so, how do I connect to it?

Look in the selection model:
http://doc.trolltech.com/4.5/qitemselectionmodel.html#currentChanged

HTH,
  Hans


More information about the PyQt mailing list