Re: [PyQt] Overpainting example does not work

2010-04-20 Thread Mads Ipsen
1. The output from glxinfo yields: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,

Re: [PyQt] DLL Problem with PyQt-Py3.1-gpl-4.7.3-1.exe

2010-04-20 Thread Phil Thompson
On Mon, 19 Apr 2010 22:34:09 -0700, Scott Ballard sc...@scottballard.net wrote: Phil, I investigated the DLL problem and found the following. Still not sure what is causing it though. I tested 2 different PyQt installers under Windows 7 64-bit, uninstalling each before testing the other. I

Re: [PyQt] Overpainting example does not work

2010-04-20 Thread Phil Thompson
On Tue, 20 Apr 2010 09:50:53 +0200, Mads Ipsen madsip...@gmail.com wrote: 1. The output from glxinfo yields: name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions:

[PyQt] RE : Re: DLL Problem with PyQt-Py3.1-gpl-4.7.3-1.exe

2010-04-20 Thread Philippe Crave
I was using python 2.6.2. In 2.6.5 no more problems. Le 20 avr. 2010, 10:12 AM, Phil Thompson p...@riverbankcomputing.com a écrit : On Mon, 19 Apr 2010 22:34:09 -0700, Scott Ballard sc...@scottballard.net wrote: Phil, I investigated the DLL problem and found the following. Still not sure

Re: [PyQt] RE : Re: DLL Problem with PyQt-Py3.1-gpl-4.7.3-1.exe

2010-04-20 Thread Michael Collins
I went back to 2.6.5 from 3.1 and everything worked fine. I haven't looked at the internals of what could cause this, but one thought would be that there is something different with the sip bindings in this version that causes methods to not be found in the DLL? That's a complete shot in the dark

[PyQt] Updated Windows Installers for Python v2.6 and v3.1

2010-04-20 Thread Phil Thompson
I've uploaded new Windows installers for Python v2.6 and v3.1. These are built against Python v2.6.4 (rather than v2.6.5) and v3.1.1 (rather than v3.1.2). Hopefully this will fix the problems with the original installers which seems to be caused by a binary incompatibility in the latest versions

[PyQt] Threading crashes

2010-04-20 Thread andre hotz
Hey, I have a problem with my QThreads (running on windows). It is the first time I use multithreading, so I am probably doing something wrong ;) The situation is as follows: I have a QTreeWidget which works like a filebrowser, listing a few thousand files. Creating the treeitems from the

[PyQt] SIP API v2: datetime not being converted to QDateTime?

2010-04-20 Thread Jugdish
I'm trying to format Python datetime objects into strings using QLocale, but it seems that under SIP API v2, the time information is lost? Are datetime objects being interpreted as QDate rather than QDateTime? Here's an example: # # API v1 # from PyQt4.QtCore

Re: [PyQt] Threading crashes

2010-04-20 Thread andre hotz
Mark Summerfield schrieb: On 2010-04-20, andre hotz wrote: Hey, I have a problem with my QThreads (running on windows). It is the first time I use multithreading, so I am probably doing something wrong ;) The situation is as follows: I have a QTreeWidget which works like a filebrowser,

Re: [PyQt] SIP API v2: datetime not being converted to QD ateTime?

2010-04-20 Thread Phil Thompson
On Tue, 20 Apr 2010 15:12:43 +0100, Jugdish jugd...@gmail.com wrote: I'm trying to format Python datetime objects into strings using QLocale, but it seems that under SIP API v2, the time information is lost? Are datetime objects being interpreted as QDate rather than QDateTime? Here's an

Re: [PyQt] Updated Windows Installers for Python v2.6 and v3.1

2010-04-20 Thread Scott Ballard
Works like a charm now Phil!! Thanks! On 4/20/2010 5:00 AM, Phil Thompson wrote: I've uploaded new Windows installers for Python v2.6 and v3.1. These are built against Python v2.6.4 (rather than v2.6.5) and v3.1.1 (rather than v3.1.2). Hopefully this will fix the problems with the original

[PyQt] OSX segfault emitting signal with dict argument

2010-04-20 Thread Jugdish
I've tested the following bit of code under these 2 setups: 1. Mac OSX 10.6.2 Intel Python 2.6.5 Qt 4.6.2 PyQt 4.7.2 2. GNU/Linux x64 Fedora 8 Python 2.6.2 Qt 4.6.2 PyQt 4.7 The code runs fine on the Linux setup, but results in a segfault on OSX. Interestingly, if I declare

[PyQt] Can QCheckBox state be set without triggering stateChanged?

2010-04-20 Thread Eric Coetzee
Hi, I have a situation where I want to set the state of a checkbox while inside the method that handles the stateChanged event. But I don't want QCheckBox.stateChanged(state) to be triggered again. Can this be done? eric ___ PyQt mailing list

Re: [PyQt] Can QCheckBox state be set without triggering stateChanged?

2010-04-20 Thread Doug Bell
Eric Coetzee wrote: Hi, I have a situation where I want to set the state of a checkbox while inside the method that handles the stateChanged event. But I don't want QCheckBox.stateChanged(state) to be triggered again. Can this be done? Yes, just do: checkbox.blockSignals(True)

Re: [PyQt] Can QCheckBox state be set without triggering stateChanged?

2010-04-20 Thread Eric Coetzee
On 20 Apr 2010, at 19:51, Doug Bell do...@bellz.org wrote: Eric Coetzee wrote: Hi, I have a situation where I want to set the state of a checkbox while inside the method that handles the stateChanged event. But I don't want QCheckBox.stateChanged(state) to be triggered again. Can this be

[PyQt] QGLWidget c++ widget works, SIP binding doesn't

2010-04-20 Thread Josh Knox
Hi All, I've got a simple custom QGLWidget that works fine when loaded from c++. (basically the Sierpinski demo) I've built a SIP binding against it, that I can load from python but it only ever displays a black area and it appears that the event loop never starts. My SIP file is trivial:

[PyQt] Carol Newman

2010-04-20 Thread Zac Burns
http://www.ristorantealpirata.com/home.php -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer Zindagi Games ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] returning numpy numbers in QVariant

2010-04-20 Thread Jeremy Sanders
Hi - some of my code has stopped working after upgrading to PyQt 4.7. It seems numbers in numpy arrays used to convert okay to QVariant types, but now they seem to produce blank results: import sys from PyQt4.QtCore import * from PyQt4.QtGui import * import numpy class

Re: [PyQt] Carol Newman

2010-04-20 Thread Nick Gaens
Please someone remove this address from the lists, because of spamming.. On Tue, Apr 20, 2010 at 11:13 PM, Zac Burns zac...@gmail.com wrote: http://www.ristorantealpirata.com/home.php -- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer Zindagi Games