Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread Andreas Pakulat
On 07.10.08 14:47:00, Daniel Miller wrote: > Well, yes of course. Sorry for picking a bad example. How about > QSplitter, QPushButton, QProgressBar, QPopumMenu, etc. Those are > definitely used in many places, and the API for each of them changed. I > realize this is not your fault--it was a d

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Henrik Pauli
On Tuesday 07 October 2008, Sundance wrote: > Henrik Pauli wrote: > >> And we could have just as many Viper versions as we'd damn well > >> please within any given Python and Qt release timeframe -- we'd > >> simply import from Viper2, Viper3... rather than Viper. > > > > Hmmm, true that, but since

Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread David Boddie
On Tue Oct 7 19:47:00 BST 2008, Daniel Miller wrote: > On Oct 7, 2008, at 12:54 PM, Phil Thompson wrote: > > PyQt3 has always maintained backwards compatibility, so has PyQt4. > > PyQt3 is not PyQt4. Likewise Qt3 is not Qt4. Granted, Trolltech > > produced a Qt3=>Qt4 migration tool, but then they

Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread Daniel Miller
On Oct 7, 2008, at 12:54 PM, Phil Thompson wrote: On Tue, 7 Oct 2008 11:10:57 -0400, Daniel Miller <[EMAIL PROTECTED]> wrote: - I am moving to PyQt4 because I need to use some of the new features (the Graphics View Framework, for one). If I did not need these new features in PyQt4 I'd be con

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Phil Thompson
On Tue, 07 Oct 2008 18:06:05 +0200, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > On 10/7/2008 7:07 AM, Phil Thompson wrote: >> On Mon, 6 Oct 2008 21:30:49 -0500, "Arthur Pemberton" <[EMAIL PROTECTED]> >> wrote: >>> On Mon, Oct 6, 2008 at 7:33 PM, Doug Bell <[EMAIL PROTECTED]> wrote: Giovanni Baj

Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread Giovanni Bajo
On 10/7/2008 5:10 PM, Daniel Miller wrote: I should clarify a few things before I embark on a rebuttal: - I have deployed my code to my end users many times since I started to build my PyQt4 compatibility layer (it is not finished yet, and I can't afford to stop pushing out bug fixes and new f

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Giovanni Bajo
On 10/7/2008 12:25 PM, Doug Bell wrote: Phil Thompson wrote: On Tue, 07 Oct 2008 00:29:12 -0700, Glenn Linderman <[EMAIL PROTECTED]> wrote: On approximately 10/6/2008 10:07 PM, came the following characters from the keyboard of Phil Thompson: On Mon, 6 Oct 2008 21:30:49 -0500, "Arthur Pemberto

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Giovanni Bajo
On 10/7/2008 7:07 AM, Phil Thompson wrote: On Mon, 6 Oct 2008 21:30:49 -0500, "Arthur Pemberton" <[EMAIL PROTECTED]> wrote: On Mon, Oct 6, 2008 at 7:33 PM, Doug Bell <[EMAIL PROTECTED]> wrote: Giovanni Bajo wrote: On 10/6/2008 7:27 PM, Joshua Kugler wrote: Phil Thompson wrote: On Fri, 3 Oct

Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread Daniel Miller
I should clarify a few things before I embark on a rebuttal: - I have deployed my code to my end users many times since I started to build my PyQt4 compatibility layer (it is not finished yet, and I can't afford to stop pushing out bug fixes and new features for a few months while I do a re

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Phil Thompson
On Tue, 7 Oct 2008 16:20:13 +0200, Sundance <[EMAIL PROTECTED]> wrote: > You also suggest the 'from PyQt4v2 import QtCore' and 'from PyQt4.v2 > import QtCore' schemes, in which, if I'm not mistaken, the '4' in PyQt4 > would now start referring to the Qt version, is that correct? Yes - as (probab

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Sundance
Henrik Pauli wrote: >> And we could have just as many Viper versions as we'd damn well >> please within any given Python and Qt release timeframe -- we'd >> simply import from Viper2, Viper3... rather than Viper. > > Hmmm, true that, but since Py2 and Py3 are completely different > matters (as far

Re: [PyQt] PyQt4 and Python 3.0

2008-10-07 Thread Daniel Miller
On Oct 7, 2008, at 6:10 AM, Phil Thompson wrote: And we could have just as many Viper versions as we'd damn well please within any given Python and Qt release timeframe -- we'd simply import from Viper2, Viper3... rather than Viper. Thoughts? With 20/20 hindsight (starting 10 years ago)

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Phil Thompson
On Tue, 7 Oct 2008 06:25:59 -0400, Doug Bell <[EMAIL PROTECTED]> wrote: > Phil Thompson wrote: >> On Tue, 07 Oct 2008 00:29:12 -0700, Glenn Linderman >> <[EMAIL PROTECTED]> wrote: >> > On approximately 10/6/2008 10:07 PM, came the following characters >> > from the keyboard of Phil Thompson: >> >>

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Doug Bell
Phil Thompson wrote: > On Tue, 07 Oct 2008 00:29:12 -0700, Glenn Linderman > <[EMAIL PROTECTED]> wrote: > > On approximately 10/6/2008 10:07 PM, came the following characters > > from the keyboard of Phil Thompson: > >> On Mon, 6 Oct 2008 21:30:49 -0500, "Arthur Pemberton" > >> <[EMAIL PROTECTED]>

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Phil Thompson
On Tue, 7 Oct 2008 11:34:24 +0200, Sundance <[EMAIL PROTECTED]> wrote: > Phil Thompson wrote: > >> Regarding numbering, my current thinking is... >> >> from PyQt4 import QtCore2, QtGui2 > > Hi all, > > I would like to go out on a limb and share a few thoughts that came to > me with you guys. >

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Henrik Pauli
On Tuesday 07 October 2008, Sundance wrote: > Phil Thompson wrote: > > Regarding numbering, my current thinking is... > > > > from PyQt4 import QtCore2, QtGui2 > > Hi all, > > I would like to go out on a limb and share a few thoughts that came to > me with you guys. > > Essentially, the name of PyQ

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Sundance
Phil Thompson wrote: > Regarding numbering, my current thinking is... > > from PyQt4 import QtCore2, QtGui2 Hi all, I would like to go out on a limb and share a few thoughts that came to me with you guys. Essentially, the name of PyQt4 seems to carry some embedded confusion, in particular ab

Re: [PyQt] No cancel button in QProgressDialog

2008-10-07 Thread Phil Thompson
On Tue, 7 Oct 2008 09:24:28 +0200, Mpi <[EMAIL PROTECTED]> wrote: > Dear all, > > I don't want the cancel button to show up in my progress dialog. If you > pass > a 0 for the cancelButtonText in the constructor, the button should go away. > Here's what I do > > progress = QProgressDialog ('Render

Re: [PyQt] Re: PyQt4 and Python 3.0

2008-10-07 Thread Phil Thompson
On Tue, 07 Oct 2008 00:29:12 -0700, Glenn Linderman <[EMAIL PROTECTED]> wrote: > On approximately 10/6/2008 10:07 PM, came the following characters from > the keyboard of Phil Thompson: >> On Mon, 6 Oct 2008 21:30:49 -0500, "Arthur Pemberton" <[EMAIL PROTECTED]> >> wrote: >>> On Mon, Oct 6, 2008 a

[PyQt] No cancel button in QProgressDialog

2008-10-07 Thread Mpi
Dear all, I don't want the cancel button to show up in my progress dialog. If you pass a 0 for the cancelButtonText in the constructor, the button should go away. Here's what I do progress = QProgressDialog ('Rendering...', QString(0), 0, 100) But the button still appears. Any clues on how to go