[PyKDE] bug in pyqt4/python in QTextEdit/QTextBlockUserData

2006-11-09 Thread Pavol Mravec
The following example will cause python to segfault in linux and window. tested on latest debian sid pyqt packages and latest windows binary distribution of pyqt on winxp. Just run it and when you close the window, python itself segfaults. I would expect at least some sort of exception raised

Re: [PyKDE] Re: pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.

2006-11-09 Thread simon stockes
Hi,Yes, the xml qt4 lib is present :-(- [EMAIL PROTECTED] PyQt4]# ll /software/local/discovery/de/lib/libQtXml*-rw-r--r-- 1 root root 749 Nov 7 13:44 /software/local/discovery/de/lib/libQtXml.la -rw-r--r-- 1 root root 672 Nov 7 13:44 /software/local/discovery/de/lib/libQtXml.prllrwxrwxrwx 1

[PyKDE] Gui Python framework comparison

2006-11-09 Thread simon stockes
Hi,What are the bad and good points of PyQt compare to PyGtk, wxPython ?Simon ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Re: [PyKDE] Re: Re: pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.

2006-11-09 Thread simon stockes
Thanks for the information but I have to compile it. Firewall, here are blocking yum, apt, etc ...Simon.I'm not root on this machine2006/11/9, Rex Dieter [EMAIL PROTECTED]:simon stockes wrote: Yes, the xml qt4 lib is present:-( OK.dunno then.FYI, you may be interested in the qt4 rpms we provide

[PyKDE] pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.

2006-11-09 Thread David Boddie
On Tue Nov 7 18:50:04 MET 2006, simon stockes wrote: I got this error when I tried to compile sip-4.5, pyqt4.1, with the last version of Qt-4.2.1 GNU version. The effect is to not construct the QtXml directory in pyqt4.1sourcedirectory. This one was constructed without problem in the

[PyKDE] sender info in Python slot

2006-11-09 Thread Sibylle Koczian
Hello, hopefully the subject line isn't too misleading. This is my problem: I would like to connect the clicked signal of several buttons to one and the same function - but this function should know which button sent the signal. Example: one button to increase a value, another to decrease it,

Re: [PyKDE] pylupdate4 and pyrcc4 will not be built because the Qt XML module is missing.

2006-11-09 Thread simon stockes
Hi,this what I got. It seems that /usr/X11R6/lib64/ is not take in account ?! And it is a 64bits machine. I readed somethong recently on the list , No ?:Thank, Simon.[EMAIL PROTECTED] PyQt-x11-gpl-4.1 ]# python configure.py -q /software/local/discovery/de/bin/qmake -wDetermining the layout of your

Re: [PyKDE] sender info in Python slot

2006-11-09 Thread Mathieu Leclaire
You can get the emitting button with the sender() function from the QObject class Sibylle Koczian a écrit : Hello, hopefully the subject line isn't too misleading. This is my problem: I would like to connect the clicked signal of several buttons to one and the same function - but this

Re: [PyKDE] sender info in Python slot

2006-11-09 Thread Andreas Pakulat
On 09.11.06 16:43:00, Sibylle Koczian wrote: hopefully the subject line isn't too misleading. This is my problem: I would like to connect the clicked signal of several buttons to one and the same function - but this function should know which button sent the signal. Example: one button to

Re: [PyKDE] PyQt4 and win98

2006-11-09 Thread Panard
Le lundi 06 novembre 2006 10:42, Michael Towers a écrit : Hi, I may be doing something stupid (such as trying it on win98!) but it seems not to work - Qt4.2.1 demos work fine, PyQt4.1 installation went ok, but 'from PyQt4 import QtCore' gives 'DLL load failed'. I'm experiencing the same

[PyKDE] idle time detection

2006-11-09 Thread Sebastian Kügler
Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be kicking in a suspend / hibernate / dimming display after N seconds of no mouse or keyboard activity. Thanks for

[PyKDE] Re: Gui Python framework comparison

2006-11-09 Thread Christophe Cavalaria
simon stockes wrote: Hi, What are the bad and good points of PyQt compare to PyGtk, wxPython ? PyQt and PyKDE have the native lookfeel on all platforms whereas PyGtk and wxPython use the weird GTK widgets on Linux. ___ PyKDE mailing list

Re: [PyKDE] idle time detection

2006-11-09 Thread Andreas Pakulat
On 09.11.06 20:48:40, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be kicking

Re: [PyKDE] idle time detection

2006-11-09 Thread Andreas Pakulat
On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be kicking in a suspend / hibernate / dimming display after N

Re: [PyKDE] idle time detection

2006-11-09 Thread Sebastian Kügler
On Thursday 09 November 2006 20:48, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be

Re: [PyKDE] idle time detection

2006-11-09 Thread Matt Newell
On Thursday 09 November 2006 11:48, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be

[PyKDE] Plans for PyKDE in KDE 4

2006-11-09 Thread Simon Edwards
Hello all, I've been talking to Jim Bublitz about plans for PyKDE in the up coming KDE 4. We, and I hope a lot of other people here, want PyKDE to be the best, most effective and most enjoyable way of developing KDE applications. The main change is that PyKDE will be developed in the KDE

Re: [PyKDE] sender info in Python slot

2006-11-09 Thread Jeremy Sanders
On Thu, 9 Nov 2006, Andreas Pakulat wrote: On 09.11.06 16:43:00, Sibylle Koczian wrote: hopefully the subject line isn't too misleading. This is my problem: I would like to connect the clicked signal of several buttons to one and the same function - but this function should know which button

Re: [PyKDE] sender info in Python slot

2006-11-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy Sanders schrieb: On Thu, 9 Nov 2006, Andreas Pakulat wrote: On 09.11.06 16:43:00, Sibylle Koczian wrote: hopefully the subject line isn't too misleading. This is my problem: I would like to connect the clicked signal of several buttons to

Re: [PyKDE] idle time detection

2006-11-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Newell schrieb: On Thursday 09 November 2006 11:48, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet,

Re: [PyKDE] idle time detection

2006-11-09 Thread Jim Bublitz
On Thursday 09 November 2006 10:51, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect idle time? For the Kubuntu powermanager applet, we're currently missing that feature. The usecase would be kicking in a suspend / hibernate / dimming display after

Re: [PyKDE] Re: Gui Python framework comparison

2006-11-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christophe Cavalaria schrieb: simon stockes wrote: Hi, What are the bad and good points of PyQt compare to PyGtk, wxPython ? PyQt and PyKDE have the native lookfeel on all platforms whereas PyGtk and wxPython use the weird GTK widgets on

Re: [PyKDE] idle time detection

2006-11-09 Thread Andreas Pakulat
On 09.11.06 21:50:51, Torsten Marek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Newell schrieb: On Thursday 09 November 2006 11:48, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can anyone think of some clean way for a PyKDE application to detect

Re: [PyKDE] idle time detection

2006-11-09 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andreas Pakulat schrieb: On 09.11.06 21:50:51, Torsten Marek wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matt Newell schrieb: On Thursday 09 November 2006 11:48, Andreas Pakulat wrote: On 09.11.06 19:51:11, Sebastian Kügler wrote: Can

[PyKDE] signal with return value

2006-11-09 Thread hok kakada
Hi, I am not sure whether we can use signal for return value or not. Let me give you my example: I have 3 different classes: Main.py, Header.py, and Operator.py In Main.py: self.connect(self.headerDialog, QtCore.SIGNAL(makeHeader), self.operator.makeNewHeader) in Header.py userProfileDic =

[PyKDE] cellEntered sigal problem

2006-11-09 Thread hok kakada
Hello again, I am working with tableWidget,and I got stuck with cellEntered signal. It seems not emit when I entered to the last row, though I enabled mouseTracking feature. Bellow is how my code does: row = self.ui.tableHeader.rowCount()