Re: [PyQt] API 2 and Qt Designer

2010-09-29 Thread Sybren A . Stüvel
On Tue, Sep 28, 2010 at 07:02:29PM +0200, Arnold Krille wrote: > Note that this seriously messes up any filter that filters on the > mailinglist- id... I never understood the desire of some people to use reply-all instead of reply-to-list. I never understood why list admins refuse to use the reply

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Arnold Krille
On Tuesday 28 September 2010 18:44:17 Baz Walter wrote: > On 28/09/10 11:11, Sybren A. Stüvel wrote: > > PS: Please reply to just the list, there is no need to do reply-all, > > I'm on the list too. With a reply-all I get your mail twice. > > there is a mailman option to prevent this. > > go here

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Baz Walter
On 28/09/10 11:11, Sybren A. Stüvel wrote: PS: Please reply to just the list, there is no need to do reply-all, I'm on the list too. With a reply-all I get your mail twice. there is a mailman option to prevent this. go here: http://www.riverbankcomputing.com/mailman/options/pyqt and look for

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Sybren A. Stüvel
On Tuesday 28 September 2010 12:25:36 Phil Thompson wrote: > Your only option at the moment is to use the Python plugin built > against Python3. This then means that your custom widgets would > need to work with Python3, but that shouldn't be too difficult if > they are already ported to the v2 API

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Phil Thompson
On Tue, 28 Sep 2010 12:11:48 +0200, "Sybren A. Stüvel" wrote: > On Tuesday 28 September 2010 12:03:25 Phil Thompson wrote: >> > Is it possible to move to API 2 and still keep using Qt Designer? >> >> Yes, because the code generated by pyuic4 works with both Python2 >> and Python3. >> >> You have

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Sybren A. Stüvel
On Tuesday 28 September 2010 12:03:25 Phil Thompson wrote: > > Is it possible to move to API 2 and still keep using Qt Designer? > > Yes, because the code generated by pyuic4 works with both Python2 > and Python3. > > You have to make sure that you call setapi() before the very first > PyQt impor

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Sybren A. Stüvel
On Tuesday 28 September 2010 11:51:06 Sybren A. Stüvel wrote: > Is it possible to move to API 2 and still keep using Qt Designer? PS: I'm using Qt Designer on Kubuntu 10.04 from the qt4-designer package version 4:4.6.3-0ubuntu1. -- Sybren A. Stüvel syb...@stuvel.eu http://stuvel.eu/ signatur

Re: [PyQt] API 2 and Qt Designer

2010-09-28 Thread Phil Thompson
On Tue, 28 Sep 2010 11:51:06 +0200, "Sybren A. Stüvel" wrote: > Hi folks, > > I'd love to migrate my PyQt application to API 2, especially for the > QString class. I'm still using Python 2.x, but I think API 2 feels > much more Pythonic. It also will prepare my application for a future > port

[PyQt] API 2 and Qt Designer

2010-09-28 Thread Sybren A. Stüvel
Hi folks, I'd love to migrate my PyQt application to API 2, especially for the QString class. I'm still using Python 2.x, but I think API 2 feels much more Pythonic. It also will prepare my application for a future port to Python 3. However, when I use sip.setapi('QString', 2) my code seems to