Re: [PyQt] PyQt & Twisted

2009-10-09 Thread Glenn Tarbox, PhD
You may want to try this reactor: https://launchpad.net/qt4reactor I've just seen some other traffic on this topic... I'll dig into it a bit more this weekend -glenn On Fri, Oct 9, 2009 at 3:40 PM, Christian Caron wrote: > I used to have this crash rather infrequently but it got more frequent

[PyQt] Downloading Older Builds of PyQt

2009-10-09 Thread Ian Farnsworth
I'm hoping there is an archive somewhere, I've googled for about an hour (though I'm sure somebody will do the same and come up with an answer much faster), and can't find an archive of older builds. I specifically need a pyqt build for qt 4.3.2 I am using an application which was built with

[PyQt] PyQt & Twisted

2009-10-09 Thread Christian Caron
I used to have this crash rather infrequently but it got more frequent when I moved to PyQt 4.6 / Snow Leopard. Configuration - Mac OSX 10.6.1 Qt 4.5.3 sip-4.9.1-snapshot-20091007 PyQt-mac-gpl-4.6.1-snapshot-20091007 Crash --- My investigation so far shows that PyQ

Re: [PyQt] PyKDE-3.16.3 build failure

2009-10-09 Thread Hans-Peter Jansen
Am Freitag 09 Oktober 2009 schrieb Phil Thompson: > On Fri, 9 Oct 2009 17:19:10 +0200, "Hans-Peter Jansen" > > wrote: > > Hi, > > > > an attempt to build PyKDE-3.16.3 with sip 4.9 and PyQt 3.18.1 in > > openSUSEs > > > build service failed with this error: > > > > sipkdecoreKAccelActions.cpp: In f

Re: [PyQt] Dialog Window's Position Offset

2009-10-09 Thread Brent Villalobos
I'm wondering if anyone has an opinion on this? Is this a bug in Qt or am I not understanding something fundamental? -Brent Brent Villalobos wrote: I'm confused about the position of dialogs that do not have parents. I wrote a small PyQt application that is a push button that launches a non-

[PyQt] Re: PyQt Digest, Vol 63, Issue 17

2009-10-09 Thread Diego Casella ([Po]lentino)
> > Date: Fri, 9 Oct 2009 15:30:12 +0200 > From: David Boddie > Subject: Re: [PyQt] [Help] PyQt building issue > To: pyqt@riverbankcomputing.com > Message-ID: <200910091530.12784.dbod...@trolltech.com> > Content-Type: text/plain; charset="iso-8859-15" > > On Fri Oct 9 08:01:22 BST 2009, Diego Cas

[PyQt] mdi and signal problem

2009-10-09 Thread Giorgio Luciano
Dear all, we are builind a small mdi application. we have a mdi.Area where we put a child (in our case custom table widgets). the problem is that even trying to copy the pyqt example it seems we fail when we call the custom properties of the tables... there a small example for everyone interested

Re: [PyQt] PyKDE-3.16.3 build failure

2009-10-09 Thread Phil Thompson
On Fri, 9 Oct 2009 17:19:10 +0200, "Hans-Peter Jansen" wrote: > Hi, > > an attempt to build PyKDE-3.16.3 with sip 4.9 and PyQt 3.18.1 in openSUSEs > build service failed with this error: > > g++ -c -Wno-deprecated-declarations -pipe -fmessage-length=0 -O2 -Wall > -D_FORTIFY_SOURCE=2 -fstack-pr

Re: [PyQt] QDoubleSpinBox & it's precision

2009-10-09 Thread Hans-Peter Jansen
Am Freitag 09 Oktober 2009 schrieb Prashant Saxena: > Here is the script. > > #!/usr/bin/env python > > from PyQt4 import QtCore, QtGui > > __SINGLESTEP__ = 0.001 > __DECIMALS__ = 3 > __PRECISION__ = 0.001 > __HSPACING__ = 5 > __LABELWIDTH__ = 100 > __2ndWIDGET_WIDTH__ = 70 > > class QxDoubleSpinBo

Re: [PyQt] QDoubleSpinBox & it's precision

2009-10-09 Thread Baz Walter
Prashant Saxena wrote: This is regarding the precision in "QDoubleSpinBox". With out sub classing things were not working as I expected. so what *did* you expect? I have no idea what's going on here and why "textFromValue" is getting called so many times with values getting changed each time.

Re: [PyQt] QTimer.singleShot

2009-10-09 Thread Baz Walter
Jason H wrote: And with that, how are we supposed to use the debugger? not sure, as i've never needed to use a debugger for python :) however, there was a post on this list about pdb a few months ago: http://www.riverbankcomputing.com/pipermail/pyqt/2009-July/023662.html also, you might want

[PyQt] QDoubleSpinBox & it's precision

2009-10-09 Thread Prashant Saxena
Here is the script. #!/usr/bin/env python from PyQt4 import QtCore, QtGui __SINGLESTEP__ = 0.001 __DECIMALS__ = 3 __PRECISION__ = 0.001 __HSPACING__ = 5 __LABELWIDTH__ = 100 __2ndWIDGET_WIDTH__ = 70 class QxDoubleSpinBox(QtGui.QDoubleSpinBox): def __init__(self, parent=None, value=0.):

[PyQt] QApplication destructor

2009-10-09 Thread Giovanni Bajo
Hi Phil, The %MethodCode of QApplication's dtor (qapplication.sip) doesn't call the C++ destructor. There is a long comment about the order of destruction of top-level widgets vs QApplication, but I can't read it so to imply that it shouldn't call the C++ dtor -- it looks like a genuine bug.

[PyQt] PyKDE-3.16.3 build failure

2009-10-09 Thread Hans-Peter Jansen
Hi, an attempt to build PyKDE-3.16.3 with sip 4.9 and PyQt 3.18.1 in openSUSEs build service failed with this error: g++ -c -Wno-deprecated-declarations -pipe -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES

Re: [PyQt] [Help] PyQt building issue

2009-10-09 Thread David Boddie
On Fri Oct 9 08:01:22 BST 2009, Diego Casella ([Po]lentino) wrote: > I'm in trouble with building PyQt ( 20091007 snapshot version ) with both > SIP4.6 stable and the development version; > this is what it shows: > > /default -I/opt/qt4/include/QtCore -I/opt/qt4/include -I/usr/X11R6/include > -o s

Re: [PyQt] QDoubleSpinBox & it's precision

2009-10-09 Thread Hans-Peter Jansen
Am Freitag 09 Oktober 2009 schrieb Prashant Saxena: > Hi, > > This is regarding the precision in "QDoubleSpinBox". With out sub > classing things were not working as I expected. > > > class QxDoubleSpinBox(QtGui.QDoubleSpinBox): > def __init__(self, parent=None, value=0.): > QtGui.QDoub

[PyQt] [Help] PyQt building issue

2009-10-09 Thread Diego Casella ([Po]lentino)
Hi, I'm in trouble with building PyQt ( 20091007 snapshot version ) with both SIP4.6 stable and the development version; this is what it shows: /default -I/opt/qt4/include/QtCore -I/opt/qt4/include -I/usr/X11R6/include -o sipQtCoreQResource.o sipQtCoreQResource.cpp In file included from sip/QtCore