[PyKDE] Auto-connecting Slots

Patrick K. O'Brien pobrien at orbtech.com
Sun Jan 29 17:31:33 GMT 2006


Giovanni Bajo wrote:
> 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.

-- 
Patrick K. O'Brien
Orbtech       http://www.orbtech.com
Schevo        http://www.schevo.org
Louie         http://louie.berlios.de




More information about the PyQt mailing list