[PyQt] Getting raw x11 events

2008-03-18 Thread Tro
Hi. I'm trying to get at the raw x11 events by overriding the x11ProcessEvent() method in my PyQt QApplication-derived class, but it's never being called. In fact, QApplication doesn't seem to have a x11ProcessEvent() method that I could override. Is this by design or am I doing something wron

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Marius Kintel
On Mar 18, 2008, at 2:44 PM, Phil Thompson wrote: What makes you say that? The connection has nothing to do with the wrapper object of the emitter. The underlying Qt connection stays alive, but on the PyQt side the connection goes down making the Qt connection just call the universal slo

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Kevin Foss
I really hate to keep coming back for help like this but even after re-reading the reference you gave (I've read it before), I still have yet to understand what constitutes an INDEX. In the case of the following, I've gotten the selected row from the call to SLOT. I have read through the defi

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Andreas Pakulat
On 18.03.08 13:37:46, [EMAIL PROTECTED] wrote: > I have been successful in getting the row number back to me for a selected > row. I have found that the returned row number is not consistent with the > list but with the view. Therefore row '0' when I start is row '10' on a 10 > item list when

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread fossks
I have been successful in getting the row number back to me for a selected row. I have found that the returned row number is not consistent with the list but with the view. Therefore row '0' when I start is row '10' on a 10 item list when the view is sorted in the opposite direction. Is there

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Matt Newell
On Tuesday 18 March 2008 10:52:20 Matt Newell wrote: > On Tuesday 18 March 2008 09:46:06 [EMAIL PROTECTED] wrote: > > Phil/Andreas, > > > > I've been experimenting again using some of the recommendations and > > some examples I have found. Please look at the new example I am working > > with

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Matt Newell
On Tuesday 18 March 2008 09:46:06 [EMAIL PROTECTED] wrote: > Phil/Andreas, > > I've been experimenting again using some of the recommendations and > some examples I have found. Please look at the new example I am working > with, which is below. > > I can now have a reaction to a selected

[PyQt] ANN: new eric4 snapshot available

2008-03-18 Thread Detlev Offenbach
Hi, this is to inform all of you about the immediate availability of a new eric4 snapshot. The highlights of this snapshot are a reorganized configuration dialog (suggestions made by Julien Vienne), support for vector graphics (SVG format) and most notably support for using PyKDE4. Please note,

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread fossks
Phil/Andreas, I've been experimenting again using some of the recommendations and some examples I have found. Please look at the new example I am working with, which is below. I can now have a reaction to a selected item in a list. When something is selected, the 'slot' function is

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Phil Thompson
On Tuesday 18 March 2008, Marius Kintel wrote: > On Mar 18, 2008, at 2:57 AM, Kevin Foss wrote: > > 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.op

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Kevin Foss
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: > >

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Marius Kintel
On Mar 18, 2008, at 2:57 AM, Kevin Foss wrote: 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

Re: [PyQt] Signal on Selection in QTreeView

2008-03-18 Thread Andreas Pakulat
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