*****SPAM***** Re: [PyKDE] QTreeWidget & Signals

Andreas Pakulat apaku at gmx.de
Wed May 10 23:17:35 BST 2006


On 10.05.06 22:32:52, Sven Flossmann wrote:
> thanks for your answer. I've tried your example and obviously, it works.
> I've tried it with my tree, and ... right it did not work ... :(
> 
> The reason why it did not work for me was that I was using an model for
> the tree.

Huh? You talked about QTreeWidget, you're not supposed to use a model
with a QTreeWidget and in fact that shouldn't work at all, because a
QTreeWidget makes certain assumptions about the model. If you create a
model, use a QTreeView.

Andreas

-- 
Cheer Up!  Things are getting worse at a slower rate.




More information about the PyQt mailing list