[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyKDE] PyQt v4 Roadmap
From: "Truls A. Tangstad" <kerfue+pykde () herocamp ! org>
Date: 2005-02-17 16:11:35
Message-ID: 20050217161134.GA6185 () sakura ! chem ! ntnu ! no
[Download RAW message or body]
On Thu, Feb 17, 2005 at 08:05:49AM -0800, Longson, Joe wrote:
> >The separate Qt v4 libraries will be wrapped as separate Python modules.
> >The module names will be the same as the corresponding library (eg.
> >QtCore, QtGui) and be grouped as a single Python package called PyQt4. The
> >suggested programming style for new applications would then be:
> >
> >import sys
> >from PyQt4 import QtGui
> >
> >app = QtGui.QApplication(sys.argv)
> Would we be required to use the from PyQt4 import QtGui?
>
> The existing namespace allows us to do "import qt" Could a similar
> facility be provided? (for maintaining more code compatibility)
>
> e.g.
>
> In qt.py --------------
>
> from PyQt4 import *
> from PyQt4.QtGui import *
Wouldn't that be best left to individual programmers? If you need such
a namespace, just provide it as part of your application.
--
Truls A. Tangstad - <kerfue+pykde@h e r o c a m p.org>
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic