Re: [PyQt] PyQt Development Roadmap Published

2008-10-20 Thread Daniel Miller
I've published a development roadmap for PyQt at http://www.riverbankcomputing.com/software/pyqt/roadmap. This looks very nice Phil. Thanks for publishing this detailed description of what is planned. I think it's very valuable because it allows people to give feedback before things are set

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] PyQt4 and Python 3.0

2008-10-07 Thread Daniel Miller
a rewrite). - 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 content to stay with PyQt3. On Oct 6, 2008, at 2:32 PM, Phil Thompson wrote: On Mon, 6 Oct 2008 12:27:42 -0400, Daniel

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

Re: [PyQt] PyQt4 and Python 3.0

2008-10-03 Thread Daniel Miller
On Oct 3, 2008, at 2:15 PM, Paul A. Giannaros wrote: On Fri, Oct 3, 2008 at 5:08 PM, Mark Summerfield [EMAIL PROTECTED] wrote: On 2008-10-03, Phil Thompson wrote: On Fri, 3 Oct 2008 17:11:19 +0200, Detlev Offenbach Here's my personal wish list for Python 3/PyQt4 (including those that Phil

Re: [PyQt] Re: multiple signal connect

2008-08-21 Thread Daniel Miller
snip second buggy solution So all I am seeing is that these things of anonymous/lambda functions are evil in Python, because of the lexical/binding thing... Well lambda's are not evil per-se, although they do have a few quirks. Technically though, this: g = lambda x: f(x) is same as

Re: [PyQt] Compiling PyQt on Mac OS X

2008-08-21 Thread Daniel Miller
Do you know if py2app will handle a framework build of Qt? Yes, it should. You may need to update to the latest py2app from svn--the current release version is rather old, and doesn't support PyQt 4.x. (I contributed a patch/reciple for PyQt/sip cobbled together from code I found on this

Re: [PyQt] Compiling PyQt on Mac OS X

2008-08-21 Thread Daniel Miller
... In general, Qt 4 on Mac does not look as polished and professional as Qt 3.3 does, which is very surprising to me since it was supposed to be so much better. Are you sure about this? If you look at the custom sort/filter demo on Qt 4.4.1, the column header turns blue and shows the

Re: [PyQt] multiple signal connect

2008-08-20 Thread Daniel Miller
Try this: for button in [...]: def slot(): self.button_clicked(button) button.__slot = slot # keep a reference so it doesn't get GC'd QtCore.QObject.connect(..., slot) ~ Daniel On Aug 20, 2008, at 11:17 AM, Ruben Fonseca wrote: Hi, I'm having a problem developing my

Re: [PyQt] multiple signal connect

2008-08-20 Thread Daniel Miller
, Daniel Miller wrote: Try this: for button in [...]: def slot(): self.button_clicked(button) button.__slot = slot # keep a reference so it doesn't get GC'd QtCore.QObject.connect(..., slot) ~ Daniel On Aug 20, 2008, at 11:17 AM, Ruben Fonseca wrote: Hi, I'm having

Re: [PyQt] Compiling PyQt on Mac OS X

2008-08-20 Thread Daniel Miller
Thanks for the hints Kevin. $ ./configure -release -nomake examples -nomake demos -no-qdbus - universal -no-framework Why are you building Qt as no-framework? I thought Qt had to be built as a framework to build on OS X. I think I have that option in there because I had problems packaging

[PyQt] Compiling PyQt on Mac OS X

2008-08-19 Thread Daniel Miller
I'm having problems compiling PyQt on Mac OS X. Library versions: Mac OS X 10.4.11 Python 2.5.1 qt-mac-opensource-src-4.4.1 PyQt-mac-gpl-4.4.3 sip-4.7.8-snapshot-20080817 Commands used to compile SIP: $ python configure.py -n -s MacOSX10.4u.sdk $ make Commands used to compile Qt: $