Re: [PyQt] How to expose function accepting array of struct to D-Bus?

2012-08-07 Thread Phil Thompson
On Tue, 7 Aug 2012 15:45:43 -0400, Evade Flow wrote: >> In theory you should be able to use QDBusArgument but I've not tested >> it - I've always struggled to find test cases. > @pyqtSlot(QDBusArgument) > def setPosition(self, pos): > print("How can I call this function?") If you

Re: [PyQt] How to expose function accepting array of struct to D-Bus?

2012-08-07 Thread Evade Flow
> In theory you should be able to use QDBusArgument but I've not tested > it - I've always struggled to find test cases. Maybe the little server app appended below will help. Using dbus-send, I can exercise the 'name' property and 'echo' method, as well as the introspection interface: # Call 'e

[PyQt] Previous releases for Windows

2012-08-07 Thread Philip Ridout
Hi, I want to download the PyQT 4.7 for python 2.7 exe for windows as Webkit video is broken in the later versions. Where can I get this version from? Regards, Philip Ridout ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomput

[PyQt] pyrcc4, windows and locales

2012-08-07 Thread Virgil Dupras
Hi, This morning, I've stumbled upon what I think is a bug in pyrcc4. When I run it on a windows machine with a french locale, the timestamp in the resulting file's comment will contain an accented character (August in french is "Août") and that accented character will be in the wrong encoding.

Re: [PyQt] Pixel size issues with QPainter, QLabel and QSvg

2012-08-07 Thread matameko
Digging a little deeper for pixel size issue #4, i found out that QtSvg.QSvgRenderer.boundsOnElement does not give the right size for text elements, since the svg text element has no "width" parameter: http://stackoverflow.com/questions/11253734/qsvgrenderer-boundsonelement-always-returns-size-