Re: [PyKDE] PyQt4 v4.1.1 is different....

2007-03-05 Thread Phil Thompson
On Monday 05 March 2007 6:33 am, Marco wrote: > Hello, everyone! > > I have update my PyQt4 to version 4.1.1 because I want to use its new > feature: QX11Embed. > > But there is a question, in this new version, I cannot see the detail > error on stdout, If I got somethings error, I only get like

[PyKDE] PyQt4 v4.1.1 is different....

2007-03-04 Thread Marco
Hello, everyone! I have update my PyQt4 to version 4.1.1 because I want to use its new feature: QX11Embed. But there is a question, in this new version, I cannot see the detail error on stdout, If I got somethings error, I only get like follow: # raceback (most recent call last): File

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Tina I
Andreas Pakulat wrote: Its not a bug, how is the directory layout for your source code? I guess you have the .ui file in a subdir and the icon in the parent directory of that subdir. If that is the case you need to move the icon into the same directory as the .ui file or use Qt resource files. A

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Andreas Pakulat
On 04.03.07 11:36:54, Tina I wrote: > Sibylle Koczian wrote: > >I can see what's wrong (at least I think I see it). But I'm not using the > >designer, so I don't really know what to do about it. The setWindowIcon > >method > >expects the icon in the parent directory, not in the same directory as

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Tina I
Sibylle Koczian wrote: I can see what's wrong (at least I think I see it). But I'm not using the designer, so I don't really know what to do about it. The setWindowIcon method expects the icon in the parent directory, not in the same directory as the application itself (that would be "./log.pn

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Sibylle Koczian
Tina I schrieb: "pyuic4" produces this line in my 'gui file': MainWindow.setWindowIcon(QtGui.QIcon("../log.png")) The icon is stored in the same directory as the application it self. I guess I'm missing something, I just don't have any idea what. So if somebody could provide me with a

Re: [PyKDE] PyQt4 windowIcon

2007-03-04 Thread Rajeev J Sebastian
Hello Tina, Maybe try, MainWindow.setWindowIcon(QtGui.QIcon("./log.png")) (i.e., replace .. with . (single dot)) Regards Rajeev J Sebastian ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

[PyKDE] PyQt4 windowIcon

2007-03-04 Thread Tina I
Hi to the list, I have some problems trying to move from Qt3 to Qt4. My current headache is setting an application icon. I have selected an icon in Qt4 designer (just as I did with Qt3) and it does indeed show up on my main window form in Designer. But when I run my application there are no ic

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-17 Thread Danny Pansters
On Saturday 17 February 2007 21:38, you wrote: > On Saturday 17 February 2007 4:07 pm, Danny Pansters wrote: > > On Saturday 17 February 2007 01:35, Phil Thompson wrote: > > > On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > > > > On Saturday 17 February 2007 00:18, Phil Thompson wrot

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-17 Thread Phil Thompson
On Saturday 17 February 2007 4:07 pm, Danny Pansters wrote: > On Saturday 17 February 2007 01:35, Phil Thompson wrote: > > On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > > > On Saturday 17 February 2007 00:18, Phil Thompson wrote: > > > > On Friday 16 February 2007 10:54 pm, Danny P

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-17 Thread Danny Pansters
On Saturday 17 February 2007 01:35, Phil Thompson wrote: > On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > > On Saturday 17 February 2007 00:18, Phil Thompson wrote: > > > On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > > > > A little bit better: > > > > > > > > If I use

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Phil Thompson
On Saturday 17 February 2007 12:10 am, Danny Pansters wrote: > On Saturday 17 February 2007 00:18, Phil Thompson wrote: > > On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > > > A little bit better: > > > > > > If I use pyldlib_dir = ducfg["LIBPL"] it seems to get the correct path > > >

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Danny Pansters
On Saturday 17 February 2007 00:18, Phil Thompson wrote: > On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > > A little bit better: > > > > If I use pyldlib_dir = ducfg["LIBPL"] it seems to get the correct path > > (/usr/local/lib/python2.4/config/python2.4.a). > > Try with tonight's sna

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Phil Thompson
On Friday 16 February 2007 10:54 pm, Danny Pansters wrote: > A little bit better: > > If I use pyldlib_dir = ducfg["LIBPL"] it seems to get the correct path > (/usr/local/lib/python2.4/config/python2.4.a). Try with tonight's snapshot which has now been fully ported to Mac and Windows. I don't run

Re: [PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-16 Thread Danny Pansters
A little bit better: If I use pyldlib_dir = ducfg["LIBPL"] it seems to get the correct path (/usr/local/lib/python2.4/config/python2.4.a). But still, after that: desktop# make `QtCore.so' is up to date. `QtGui.so' is up to date. `QtNetwork.so' is up to date. `QtOpenGL.so' is up to date. `QtSql.

[PyKDE] PyQt4 snapshot fails to build (pluginloader.cpp) on FreeBSD since 2-3 days

2007-02-15 Thread Danny Pansters
Hi, I get what seems to be a similar problem as what Patrick is seeing on his Mac, on FreeBSD. We recently had the Qt4 ports comitted and I've been working on the FreeBSD ports for PyQt4, sip (update), Qscintilla2 and have been following the snapshots daily, running full builds of the packages

Re: [PyKDE] PyQt4 random crashes under windows.

2007-01-23 Thread V. Armando Sole
At 10:30 23/01/2007 +0100, Giovanni Bajo wrote: On 23/01/2007 9.14, V. Armando Sole wrote: With that patch installed, the whole PyQt+Qt block should use *only* msvcr71.dll (you can verify it by inspecting the dependencies of the generated dynamic libraries). If that's the case, it surely means

Re: [PyKDE] PyQt4 random crashes under windows.

2007-01-23 Thread Giovanni Bajo
On 23/01/2007 9.14, V. Armando Sole wrote: With that patch installed, the whole PyQt+Qt block should use *only* msvcr71.dll (you can verify it by inspecting the dependencies of the generated dynamic libraries). If that's the case, it surely means that this is *not* the problem causing a random

Re: [PyKDE] PyQt4 random crashes under windows.

2007-01-23 Thread V. Armando Sole
Hello, At 03:17 23/01/2007 +0100, Giovanni Bajo wrote: On 22/01/2007 22.56, [EMAIL PROTECTED] wrote: If I build Qt4 and the extension modules with VS2003 with the patched Qt4 files from the qtwin project the application crashes even more often, so the patch does not seem to be a solution to m

Re: [PyKDE] PyQt4 random crashes under windows.

2007-01-22 Thread Giovanni Bajo
On 22/01/2007 22.56, [EMAIL PROTECTED] wrote: If I build Qt4 and the extension modules with VS2003 with the patched Qt4 files from the qtwin project the application crashes even more often, so the patch does not seem to be a solution to my problem. With that patch installed, the whole PyQt+Qt

[PyKDE] PyQt4 random crashes under windows.

2007-01-22 Thread sole
Hello, I have a fairly large application which combines PyQt (3 or 4) + PyQwt5. The application is rock solid on all platforms under PyQt3 and on all platforms but windows under PyQt4 where it randomly crashes. I'm using the Qt4 library as supplied by Trolltech and compiling all the extensions (s

Re: [PyKDE] PyQt4 & KeyboardInterrupt

2006-12-22 Thread Giovanni Bajo
Kelly Burkhart wrote: > How do I enable proper KeyboardInterrupt handling from within a PyQt4 > application? Is there some way I can prevent PyQt from intercepting > SIGINT? > > import signal > ... > signal.signal(signal.SIGINT, signal.SIG_DFL) > > Is an improvement, but I would prefer that SIGIN

[PyKDE] PyQt4 & KeyboardInterrupt

2006-12-22 Thread Kelly Burkhart
This seems like it should be a FAQ, but I can't find it anywhere... How do I enable proper KeyboardInterrupt handling from within a PyQt4 application? Is there some way I can prevent PyQt from intercepting SIGINT? import signal ... signal.signal(signal.SIGINT, signal.SIG_DFL) Is an improvement

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-05 Thread David Boddie
On Wed, 6 Dec 2006 13:37:39 +0100, Sebastian Kügler wrote: > Slightly OT (in fact more a general question): > > So it is possible to create a custom widget with PyQt4 and use it in > qt4-designer? Yes, it's possible. > (I was thinking about the coolness of such a feature some time ago, so now

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-05 Thread Phil Thompson
> Phil Thompson wrote: > >>> But this still does not answer my question: what does "PyObject" means >>> in >>> the signature of a signal? >> >> This was my original email: >> http://mats.imk.fraunhofer.de/pipermail/pykde/2006-February/012358.html > > In this mail, you said that SIGNAL("foo(PyObject

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-04 Thread Eriol
Alle 11:23, lunedì 4 dicembre 2006, Andreas Pakulat ha scritto: > You're creating the label without a parent widget, so it becomes a > top-level window. Pass self to the constructor of QLabel and it works. Thanks a lot! :D I just started using PyQt and I didn't realize this detail. -- Eriol - *

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-04 Thread Sebastian Kügler
On Monday 04 December 2006 13:53, Andreas Pakulat wrote: > On 06.12.06 13:37:39, Sebastian Kügler wrote: > > On Monday 04 December 2006 11:23, Andreas Pakulat wrote: > > > On 04.12.06 03:38:47, Eriol wrote: > > > > I'm trying to use custom widget promotion in qt4 designer. I attach > > > > an examp

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-04 Thread Andreas Pakulat
On 06.12.06 13:37:39, Sebastian Kügler wrote: > On Monday 04 December 2006 11:23, Andreas Pakulat wrote: > > On 04.12.06 03:38:47, Eriol wrote: > > > I'm trying to use custom widget promotion in qt4 designer. I attach an > > > example of what I'm doing: what's wrong with it? > > > I have searched f

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-04 Thread Sebastian Kügler
On Monday 04 December 2006 11:23, Andreas Pakulat wrote: > On 04.12.06 03:38:47, Eriol wrote: > > I'm trying to use custom widget promotion in qt4 designer. I attach an > > example of what I'm doing: what's wrong with it? > > I have searched for documentation about this, but I didn't find anything

Re: [PyKDE] PyQt4: Promoting a custom widget in qt4 designer

2006-12-04 Thread Andreas Pakulat
On 04.12.06 03:38:47, Eriol wrote: > I'm trying to use custom widget promotion in qt4 designer. I attach an > example of what I'm doing: what's wrong with it? > I have searched for documentation about this, but I didn't find anything > for Python. You're creating the label without a parent widge

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-03 Thread Giovanni Bajo
Phil Thompson wrote: But this still does not answer my question: what does "PyObject" means in the signature of a signal? This was my original email: http://mats.imk.fraunhofer.de/pipermail/pykde/2006-February/012358.html In this mail, you said that SIGNAL("foo(PyObject*)") and SIGNAL("foo"

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-03 Thread Phil Thompson
On Friday 01 December 2006 11:04 am, Giovanni Bajo wrote: > Mark Summerfield wrote: > >> what's the meaning of the string "PyObject" used within the signature of > >> a signal in PyQt4? I can't seem to find it in the PyQt4 documentation. > >> If I pass it a random python object I get core dumps and

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-01 Thread Giovanni Bajo
Mark Summerfield wrote: what's the meaning of the string "PyObject" used within the signature of a signal in PyQt4? I can't seem to find it in the PyQt4 documentation. If I pass it a random python object I get core dumps and random crashes, so I assume it's not really meant for that... You can

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-01 Thread Mark Summerfield
On Fri 1-Dec-06 11:04, Giovanni Bajo wrote: > Mark Summerfield wrote: > >> what's the meaning of the string "PyObject" used within the signature of > >> a signal in PyQt4? I can't seem to find it in the PyQt4 documentation. > >> If I pass it a random python object I get core dumps and random crashe

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-12-01 Thread Giovanni Bajo
Mark Summerfield wrote: what's the meaning of the string "PyObject" used within the signature of a signal in PyQt4? I can't seem to find it in the PyQt4 documentation. If I pass it a random python object I get core dumps and random crashes, so I assume it's not really meant for that... You can

Re: [PyKDE] PyQt4: PyObject in SIGNAL

2006-11-30 Thread Mark Summerfield
On Thu 30-Nov-06 18:41, Giovanni Bajo wrote: > Hello, > > what's the meaning of the string "PyObject" used within the signature of a > signal in PyQt4? I can't seem to find it in the PyQt4 documentation. If I > pass it a random python object I get core dumps and random crashes, so I > assume it's n

[PyKDE] PyQt4: PyObject in SIGNAL

2006-11-30 Thread Giovanni Bajo
Hello, what's the meaning of the string "PyObject" used within the signature of a signal in PyQt4? I can't seem to find it in the PyQt4 documentation. If I pass it a random python object I get core dumps and random crashes, so I assume it's not really meant for that... -- Giovanni Bajo _

Re: [PyKDE] PyQt4.uic

2006-11-19 Thread Phil Thompson
On Sunday 19 November 2006 4:27 pm, Jeremy Sanders wrote: > Hi - > > On the packaged version of PyQt4 for kde-redhat (PyQt4-4.1-1.fc5), then > > the following line fails: > >>> from PyQt4.uic import * > > Traceback (most recent call last): >File "", line 1, in ? > AttributeError: 'module' objec

[PyKDE] PyQt4 problems with underlying C/C++ objects [weird]

2006-11-19 Thread Krystian Samp
Hi all, I've got the following error: Traceback (most recent call last): File "test2.py", line 47, in mousePressEvent item = MyItem2(self.options) File "test2.py", line 10, in __init__ i.setParentItem(self) RuntimeError: underlying C/C++ object has been deleted for this code (I've tried

[PyKDE] PyQt4.uic

2006-11-19 Thread Jeremy Sanders
Hi - On the packaged version of PyQt4 for kde-redhat (PyQt4-4.1-1.fc5), then the following line fails: from PyQt4.uic import * Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module' object has no attribute 'loadUiToType' It seems /usr/lib/python2.4/site-packages

[PyKDE] PyQt4 QGraphicsItemAnimation and QTimeLine

2006-11-17 Thread Krystian Samp
Hi all, Has anyone managed to use QGraphicsItemAnimation in PyQt4? I can not find any example and when I'm trying to write something basing on Qt examples ( e.g. dragdroprobot) it just doesn't work and, objects don't move/rotate etc. Are there any known issues with this class or QTimeLine? I woul

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

Re: [PyKDE] PyQt4 and win98

2006-11-08 Thread Michael Towers
Phil Thompson wrote: 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 afraid that you will have to diagnose the problem yourself. Phil

Re: [PyKDE] PyQt4 and win98

2006-11-08 Thread Phil Thompson
> 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 afraid that you will have to diagnose the problem yourself. Phil _

[PyKDE] PyQt4 and win98

2006-11-08 Thread Michael Towers
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'. ___ PyKDE mailing listPyKDE@mats.imk.frau

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Detlev Offenbach
On Sunday 15 October 2006 15:15, Phil Thompson wrote: > On Sunday 15 October 2006 2:03 pm, Detlev Offenbach wrote: > > Summary: > > We have a standard (global) API installation path, which is used, if the > > lexer is loaded with a file, that doesn't exist and has no path. We have > > an API call,

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Phil Thompson
On Sunday 15 October 2006 2:03 pm, Detlev Offenbach wrote: > Summary: > We have a standard (global) API installation path, which is used, if the > lexer is loaded with a file, that doesn't exist and has no path. We have an > API call, that returns a list of files found in the lexer specific global

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Detlev Offenbach
On Sunday 15 October 2006 13:20, Phil Thompson wrote: > On Sunday 15 October 2006 11:45 am, Detlev Offenbach wrote: > > On Sunday 15 October 2006 12:16, Phil Thompson wrote: > > > On Sunday 15 October 2006 9:36 am, Detlev Offenbach wrote: > > > > On Saturday 14 October 2006 20:24, Phil Thompson wro

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Phil Thompson
On Sunday 15 October 2006 11:45 am, Detlev Offenbach wrote: > On Sunday 15 October 2006 12:16, Phil Thompson wrote: > > On Sunday 15 October 2006 9:36 am, Detlev Offenbach wrote: > > > On Saturday 14 October 2006 20:24, Phil Thompson wrote: > > > > On Saturday 14 October 2006 6:17 pm, Detlev Offenb

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Detlev Offenbach
On Sunday 15 October 2006 12:16, Phil Thompson wrote: > On Sunday 15 October 2006 9:36 am, Detlev Offenbach wrote: > > On Saturday 14 October 2006 20:24, Phil Thompson wrote: > > > On Saturday 14 October 2006 6:17 pm, Detlev Offenbach wrote: > > > > Hi, > > > > > > > > the latest snapshot of PyQt4

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Phil Thompson
On Sunday 15 October 2006 9:36 am, Detlev Offenbach wrote: > On Saturday 14 October 2006 20:24, Phil Thompson wrote: > > On Saturday 14 October 2006 6:17 pm, Detlev Offenbach wrote: > > > Hi, > > > > > > the latest snapshot of PyQt4 creates an API file for QScintilla. > > > However, this file is no

Re: [PyKDE] PyQt4 installation issue

2006-10-15 Thread Detlev Offenbach
On Saturday 14 October 2006 20:24, Phil Thompson wrote: > On Saturday 14 October 2006 6:17 pm, Detlev Offenbach wrote: > > Hi, > > > > the latest snapshot of PyQt4 creates an API file for QScintilla. However, > > this file is not installed by "make install". For Linux I propose to put > > it in "/u

Re: [PyKDE] PyQt4 installation issue

2006-10-14 Thread Phil Thompson
On Saturday 14 October 2006 6:17 pm, Detlev Offenbach wrote: > Hi, > > the latest snapshot of PyQt4 creates an API file for QScintilla. However, > this file is not installed by "make install". For Linux I propose to put it > in "/usr/share/QScintilla". Furthermore, the configure script should get a

[PyKDE] PyQt4 installation issue

2006-10-14 Thread Detlev Offenbach
Hi, the latest snapshot of PyQt4 creates an API file for QScintilla. However, this file is not installed by "make install". For Linux I propose to put it in "/usr/share/QScintilla". Furthermore, the configure script should get an option to specify the installation path for the API file. -a dir

Re: [PyKDE] PyQt4 question - QFileIconProvider

2006-10-03 Thread Detlev Offenbach
On Tuesday 03 October 2006 09:58, Phil Thompson wrote: > > On Monday 02 October 2006 18:36, Phil Thompson wrote: > >> > Hi, > >> > > >> > I would like to have my own file icon provider for QFileDialog. > >> > Therefore, I > >> > created a derived class and wanted to overwrite the icon methods. > >>

Re: [PyKDE] PyQt4 question - QFileIconProvider

2006-10-03 Thread Phil Thompson
> On Monday 02 October 2006 18:36, Phil Thompson wrote: >> > Hi, >> > >> > I would like to have my own file icon provider for QFileDialog. >> > Therefore, I >> > created a derived class and wanted to overwrite the icon methods. >> > Unfortunately Python doesn't allow to have to methods with the sam

Re: [PyKDE] PyQt4 question - QFileIconProvider

2006-10-02 Thread Detlev Offenbach
On Monday 02 October 2006 18:36, Phil Thompson wrote: > > Hi, > > > > I would like to have my own file icon provider for QFileDialog. > > Therefore, I > > created a derived class and wanted to overwrite the icon methods. > > Unfortunately Python doesn't allow to have to methods with the same name >

Re: [PyKDE] PyQt4 question - QFileIconProvider

2006-10-02 Thread Phil Thompson
> Hi, > > I would like to have my own file icon provider for QFileDialog. Therefore, > I > created a derived class and wanted to overwrite the icon methods. > Unfortunately Python doesn't allow to have to methods with the same name > but > different signature. How do I implement the two virtual ico

[PyKDE] PyQt4 question - QFileIconProvider

2006-10-02 Thread Detlev Offenbach
Hi, I would like to have my own file icon provider for QFileDialog. Therefore, I created a derived class and wanted to overwrite the icon methods. Unfortunately Python doesn't allow to have to methods with the same name but different signature. How do I implement the two virtual icon methods of

Re: [PyKDE] [PyQt4] Python 2.5 compliance

2006-09-29 Thread Phil Thompson
> Hi. > Is the snapshot version of PyQt4 fully compliant with Python 2.5? if > not, is there a scheduled date for it? Yes - so long as you use a SIP snapshot as well. Phil ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofe

[PyKDE] [PyQt4] Python 2.5 compliance

2006-09-28 Thread Javier Sanz
Hi. Is the snapshot version of PyQt4 fully compliant with Python 2.5? if not, is there a scheduled date for it? Thank you very much. -- Un saludo, Javier ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/l

[PyKDE] [PyQt4] Dapper package

2006-09-24 Thread Javier Sanz
Hi. I packaged PyQt4 for Ubuntu Dapper, as I didn't find it anywhere and is rather tedious to compile without breaking the existing Python-Qt3 bindings. You can find it here: http://jsceballos.googlepages.com/python2.4-qt4-4.1_0ubuntu1-1_i386.deb I used yesterday's PyQt snapshot (20060924), and

[PyKDE] PyQt4 4.0.1: Reading Process Output (Quickly)

2006-09-24 Thread Chris Giles
Dear PyKDE Members I'm opening a new QThread which launches a command-line archiver (7z) in a QProcess (called 'pArc'). I'm using following code block within that thread: while not pArc.waitForFinished(250) :     if pArc.waitForReadyRead(100) :         sArcData = QtCore.QString(pArc.read

Re: [PyKDE] pyqt4: segmentation fault/data corruption with signal/slots

2006-09-22 Thread Andreas Pakulat
On 22.09.06 02:01:06, Panard wrote: > I'm experiencing a strange problem with PyQt4. > - PyQt4 and Sip snapshots 20060917 > - qt-4.1.4 > - all compiled with gcc 4.1.1 > > My test case is a QDialog, designed with designer, which contains only a > QProgressBar. > That QDialog (progress_section) wil

[PyKDE] pyqt4: segmentation fault/data corruption with signal/slots

2006-09-21 Thread Panard
Hello, I'm experiencing a strange problem with PyQt4. - PyQt4 and Sip snapshots 20060917 - qt-4.1.4 - all compiled with gcc 4.1.1 My test case is a QDialog, designed with designer, which contains only a QProgressBar. That QDialog (progress_section) will start a thread which will do some stuff a

Re: [PyKDE] [PyQt4] How to distribute an application.

2006-09-20 Thread V. Armando Sole
Hola, At 19:52 17/09/2006 +0200, Javier Sanz wrote: Hello. What is the recommended way to distribute an application for PyQt4/Linux?. Most distros don't have PyQt4 available in their repositories. Thanks I guess is a question of taste. Personally, I distrbute binaries generated with cx_freeze

Re: [PyKDE] [PyQt4] How to distribute an application.

2006-09-19 Thread David Boddie
On Sun, 17 Sep 2006 19:52:55 +0200, Javier Sanz wrote: > What is the recommended way to distribute an application for > PyQt4/Linux?. Most distros don't have PyQt4 available in their > repositories. As an archive containing source code, or were you thinking about binary-only packages? Either way

Re: [PyKDE] PyQt4 Segmentation Fault - QTableView

2006-09-19 Thread Chris Dunscombe
Andreas, Thanks very much it's sorted now! Chris PS From what I could see there's no reference to this situation in the docs. --- Andreas Pakulat <[EMAIL PROTECTED]> wrote: > On 19.09.06 08:44:32, Chris Dunscombe wrote: > > I now have a simple script to demo the seg fault: > > > > from PyQt4.

Re: [PyKDE] PyQt4 Segmentation Fault - QTableView

2006-09-19 Thread Andreas Pakulat
On 19.09.06 08:44:32, Chris Dunscombe wrote: > I now have a simple script to demo the seg fault: > > from PyQt4.QtCore import * > from PyQt4.QtGui import * > > class mainWindow(QMainWindow): > def __init__(self, parent = None): > QMainWindow.__init__(self, parent) > self.centr

Re: [PyKDE] PyQt4 Segmentation Fault - QTableView

2006-09-19 Thread Chris Dunscombe
Hi, I now have a simple script to demo the seg fault: from PyQt4.QtCore import * from PyQt4.QtGui import * class mainWindow(QMainWindow): def __init__(self, parent = None): QMainWindow.__init__(self, parent) self.centralWidget = QWidget() self.setCentralWidget(self.ce

Re: [PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Giles schrieb: > I think I've uncovered a little bug in PyQt4 4.0.1. > > I used "Qt4 Designer" to create a small dialog, which has a QTabWidget > whose tabs have icons next to their titles. When I then used "pyuic4" > to create the ".py" file f

Re: [PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Joshua J. Kugler
On Friday 15 September 2006 02:41, Chris Giles wrote: > I think I've uncovered a little bug in PyQt4 4.0.1. > > I used "Qt4 Designer" to create a small dialog, which has a QTabWidget > whose tabs have icons next to their titles. When I then used "pyuic4" > to create the ".py" file for this dialog,

[PyKDE] PyQt4 4.0.1: Possible QTabWidget Bug

2006-09-18 Thread Chris Giles
I think I've uncovered a little bug in PyQt4 4.0.1. I used "Qt4 Designer" to create a small dialog, which has a QTabWidget whose tabs have icons next to their titles. When I then used "pyuic4" to create the ".py" file for this dialog, the following lines were missing and the icons therefore o

Re: [PyKDE] PyQt4/win32 crash

2006-09-17 Thread K.S.Sreeram
K.S.Sreeram wrote: > The crash happens when a top-level window is closed, and all python > references to the window are lost in the 'closeEvent' method. I was just planning to report this bug to Trolltech, but it looks like the bug has already been reported (and fixed for 4.2!). Bug id 115905. htt

Re: [PyKDE] PyQt4/win32 crash

2006-09-17 Thread K.S.Sreeram
K.S.Sreeram wrote: > Phil Thompson wrote: >> On Friday 15 September 2006 9:58 pm, K.S.Sreeram wrote: >>> [Qt-4.1.4, sip-4.4.5, PyQt-4.0.1, Python-2.4.3, MSVC-7.1] >>> >>> Hi all, >>> >>> I've been facing a random crash in my app for sometime, and i've got it >>> down to a simple test program. Run t

[PyKDE] [PyQt4] How to distribute an application.

2006-09-17 Thread Javier Sanz
Hello. What is the recommended way to distribute an application for PyQt4/Linux?. Most distros don't have PyQt4 available in their repositories. Thanks -- Un saludo, Javier ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://mats.imk.fraun

Re: [PyKDE] PyQt4/win32 crash

2006-09-17 Thread K.S.Sreeram
Phil Thompson wrote: > On Friday 15 September 2006 9:58 pm, K.S.Sreeram wrote: >> [Qt-4.1.4, sip-4.4.5, PyQt-4.0.1, Python-2.4.3, MSVC-7.1] >> >> Hi all, >> >> I've been facing a random crash in my app for sometime, and i've got it >> down to a simple test program. Run the attached script, click "C

Re: [PyKDE] PyQt4 and SIP-4.4.5 issues

2006-09-17 Thread Gerard Vermeulen
On Sun, 17 Sep 2006 16:04:41 +0200 Torsten Marek <[EMAIL PROTECTED]> wrote: > Gerard Vermeulen schrieb: > > Phil, > > > > The attached PyQt4.pyqwt.patch (a bit hardwired, but IMO not worth a more > > general > > solution) makes it possible to use the Qwt5 designer plugin with pyuic4 > > without

Re: [PyKDE] PyQt4/win32 crash

2006-09-17 Thread Phil Thompson
On Friday 15 September 2006 9:58 pm, K.S.Sreeram wrote: > [Qt-4.1.4, sip-4.4.5, PyQt-4.0.1, Python-2.4.3, MSVC-7.1] > > Hi all, > > I've been facing a random crash in my app for sometime, and i've got it > down to a simple test program. Run the attached script, click "Click Me" > and close the newl

Re: [PyKDE] PyQt4 and SIP-4.4.5 issues

2006-09-17 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gerard Vermeulen schrieb: > Phil, > > The attached PyQt4.pyqwt.patch (a bit hardwired, but IMO not worth a more > general > solution) makes it possible to use the Qwt5 designer plugin with pyuic4 > without > editing the generated Python code (it is

Re: [PyKDE] PyQt4 and SIP-4.4.5 issues

2006-09-17 Thread Phil Thompson
On Saturday 16 September 2006 11:52 am, Gerard Vermeulen wrote: > Phil, > > The attached PyQt4.pyqwt.patch (a bit hardwired, but IMO not worth a more > general solution) makes it possible to use the Qwt5 designer plugin with > pyuic4 without editing the generated Python code (it is impossible to in

[PyKDE] PyQt4 and SIP-4.4.5 issues

2006-09-16 Thread Gerard Vermeulen
Phil, The attached PyQt4.pyqwt.patch (a bit hardwired, but IMO not worth a more general solution) makes it possible to use the Qwt5 designer plugin with pyuic4 without editing the generated Python code (it is impossible to infer the PyQwt module from the header filenames returned by the plugin).

[PyKDE] PyQt4/win32 crash

2006-09-15 Thread K.S.Sreeram
[Qt-4.1.4, sip-4.4.5, PyQt-4.0.1, Python-2.4.3, MSVC-7.1] Hi all, I've been facing a random crash in my app for sometime, and i've got it down to a simple test program. Run the attached script, click "Click Me" and close the newly opened window, and it crashes! I used debug builds and poked arou

[PyKDE] PyQt4/win32 crash

2006-09-15 Thread K.S.Sreeram
[Qt-4.1.4, sip-4.4.5, PyQt-4.0.1, Python-2.4.3, MSVC-7.1] Hi all, I've been facing a random crash in my app for sometime, and i've got it down to a simple test program. Run the attached script, click "Click Me" and close the newly opened window, and it crashes! I used debug builds and poked arou

Re: [PyKDE] PyQt4 Segmentation Fault

2006-09-15 Thread Phil Thompson
On Friday 15 September 2006 4:03 pm, Chris Dunscombe wrote: > Hi, > > I currently porting a working app from PyQt3 - PyQt4. > > I get a segmentation fault after the window.show() but before app.exec_() > in the initialisation script. The main window starts to appear and then > crashes with a segmen

[PyKDE] PyQt4 Segmentation Fault

2006-09-15 Thread Chris Dunscombe
Hi, I currently porting a working app from PyQt3 - PyQt4. I get a segmentation fault after the window.show() but before app.exec_() in the initialisation script. The main window starts to appear and then crashes with a segmentation fault. Any ideas on how to start finding the root cause of the

Re: [PyKDE] PyQt4-win-gpl-4-snapshot-20060719 error during compile

2006-09-03 Thread Tom Brown
On Sunday 03 September 2006 16:22, Tom Brown wrote: > I've installed PyQt4-win-gpl-4-snapshot-20060719 twice now on two different > machines. The installations went fine without any problems. Now, I'm > installing into a production machine and I get the make error below. The > qt4 installation went

[PyKDE] PyQt4-win-gpl-4-snapshot-20060719 error during compile

2006-09-03 Thread Tom Brown
I've installed PyQt4-win-gpl-4-snapshot-20060719 twice now on two different machines. The installations went fine without any problems. Now, I'm installing into a production machine and I get the make error below. The qt4 installation went fine and the sip installation went fine. Can anybody tel

Re: [PyKDE] PyQt4 and Qt 4.2 snapshot

2006-08-31 Thread David Boddie
On Thu Aug 31 14:01:32 MEST 2006, İsmail Dönmez wrote: > I am getting a weird error with PyQt4 4.0 and Qt 4.2 snapshot: > > [~/PyQt-x11-gpl-4.0]> python configure.py -q /usr/bin/qmake-qt4 > Determining the layout of your Qt installation... > Checking to see if the QtGui module should be built... >

[PyKDE] PyQt4 and Qt 4.2 snapshot

2006-08-31 Thread İsmail Dönmez
Hi, I am getting a weird error with PyQt4 4.0 and Qt 4.2 snapshot: [~/PyQt-x11-gpl-4.0]> python configure.py -q /usr/bin/qmake-qt4 Determining the layout of your Qt installation... Checking to see if the QtGui module should be built... An internal error occured. Please report all the output from

Re: [PyKDE] [PyQt4] bug in pyuic.py

2006-08-26 Thread Phil Thompson
On Friday 25 August 2006 12:40 pm, Jürgen Urner wrote: > Hello all > > This is probabbly alread known, but anyway. > There is a bug in pyuic.py, at least in PyQt-4.0.1 as I have it on my > machine (win). > > > > def generateUi(uifname, pyfname, execute, indent): > if pyfname == "-": >

[PyKDE] [PyQt4] bug in pyuic.py

2006-08-25 Thread Jürgen Urner
Hello all This is probabbly alread known, but anyway. There is a bug in pyuic.py, at least in PyQt-4.0.1 as I have it on my machine (win). def generateUi(uifname, pyfname, execute, indent): if pyfname == "-": pyfile = sys.stdout else: pyfile = file(pyfname, "w") uic.

Re: [PyKDE] [PyQt4] QWidget.winEvent()

2006-08-02 Thread Andreas Pakulat
On 02.08.06 22:34:05, Jürgen Urner wrote: > I have a question regarding winEvent() > > The Qt signature is QWidget::winEvent(MSG * message, long * result) > PyQt4 does not support the explicit result parameter. > > def winEvent(msg): >return False, id(msg) > > How am I supposed to return a m

[PyKDE] [PyQt4] QWidget.winEvent()

2006-08-02 Thread Jürgen Urner
I have a question regarding winEvent() The Qt signature is QWidget::winEvent(MSG * message, long * result) PyQt4 does not support the explicit result parameter. def winEvent(msg): return False, id(msg) How am I supposed to return a message result and stop Qt from processing? My best guess i

Re: [PyKDE] [PyQt4] application shortcut

2006-08-02 Thread Phil Thompson
On Wednesday 02 August 2006 11:35 am, Jürgen Urner wrote: > Hello all > > I am trying to assign a global hotkey to one of my guis. > The best guess I made to achieve this was: > > ApplicationShortcut = 2 > widget.grabShortcut( > QtGui.QKeySequence("Ctrl+0"), > ApplicationShortcut, >

[PyKDE] [PyQt4] application shortcut

2006-08-02 Thread Jürgen Urner
Hello all I am trying to assign a global hotkey to one of my guis. The best guess I made to achieve this was: ApplicationShortcut = 2 widget.grabShortcut( QtGui.QKeySequence("Ctrl+0"), ApplicationShortcut, ) ...won't work 'cos it raises TypeError on argument 2. So, where i

[PyKDE] PyQt4 Examples from EuroPython 2006

2006-08-01 Thread David Boddie
It's almost a month since Torsten Marek and I gave a talk at EuroPython 2006 about PyQt4, and I've only just finished packing up the examples we used in an archive ready for distribution. I hope they all work properly after some of the last minute changes I made. The abstract and a PDF containing

Re: [PyKDE] PyQt4, inter-thread signals and Python types

2006-08-01 Thread Phil Thompson
On Tuesday 01 August 2006 1:24 pm, Lukáš Lalinský wrote: > Hi, > > I'm trying to use signals/slots inter-thread communication, but I have > problems with using Python objects. First I tried to use "short-circuit" > signals, but I was getting lots of exceptions from garbage collector. I > guess the

[PyKDE] PyQt4, inter-thread signals and Python types

2006-08-01 Thread Lukáš Lalinský
Hi, I'm trying to use signals/slots inter-thread communication, but I have problems with using Python objects. First I tried to use "short-circuit" signals, but I was getting lots of exceptions from garbage collector. I guess the queued connections are just not implemented for this type of signals

Re: [PyKDE] PyQT4: DLL load failed: Invalid access to memory location.

2006-07-29 Thread Giovanni Bajo
Shane Lin wrote: >> I'm having trouble using Py2exe with a PyQT-based python project. FWIW, I successfully package PyQt applications using PyInstaller instead of py2exe. -- Giovanni Bajo ___ PyKDE mailing listPyKDE@mats.imk.fraunhofer.de http://ma

  1   2   3   4   >