Hi,
While writing the PSEP draft, I began wondering about the related QtCore
method names:
QtCore.pyqtSignal
QtCore.pyqtSlot
I think the use of specific implementation name (pyqt) here is quite
unfortunate. I'd like to propose here that we rename them as
QtCore.signal
QtCore.slot
and in addition provide the pyqt* versions as compatibility features
(but with a deprecation warning).
In addition to this, there exists the QtCore.pyqtSignature decorator,
which is an older feature but not yet implemented in PySide. It is
documented in depth in Mark's book but the PyQt reference manual [1] all
but omits it and basically suggests it is a deprecated feature.
Unless there are strong objections, I propose I'll omit pyqtSignature
from the PSEP and we'll leave it unimplemented for the time being (but
leave it up for grabs if anyone would be so inclined).
Cheers,
ma.
[1]
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#the-qtcore-pyqtsignature-decorator
Airas Matti.P (Nokia-D/Tampere) wrote:
ext Ville M. Vainio wrote:
On Tue, Oct 27, 2009 at 6:45 PM, Mark Summerfield <[email protected]> wrote:
That will make it easy for users to migrate between the two
implementations and will reduce the learning curve. It will also make it
easier to document PySide (and easier for authors;-)
Also, it makes this much-wanted feature of PyQt non-toxic, in that you
can safely transition to it in your own projects without burning your
bridges. That's good for the Qt-on-python world as a whole.
Thanks, Ville, Mark, Hugo. I'll whip up a quick PSEP to have the
decision confirmed and then put the implementation item in the core dev
team's backlog.
Cheers,
ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside