[PyKDE] Auto-connecting Slots

Giovanni Bajo rasky at develer.com
Sun Jan 29 19:43:11 GMT 2006

Patrick K. O'Brien <pobrien at orbtech.com> wrote:

>>> If we're going to use other large projects as examples then surely
>>> wxPython is a better one.  They spent the past year or two moving
>>> from this:
>>>     from wx import *
>>>     button = wxButton(...)
>>> [...]
>>> to:
>>>     import wx
>>>     button = wx.Button(...)
>> In fact, I'd be *perfectly* fine with Q.String, Q.Widget and Q.Label
>> (from PyQt4 import QtCore as Q). What I deeply dislike is the
>> verbose QtCore.QWidget. 
> I agree, although my preference would be qt.String, qt.Widget, etc.

That too, though I prefer Q. as it's more similar to the C++ counterpart.

Giovanni Bajo

More information about the PyQt mailing list