Re: [PyKDE] Model indexes and internal pointers

2006-07-18 Thread Arve Knudsen
Andreas' explanation sounds correct to me, it's obvious that one should be able to access data stored with an index created in the index() method when it is later passed to methods such as data(). What happened in my case was that I created indexes in index() with references to Python objects tha

Re: [PyKDE] First Python QT app queries

2006-07-18 Thread Dave S
On Wednesday 19 July 2006 00:03, Andreas Pakulat wrote: > On 18.07.06 20:39:17, Dave S wrote: > > (1) When I execute my dialogue script I have to > > 'python dlg_livedata.py', If I ... > > './dlg_livedata.py' > > as I normally do I get a wierd X cursor. What is happening, I thought > > with a '#!

[PyKDE] QT4.1.4 and PyQT4-snapshot-20060716 on MacOSX

2006-07-18 Thread Tobias Rundström
Hello, Just downloaded latest snapshot of sip and PyQT4 to run with my Qt4.1.4 installation (MacOSX 10.4.7). Sadly the signals doesn't seem to be emitted or connection code doesn't seem to work. Tried both python2.3 (default) and python2.4 (from python.org). I've tested a lot of example p

Re: [PyKDE] Model indexes and internal pointers

2006-07-18 Thread Andreas Pakulat
On 19.07.06 00:53:42, David Boddie wrote: > On Tue, 18 Jul 2006 10:35:17 +0200, Arve Knudsen wrote: > > When you say that model indexes are temporary, do you mean that if one > > keeps a reference to a wrapping Python object, the underlying C++ > > object may still get destroyed? That doesn't apply

Re: [PyKDE] First Python QT app queries

2006-07-18 Thread Andreas Pakulat
On 18.07.06 20:39:17, Dave S wrote: > (1) When I execute my dialogue script I have to > 'python dlg_livedata.py', If I ... > './dlg_livedata.py' > as I normally do I get a wierd X cursor. What is happening, I thought with > a '#!/bin...python' both statements were the same ? I guess you start

RE: [PyKDE] PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005

2006-07-18 Thread Trent Nelson
> On Tuesday 18 July 2006 7:37 pm, Trent Nelson wrote: > > Does anyone have PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005 playing > > nicely? My version of Qt 4.1.4 was built against VS 2005, and as such, > > deals with embedding .manifest info correctly. However, although sip > > contains a spec for

Re: [PyKDE] Model indexes and internal pointers

2006-07-18 Thread David Boddie
On Tue, 18 Jul 2006 10:35:17 +0200, Arve Knudsen wrote: > When you say that model indexes are temporary, do you mean that if one > keeps a reference to a wrapping Python object, the underlying C++ > object may still get destroyed? That doesn't apply to my case at > least, I only need to access ind

Re: [PyKDE] Monitor/Track Mouse and Keyboard

2006-07-18 Thread Andreas Pakulat
On 18.07.06 11:28:04, Anil Shankar wrote: > Hi all, > I'm a newbie to pykde. I am desperately looking for some piece of code (or > hooks) that will help me monitor keyboard/mouse usage on KDE. > > Specifically, I want to do these things: > 1. Check if keyboard keys are pressed > 2. Monitor mouse:

[PyKDE] building sip on OS X

2006-07-18 Thread Christian Bird
Hi all, I've recently gotten a macbook pro and am trying to build pyqt on it. I was able to build Qt and python with no problem whatsoever, however, when building sip, I run into an error that I can't figure out, but I'm guessing that it's easy since I'm not super familiar with building stuff on

Re: [PyKDE] PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005

2006-07-18 Thread Phil Thompson
On Tuesday 18 July 2006 7:37 pm, Trent Nelson wrote: > Does anyone have PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005 playing > nicely? My version of Qt 4.1.4 was built against VS 2005, and as such, > deals with embedding .manifest info correctly. However, although sip > contains a spec for 'win32-ms

[PyKDE] First Python QT app queries

2006-07-18 Thread Dave S
Hi all, This is my first attempt at combining Python & QT - Thanks to eric its relatively painless :) but I have a couple of queries. (1) When I execute my dialogue script I have to 'python dlg_livedata.py', If I ... './dlg_livedata.py' as I normally do I get a wierd X cursor. What is happeni

[PyKDE] PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005

2006-07-18 Thread Trent Nelson
Does anyone have PyQt 4.0.1, sip 4.4.5, Qt 4.1.4 & VS 2005 playing nicely? My version of Qt 4.1.4 was built against VS 2005, and as such, deals with embedding .manifest info correctly. However, although sip contains a spec for 'win32-msvc2005', it doesn't account for .manifests (i.e. they're not

[PyKDE] Monitor/Track Mouse and Keyboard

2006-07-18 Thread Anil Shankar
Hi all, I'm a newbie to pykde. I am desperately looking for some piece of code (or hooks) that will help me monitor keyboard/mouse usage on KDE. Specifically, I want to do these things: 1. Check if keyboard keys are pressed 2. Monitor mouse: Right button, left button, middle button and position

Re: [PyKDE] QScintilla snapshot not auto-indenting anymore

2006-07-18 Thread Detlev Offenbach
Ok, ok, you convinced me. I just uploaded a snapshot of the upcoming 3.9.2 release. Please everybody forget about the patch and get the snapshot, with even more changes. If you find problems, please report them. Please remember, the new functionality is only available, if snapshot versions of P

Re: [PyKDE] Eric3 version 3.9.1 causes problems when opening single *.py files

2006-07-18 Thread Detlev Offenbach
Hi, that is a known problem caused by the win32 Qt-Free port (not by eric). I don't know of any workaround. Please be aware, that this port of Qt-X11 to Windows is not supported by eric3. It might work with a newer version of the port (if that exists) it might not. Another known problem is, tha

Re: [PyKDE] Eric3 version 3.9.1 causes problems when opening single *.py files

2006-07-18 Thread Lars Fabig
Hi Detlev, thanks very much for the reply but unfortunately it does not fix the problem. Doing a few more tests I found out: 1) Open files works doing drag and drop. 2) When the previously described error message is displayed it seems that file path is composed in the wrong way:     "The file

Re: [PyKDE] Model indexes and internal pointers

2006-07-18 Thread Arve Knudsen
On 7/18/06, David Boddie <[EMAIL PROTECTED]> wrote: On Tue Jul 18 00:23:47 MEST 2006, Phil Thompson wrote: > There are plenty of other places where you have to keep an external > reference to stop an object being garbage collected causing a crash. I just > need to decide if this is worth making a