I have been trying PySide 0.4.0. So far, it has worked fantastically well on a bunch of code: I just replaced "PyQt4" with "PySide" and four out of five GUI tools worked almost immediately, sometimes after correcting something very minor that PyQt4 did not catch, such as an incorrect keyword arg name. Wow, thanks, this is fantastic!
One difference I encountered: QPainter.drawLines() and other methods that take lists of various types have several overloaded forms. PyQt4 handles these just fine, but PySide has renames for these and also does not take varargs versions. See below. Is this a deliberate design choice or a previous workaround that should now be fixed (and I will file a bug)? PyQt4: QPainter.drawLines(QLine, ...) # corresponds to C++: drawLines(const QLine* lines, int lineCount) QPainter.drawLines(list-of-QLine) QPainter.drawLines(list-of-QPoint) QPainter.drawLines(list-of-QPointF) PySide #QPainter.drawLines(QLine, ...) # does not exist QPainter.drawLines(list-of-QLine) QPainter.drawLinesFromPoints(list-of-QPoint) # renamed QPainter.drawLinesFromPoints(list-of-QPointF) # renamed Thanks, Dan
_______________________________________________ PySide mailing list [email protected] http://lists.openbossa.org/listinfo/pyside
