[PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread leo kirotawa
Hi, I have the piece of code view = QtGui.QGraphicsView(scene) view.setRenderHint(QtGui.QPainter.Antialiasing) view.setRenderHint(QtGui.QPainter.Antialiasing) pixmap = QtGui.QImage(:/images/background.jpg) view.setBackgroundBrush(QtGui.QBrush(pixmap))

Re: [PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread Vincent Vande Vyvre
Le 23/10/10 09:09, leo kirotawa a écrit :  Hi, I  have the piece of code   view = QtGui.QGraphicsView(scene)         view.setRenderHint(QtGui.QPainter.Antialiasing)     view.setRenderHint(QtGui.QPainter.Antialiasing)     pixmap =

[PyQt] Documentations disappeared

2010-10-23 Thread Vincent Vande Vyvre
What's does with documentation? http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html All detailed, type and method documentations disappeared Did the link change? -- Vincent V.V. Oqapy ___ PyQt mailing list

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Hans-Peter Jansen
On Saturday 23 October 2010, 02:54:40 Xavion wrote: Arch Linux has recently switched its 'python' package to the Python v3 branch. SIP and PyQt still require the 'python2' package, probably because the unpatched D-Bus Python bindings currently won't work with Python v3. I'm guessing that

Re: [PyQt] PyQt4 481 (Prebuild for Python 2.6) issue with QToolBar

2010-10-23 Thread Phil Thompson
On Sat, 23 Oct 2010 12:41:35 +0200, Tobias Rzepka tobias.rze...@googlemail.com wrote: Hello, I have a problem with the newly released PyQt4 version 4.8.1 on Python 2.6. I load an ui file at runtime with uic.loadUi. In case there is a QToolBar I get the following error: Traceback (most

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Phil Thompson
On Sat, 23 Oct 2010 13:25:39 +0200, Hans-Peter Jansen h...@urpla.net wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Arch Linux has recently switched its 'python' package to the Python v3 branch. SIP and PyQt still require the 'python2' package, probably because the unpatched D-Bus

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Hans-Peter Jansen
On Saturday 23 October 2010, 14:32:52 Phil Thompson wrote: On Sat, 23 Oct 2010 13:25:39 +0200, Hans-Peter Jansen h...@urpla.net wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Arch Linux has recently switched its 'python' package to the Python v3 branch. SIP and PyQt still

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Baz Walter
On 23/10/10 01:54, Xavion wrote: Arch Linux has recently switched its 'python' package to the Python v3 branch. SIP and PyQt still require the 'python2' package, probably because the unpatched D-Bus Python bindings currently won't work with Python v3. there's never a dull moment with arch :)

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Baz Walter
On 23/10/10 12:25, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Doing so will save me from having to hard-code something like #!/usr/bin/env python2 into the main executable file, only to be disappointed after finding out that some Linux distributions have

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Phil Thompson
On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walter baz...@ftml.net wrote: On 23/10/10 12:25, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Doing so will save me from having to hard-code something like #!/usr/bin/env python2 into the main executable file, only to be

Re: [PyQt] Documentations disappeared

2010-10-23 Thread Phil Thompson
On Sat, 23 Oct 2010 11:08:18 +0200, Vincent Vande Vyvre vincent.vandevy...@swing.be wrote: What's does with documentation? http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/classes.html [1] All detailed, type and method documentations disappeared Did the link change? No, I

Re: [PyQt] QGraphicsView.setBackgroundBrush don't work

2010-10-23 Thread leo kirotawa
thanks for you help Now it work fine, was just the image path, but what is curious that it dont work begore, very strange. []'s On Sat, Oct 23, 2010 at 5:00 AM, Vincent Vande Vyvre vincent.vandevy...@swing.be wrote: Le 23/10/10 09:09, leo kirotawa a écrit : Hi, I have the piece of

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Baz Walter
On 23/10/10 18:07, Phil Thompson wrote: On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walterbaz...@ftml.net wrote: On 23/10/10 12:25, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Doing so will save me from having to hard-code something like #!/usr/bin/env python2

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Hans-Peter Jansen
On Saturday 23 October 2010, 19:28:34 Baz Walter wrote: On 23/10/10 18:07, Phil Thompson wrote: On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walterbaz...@ftml.net wrote: On 23/10/10 12:25, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 02:54:40 Xavion wrote: Doing so will save me from

[PyQt] QGraphicsItem collidingItems dont work

2010-10-23 Thread leo kirotawa
Hi, I'm trying make a detection collision between graphicsitem, but when I use the method collidingItems it show collisions with all object in the scene. My scene have 800, 600 and my boundingRect to meu player object have the same size. What I thinking is happend is that my method shape are not

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Baz Walter
On 23/10/10 20:04, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 19:28:34 Baz Walter wrote: On 23/10/10 18:07, Phil Thompson wrote: On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walterbaz...@ftml.net wrote: On 23/10/10 12:25, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 02:54:40

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Hans-Peter Jansen
On Saturday 23 October 2010, 22:35:36 Baz Walter wrote: On 23/10/10 20:04, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 19:28:34 Baz Walter wrote: On 23/10/10 18:07, Phil Thompson wrote: On Sat, 23 Oct 2010 17:39:28 +0100, Baz Walterbaz...@ftml.net wrote: On 23/10/10 12:25,

[PyQt] dip @IAutomated.items.getter traceback

2010-10-23 Thread Hans-Peter Jansen
Hi Phil, running dip-builder, choosing a new project, enter the values, and hitting Create application script... results in: DIP Builder(31299)/: Trying to open ksycoca from /var/tmp/kdecache-hp/ksycoca4 Traceback (most recent call last): File

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Xavion
I must also leap to the defence of Arch Linux, which I've happily used for about four years. In calling itself a bleeding-edge distribution, it must be willing to upgrade major packages promptly. I think the onus is now on other distributions to ensure that the 'python2' and 'python3'

Re: [PyQt] Detecting which Python version is used by SIP and PyQt

2010-10-23 Thread Baz Walter
On 23/10/10 23:45, Hans-Peter Jansen wrote: On Saturday 23 October 2010, 22:35:36 Baz Walter wrote: arch has been around for quite a while now and has a growing community of very loyal users. it may do some things very differently, but at the end of the day, it's just another linux distro.

Re: [PyQt] ANN: PyQt v4.8 and SIP v4.11.2 Released

2010-10-23 Thread TP
On Fri, Oct 22, 2010 at 9:53 AM, Phil Thompson p...@riverbankcomputing.com wrote: PyQt v4.8 and SIP v4.11.2 have been released and are available from the usual places. The highlight of the release is full support for Qt v4.7. The Windows installers now contain a custom build of Qt using the