Re: [PyQt] QGraphicsObject / assignProperty

2010-04-10 Thread Philippe Crave
you mean: alpha=pyqtProperty(get_alpha, set_alpha) produce: TypeError: type 'function' is not supported as a property type should I import something specific ? here are my actual import from PyQt4.QtCore import * from PyQt4.QtGui import * from PyQt4.QtSvg import * 2010/4/9 Phil Thompson

Re: [PyQt] QGraphicsObject / assignProperty

2010-04-10 Thread Phil Thompson
On Sat, 10 Apr 2010 09:18:42 +0200, Philippe Crave philippe.cr...@gmail.com wrote: you mean: alpha=pyqtProperty(get_alpha, set_alpha) produce: TypeError: type 'function' is not supported as a property type help(pyqtProperty) Phil ___ PyQt

[PyQt] Next Version of PyQt

2010-04-10 Thread Phil Thompson
The current PyQt snapshots should behave as v4.7 did regarding garbage collection when an application terminates. If people can confirm that this fixes the recent crash-on-exit problems I'll release v4.7.3 in a few days. Phil ___ PyQt mailing list

[PyQt] QGraphicsObject / Ubuntu 9.10

2010-04-10 Thread Philippe Crave
Hi, On Ubuntu 9.10, we get pyqt 4.6. in the official documentation, there is QGraphicsObject in 4.6 http://qt.nokia.com/doc/4.6/qgraphicsobject.html but when I want to use it, i get an error message that tells QGraphicsObject does not exist. (the other objects, like QGraphicsItem work). in

Re: [PyQt] QGraphicsObject / Ubuntu 9.10

2010-04-10 Thread Phil Thompson
On Sat, 10 Apr 2010 16:39:52 +0200, Philippe Crave philippe.cr...@gmail.com wrote: Hi, On Ubuntu 9.10, we get pyqt 4.6. in the official documentation, there is QGraphicsObject in 4.6 http://qt.nokia.com/doc/4.6/qgraphicsobject.html but when I want to use it, i get an error message that

Re: [PyQt] QGraphicsObject / Ubuntu 9.10

2010-04-10 Thread Philippe Crave
thanks, I misunderstood the version numbers. I will wait ubuntu 10.4, it's soon. 2010/4/10 Phil Thompson p...@riverbankcomputing.com On Sat, 10 Apr 2010 16:39:52 +0200, Philippe Crave philippe.cr...@gmail.com wrote: Hi, On Ubuntu 9.10, we get pyqt 4.6. in the official documentation,

Re: [PyQt] Next Version of PyQt

2010-04-10 Thread detlev
Hi, I can confirm, that the problem is gone for Linux (openSUSE 11.2) and Python3. I haven't tested it for Python2. Detlev On Samstag, 10. April 2010, Phil Thompson wrote: The current PyQt snapshots should behave as v4.7 did regarding garbage collection when an application terminates. If

[PyQt] Click on QTextEdit in a QDockWidget

2010-04-10 Thread Johan Marais
Thanks for the help coming. When I click on the QTextEdit Widget with the left button nothing happens while it accepts the right button and I can process it from MousePressEvent. Please tell me where do I go wrong... Any comments to this learner will be accepted! It seems it is only when I