[PyQt] [pyqt]how to reimplement qvalidator.validate() in api v2?

2013-07-29 Thread Han Jiang
The code works fine in api v1, if i uncomment the top sip calls, then it means i'll be using v2, then of course i'll see errors like TypeError: invalid result type from Validator.validate() i know i need to change the return value of .validate() , but if i change it to what pyqt doc says in v2 ,

Re: [PyQt] No matrix in QGraphicsView

2013-07-29 Thread Vincent Vande Vyvre
Le 29/07/2013 14:07, Phil Thompson a écrit : On Mon, 29 Jul 2013 13:22:15 +0200, Vincent Vande Vyvre wrote: Hi, Python 3.2.3 (default, Apr 10 2013, 06:11:55) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt5.QtWidgets import QGraphics

[PyQt] PyQt5 segfault when closing a QMainWindow

2013-07-29 Thread Roger Leigh
Hi, I've just started experimenting with Python 3.3/Qt 5.1/PyQt 5.0 on Debian (unstable, amd64). With the following trivial program, I can reproducibly observe a segfault when the window is closed: -- #!/usr/bin/python3 from Py

[PyQt] Using SIP wrappers for extension modules in python IDEs

2013-07-29 Thread Kenneth Miller
I thought that it would be good for me to alert the good folks at pyqt, but better that I should post my question somewhere so that if it gets revised or something I can make sure that all see the changes. Please see my SIP related question: http://stackoverflow.com/questions/17936075/how-to-ma