[PyQt] Signal on Selection in QTreeView

Kevin Foss fossks at cox.net
Tue Mar 18 12:57:42 GMT 2008


I'm running on Mandriva 2008.0 with Python 2.5 and PyQt 4.3(.4mdv)

>From the other person (Marius Kintel) who mentionned it didn't work other, 
seems like there is a problem somewhere.

Kevin

On Tuesday 18 March 2008 12:37:25 am Andreas Pakulat wrote:
> On 17.03.08 18:57:52, Kevin Foss wrote:
> > Andreas,
> > 	I am sorry but I am still not seeing the whole picture.  I've been
> > through my reference books as well as just about any page that exists
> > online that talks about selection models and I just can't put 2 and 2
> > together.
> >
> > 	To show you my difficulties, I've tried to test this whole selection
> > model capability using an example from David Boddie at Trolltech.  It can
> > be found here:
> >
> > http://www.opensubscriber.com/message/pyqt@riverbankcomputing.com/8447872
> >.html
> >
> >       	Guess what, even his example doesn't work.  When I run his
> > example, nothing is printed when an item is selected.
>
> Thats strange, it works fine for me.
>
> > 	I could really use a link to a complete example that shows the proper
> > setup of a model, indexing and the selection of an item.
>
> The example you referenced is a pretty basic one.
>
> What version of PyQt and Qt are you using? If such an example doesn't
> work as you expect it then I think somethings fishy with your setup.
>
> Andreas





More information about the PyQt mailing list