[PyQt] Symbol naming system for PyQt under Python 3

Paul A. Giannaros paul at giannaros.org
Fri Dec 12 22:20:33 GMT 2008


On Fri, Dec 12, 2008 at 9:17 PM, Marcell Mars <marcell.mars at gmail.com> wrote:
> On Fri, Dec 12, 2008 at 7:09 PM, Paul A. Giannaros <paul at giannaros.org> wrote:
>> Any thoughts on this?
>
> do you want to do something like:
>
> import PyQt4.QtCore as Qt
> import PyQt4.QtGui also as Qt

Sort of. It's mainly about the naming, but I envision it working something like:

from PyQt4 import Qt
import PyQt4.QtGui
import PyQt4.QtCore

a = Qt.Application(....)
b = Qt.Label(.....)

etc

>
> :)
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>


More information about the PyQt mailing list