2006/3/21, Sundance <[EMAIL PROTECTED]>:
I'd cast my vote in favor of a wrapper. I think we already brought up
the idea when discussing the Qt namespace issue.

It does not have to be just a wrapper. I could be a small framework, complementing and modifying the original PyQt.
 
For example: those "setEnabled()"/"isEnabled()" to just "enabled" property could be done like this:
>>> QWidget.__get_enabled = QWidget.isEnabled
>>> QWidget.__set_enabled = QWidget.setEnabled
>>> QWidget.enabled = property(QWidget.__get_enabled, QWidget.__set_enabled)

But I still think that if we could do that QtDesigner integration (and first, the new Signal/Slot/Property meta-object registry) is much more important than any other "pythonicity" :)

--
Eric Jardim
_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to